Perle Systems TS2 Network Card User Manual


 
151
I/O UDP
Digital/Relay Data
The digital data is in bit format, 1 meaning On and 0 (zero) meaning Off. Each channel has its own
bit, in least significant bit order.
Serial Pin Signal Data
The serial data is in bit format, 1 meaning On and 0 (zero) meaning Off. Each channel has its own bit,
in the following order.
*Data Exits Field
The Data Exists field is 1 byte in least significant bit order, for each channel. If data exists for a
channel, the bit will be 1, if no data exists for a channel (it is not configured), the bit will be 0 (zero).
UDP Unicast Example
For an example of the I/O UDP unicast, see the sample program, ioudpbcast.c, found on your
CD-ROM.
Length *Data
Exists
Data (1 Byte, one bit for each channel)
2 Bytes 1 Byte
(in bits)
Channel4 Channel3 Channel 2 Channel 1
Length *Data
Exists
Data (1 Byte for each port, one bit for each signal)
2 Bytes 1 Byte
(in bits)
RTS DTR CTS DCD DSR
Data Exists(1 Byte, one bit for each channel)
Channel4 Channel3 Channel 2 Channel 1