CAN interface communications
Reference information
118
Example 2. The pump is set to address 6.
1.
Pump sends boot request:
2.
Host acknowledges:
Acknowledgment details:
CAN host and pump message exchanges
Pump response
When a pump receives a command, finishes a command, encounters an
error condition, or responds to a query, it sends an answer frame to the
host using the same frame type as the command it received. Generally, it
will have the following format:
<MID><RTR/IDE/r0><DLC><Answer>
Where:
Direction
Group
Device
Frame
RTR/IDE/r0
Length
1
001
0110
010
000
0000
Direction
Group
Device
Frame
RTR/IDE/r0
Length
Data bytes
1
1.
Node ID = Group ID (2) high nibble, + pump address (0) low nibble = 0010 0000
Slave ID = Same as Node ID
Node ID
2
2.
The pump will save the Node ID to use for message filter Group ID.
Slave ID
0
001
0000
000
000
0010
0010 0110
0010 0110
Direction = 0
Host to slave
Group = 1
Boot request response group
Device = 0
Always 0 in boot response
Frame = 0
Boot request response frame
RTR/IDE/r0 = 0
All three always 0
Length = 2
Two data bytes in return message
Note:
Boot MID is the same for all nodes.
<MID>
11-bit message identifier. The direction bit is 1. The group
number and the frame type are the same as received.
Device is the current device address.
<RTR/IDE/r0> Always zero.
<DLC>
4-bit data length code
<Answer>
Data bytes. The first byte of the data block is always the
status byte. It is defined as in the table with this title:
“Error codes, status byte with ASCII and hexadecimal
values” in the main part of the product manual. The sec-
ond byte is a null character. The remaining bytes contain
the response in ASCII format. If the reply consists of
more than six bytes, multi-frame messages are used.
Summary of Contents for C24000
Page 8: ...This page intentionally blank ...
Page 14: ...This page intentionally blank ...
Page 142: ...This page intentionally blank ...