19
Shenyang Guangcheng Technology Co., Ltd.
CANopen bus coupler
—
GCAN-IO-8000
Product data sheet
Shenyang Guangcheng Technology CO.LTD.
bus DO status data to be sent is 88. The frame ID to be sent to GCAN-IO-8000 is
0x201, the data length (DLC) is 8, and the frame data is 0x88, 0x00, 0x00, 0x00, 0x00,
0x00, 0x00, 0x00. Please note that only the first byte in the frame data is valid. The
following table lists two common DO states and their corresponding state data.
DO status
Number
of
channels
8
7
6
5
4
3
2
1
status
1
0
0
0
1
0
0
0
Data
displayed
on the
CAN bus
88
DO
状态
Number
of
channels
8
7
6
5
4
3
2
1
status
0
1
0
1
1
0
1
0
Data
displayed
on the
CAN bus
5A
When receiving the RPDO data, the GCAN-IO-8000 module needs to ensure that the
frame ID is 0x200 + node ID (Node ID), the data length is 8, and the first byte of the
frame data is the digital output status that needs to be set.
4.4 Equipped with GC-3804 module
The temperature status of each channel is represented by two bytes, and the four
channels have a total of eight bytes.
Among them, the two bytes representing the temperature status, the first byte is the
low bit, the data of the byte needs to be converted to decimal and multiplied by 0.1;
the second byte is the high bit, the data of the byte needs to be converted Multiply by
25.6 after decimal. Finally, the two values are added together to obtain the final
temperature value in degrees Celsius.
For example, the node number of the GCAN-IO-8000 module is set to 1. The
temperatures of the four channels are 25.6 degrees, 25.5 degrees, 20 degrees, and 30
degrees, respectively. The frame ID sent is 0x181, the data length (DLC) is 8, the
frame data is 0x00, 0x01, 0xFF, 0x00, 0xC8, 0x00, 0x2C, 0x01. The following table
lists two possible CAN data and their corresponding temperature values.