6. DeviceNet COMMUNICATION
IMR01Y36-E2
42
When write data
If the node address (MAC ID), service code (10H: Set_Attribute_Single), object class ID, instance ID
attribute ID and write data are sent from the master, the node address (MAC ID) thus sent and service
code (10H + 80H *) are sent from the slave.
* 80H represents a response message.
For data processed in actual communication, its decimal point is ignored. In addition,
data with a minus sign is expressed as 2’s complement data.
[Example 1] For a set value of “120.0,” set “1200.”
[Example 2] For a set value of “
−
1,” set “65535.”
(10000H
−
1
=
FFFFH
=
65535)
Service code 14H of Error response has shown that it is error response.
For Error code of Error response, refer to DeviceNet specifications.
For Explicit message communication specification of data relating to COM-JH,
refer to
Z-TIO Module Object (0x64: 64Hex) (P. 109), Z-TIO Module Extended
Object (0x65: 65Hex) (P. 116), Z-DIO Module Object (0x66: 66Hex) (P. 117) of
APPENDIX A. DEVICE PROFILES
.
Request
Master
Slave
(COM-JH)
Node address (MAC ID)
Service code (10H)
Object class ID
Instance ID
Attribute ID
Write data
Response
Node address (MAC ID)
Service code (10H
+
80H)
[Normal response]
DeviceNet
Request
Master
Slave
(COM-JH)
Node address (MAC ID)
Service code (10H)
Object class ID
Instance ID
Attribute ID
Write data
Response
Node address (MAC ID)
Service code (14H
+
80H)
Error code
[Error response]
DeviceNet