
Table 3-3. Control Byte Example
171AB
1111110
2122121
0040042
8188183
001600104
32132201205
006400406
1281128801807
WEIGHT
ON=1DECIMALWEIGHTON=1HEXRELAY
If the relay status byte is read back, it is in the same format.
The isolated inputs are read in this format as well. To disassemble the byte and
determine the state of the isolated inputs or the relay read back register, perform the
following operation in software:
Table 3-4. Register Read-Back
11INPUT 0/RELAY 0
22INPUT 1/RELAY 1
44INPUT 2/RELAY 2
88INPUT 3/RELAY 3
1610INPUT 4/RELAY 4
3220INPUT 5/RELAY 5
6440INPUT 6/RELAY 6
12880INPUT 7/RELAY 7
DECIMAL
HEXINPUT/RELAY
3.2 OUTPUT REGISTER
The output register is located at the base address (BASE + 0).
WRITE = CONTROL: Write a byte to the register to control the relays. A one in the
relay bit position turns the relay.
READ = STATUS: Read the status of the relay control register. A one in the relay
bit position indicates the relay is on.
6
Comentarios a estos manuales