12BAppendix D: Example Messages 86BI/O Poll Messaging
119
I/O poll request messages consist of a single segment: the CAN Identifier Field which defines
the type of connection. When your device receives an I/O poll request, it automatically knows
what information is being requested, based on the Predefined Master/Slave Connection Set.
Additional descriptive information is not required.
GROUP 2 MESSAGE ID
(fixed 2 bit hex value)
DESTINATION MAC ID (= 5)
(6 bit hex value)
MESSAGE TYPE ID
(fixed 3 bit hex value;
I/O poll request shown)
10
000101
101
= 42D
hex
Step 1
.
CAN
IDENTIFIER
FIELD
Figure 17: I/O Poll Request Message Components
Example 2: Interpreting an I/O Poll Response Message
If the request message sent in Example 1, page 118, is properly sent and received, the device
returns the following response message:
42B 80 FF 3F
where:
CAN Identifier Field
Poll Response #1
42B
80
FF 3F
STATUS BYTE
GROUP 2 MESSAGE ID
SOURCE MAC ID
MESSAGE TYPE ID
16 BIT PRESSURE VALUE
Calculated hex
value:
Reported hex
value:
Reported hex
value:
Figure 18: Successful I/O Poll Response Message
To interpret the response message components shown in Figure 18:
1.
Interpret the reported hexadecimal value (42B
hex
) of the CAN Identifier Field components.
Refer to Figure 19, step 1, page 120. This 11-bit field represents the fixed Group 2 Message
ID (bits 10 & 9), the source node address (the MKS device) as a hexadecimal num
ber (bits 8
to 3), and the fixed Message Type ID for an explicit response (bits 2 to 0).
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com