e-mail:
voice:
360.854.9559
fax:
866.783.1742
The I/O Sentinel 4 G2 supports the monitoring of status inputs and control of relay outputs via TCP
byte streams. Under Email/Network Setup, the following settings must be configured:
TCP Relay Enabled
Enables relay querying and control
Relay Peer IP Address
The IP address of the external control computer.
The device will only respond to requests from
devices at this IP address.
Relay Peer Port
The TCP Port on the external control computer
to which the device should send input status
changes.
Relay Receive Port
The TCP Port for which the current device will
be receiving query and control commands.
Input status can be queried from supported Broadcast Tools input devices. To do this, open a TCP
socket on the peer device's
Relay Receive Port
and send a TCP Relay Command as described in the
table below. The device will respond with a query command response packet and close the TCP
connection. The response packet is formatted as a TCP_CMD_SET_RELAY command (described
above in the
Relay Control
section). The relay number/state fields of the response will indicate the
status of the inputs on the given device.
0
TCP_CMD_GET_STAT – The command
ID for
Get Status
0x01
Relays can be turned on or off by opening a TCP socket on the peer device's
Relay Receive Port
and
sending a series of bytes outlined in the table below. The device will configure the relays and close the
TCP connection.
0
TCP_CMD_SET_RELAY – The command ID
for
Set Relays.
0x02
1
CMD_LENGTH – The number of relay state
pairs to be set
L = n * 2
, where
L
is the length field's
value, and
n
is the number of relays to be
configured
2
RELAY_NUMBER – The zero-indexed number
0x00 for Relay 0,
I/O Sentinel 4 G2 Installation and Operation Manual
34
APPENDIX