News:

  • March 23, 2023, 07:32:19 AM

Login with username, password and session length

Author Topic: error code 4096  (Read 5892 times)

employee3

  • Newbie
  • *
  • Posts: 1
error code 4096
« on: August 19, 2009, 11:44:55 AM »
Terminator I/O EBC100 reports error code 4096, which is not listed in the manual, on register 50001 via modbus TCP. This cannot be cleared by writing to the register; I have to power cycle the device. Also, discrete input 01 (T1K-16ND3) does not read correctly when the error is reported. The error seems to occur after opening the contactor. Does anyone know what this error code means or how to clear it?

Greg

  • HostTech
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 662
  • Hmmm...
    • Host Engineering, Inc.
Re: error code 4096
« Reply #1 on: August 20, 2009, 04:15:04 PM »
I also answered you via e-mail. But for the sake of the forum:

If +50001 = 4096 (0x1000) that means Bit12 = 1. This particular bit (though not defined in the manual), simply means there is an error with the modules in the T1H-EBC100 base.

The next 2 registers (+50002 & +50003) contain 16 bits each, representing Slot0 – Slot16 respectively. Each bit is telling you which Slot has the error. Looks like this:

       +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+50002  | 15| 14| 13| 12| 11| 10| 9 | 8 | 7 | 6 | 5 | 4 | 3 | 2 | 1 | 0 |
        +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+
+50003  | X | X | X | X | X | X | X | X | X | X | X | X | X | X | X | 16|
        +---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+---+

That’s a total of 17 bits. A Placeholder bit (Slot0) and 16 module slot bits (Slot1-16).

The Placeholder bit (Slot0) has a unique function and bears some explanation. When the T1H-EBC100 powers up, he scans his base and logs all the modules found in each of his 1-16 slots. This is normal operation. However, if you happen to add a module to the system while it is powered up (hot swap), then this new module will appear in Slot0 until the base is rescanned. When the base is rescanned, then the new module will disappear out of Slot0 and appear in the slot in which it is found.

Thus, evaluate the I/O like this:
•   If there is a 4096 (0x1000) in +50001, this means a module(s) has an error, thus you need to read +50002 & +50003 and see which bit is set.

•   If Bit0 (Slot0) of +50002 = 1 , then this tells you a module has appeared in the T1H-EBC100 base that was not there on power-up. This is equivalent to Error 154 (defined as "I/O configuration has changed…" in the chart on pg. 4-9).

•   If Bit0 (Slot0) of +50002 = 1, then the only way to get this to clear is to tell the T1H-EBC100 to rescan his base. To make it do this you must write to +50004 one of these values:

+50004 = 02:  (Bit1 = 1) This will cause the T1H-EBC100 to:
                         - Rescan the modules in his base and reassign Slots as necessary.
                         - Clear +50001-50003 (provided the errors have been removed from the modules.)
                         - Leave the Image Register of the T1H-EBC100 intact.
+50004 = 06:  (Bit1 = 1; Bit2 = 1) This will cause the T1H-EBC100 to:
                         - Rescan the modules in his base and reassign Slots as necessary.
                         - Clear +50001-50003 (provided the errors have been removed from the modules.)
                         - Clear the Image Register of the T1H-EBC100.

•   If any other bits = 1 in +50002 & +50003, they indicate which slot has an error. The particular error for that slot can be found by reading the particular 20-word range for that slot in the  I/O Module Status (see chart on pg. 4-8):

37401-37420 = Slot1
37421-37440 = Slot2
37441-37460 = Slot3
.
.
.
38021-38040 = Slot32

There are actually enough registers in this range to accommodate 32 slots theoretically, but only 16 slots per EBC are actually allowed in the Terminator I/O system.
« Last Edit: August 20, 2009, 10:08:40 PM by Greg »
There are two types of people in the world; those that can extrapolate from incomplete data sets.