Appendix A - 2 -
The format of each command code is as following:
1. Read Digital I/O state
Length(Bytes) 2
2
32
32
2
1
0xF0F0 0x0001
Xxx
(don’t care)
Xxx
(don’t care)
0xF0F0 CRC
Return Successful Packet
Length(Bytes) 2
2
32
32
2
1
0xF0F0 0x0002 Data1 Data2 0xF0F0 CRC
Data1
Data[0] Data[1] Data[28] Data[29]
Data[30] Data[31]
IN-1
IN-2
IN-29
IN-30
reserved reserved
IN-1: state of IN1, 0 for SHORT, 1 for OPEN, 2 for Deactivated
IN-2: state of IN2, 0 for SHORT, 1 for OPEN, 2 for Deactivated
……
IN-30: state of IN30, 0 for SHORT, 1 for OPEN, 2 for Deactivated
Data2
Data[0] Data[1] Data[28] Data[29]
Data[30] Data[31]
OUT-1 OUT-2 OUT-29
OUT-30
reserved reserved
OUT-1: state of OUT1, 0 for SHORT, 1 for OPEN, 2 for Deactivated
OUT-2: state of OUT2, 0 for SHORT, 1 for OPEN, 2 for Deactivated
……
OUT-30: state of OUT30, 0 for SHORT, 1 for OPEN, 2 for Deactivated
Содержание CYT-133SC
Страница 4: ... 2 End point ...