CONTROL SYSTEMS
J585 ST-RELAY16
2192-10475-000-000
Page 4
Operation
Each relay is switching by writing a logic ‘1’ to the appropriate bit in the relay output registers
located at addresses base and base +1. The status of these registers can also be read at the
same addresses. On power up or reset the relay output drivers are disabled. To enable them it
is necessary to write 01H to the latches at address base +2 to enable group 1 (relay channels
CH1-8), 02H to enable group 2 (CH9-16) or 03H to enable both groups. For system
initialisation, it is recommended that the output registers are written with the required relay
states before the enable bits are set.
I/O Map
Address
Function
Register Name
Bit Function
Base
W
Relay Output CH1-8
Bit 0-7: 1=ON 0=OFF
Base
R
Relay Status CH1-8
Bit 0-7: 1=ON 0=OFF
Base+1
W
Relay Output CH9-16
Bit 0-7: 1=OFF 0=ON
Base+1
R
Relay Status CH9-16
Bit 0-7: 1=OFF 0=ON
Base+2
W
Relay Enabled
00H – All relays disabled
01H – CH1-8en, CH9-16 dis
02H – CH1-9 dis, CH9-16 en
03H – All relays enabled
Base+15
R
Board ID
ID=01
Read Status
Data
Write Control
Enable Output
+5V
(Cleared on Reset)
D
Q
Relay Channels CH6-16
A
B
NO/NC
COM
Relay Channels CH1-5
NO
NC