
Vhandy technology
GC-2018 user manual
DI0. AT represents the address of the variable access and the additional
attribute of the variable.
2.5 Combined with GCAN- 8000series
The state of the digital output is represented by one byte, with channel 8 in
the high and channel 1 in the low.
For example,when GCAN-8000 module node number is1,the output state
of channel 8 and channel 4 of the first GC-2018 module is logic "1", and the
output state of other channels is logic "0", the CAN data frame ID sent by the
GCAN-IO-8000 module is 0x181,the data length (DLC) is 8,and the frame data
is 0x88,0x00,0x00,0x00,0x00, 0x00,0x00,0x00.Please note that when only one
GCAN-2018module is inserted,only the first by teof the frame datais valid.The
table below lists two common DIstatesand their corresponding status data.
DI status
Channel
8
7
6
5
4
3
2
1
Status
1
0
0
0
1
0
0
0
CAN bus data
88
DI status
Channel
8
7
6
5
4
3
2
1
Status
0
1
0
1
1
0
1
0
CAN bus data
5A
Table 2.2