Chapter 6 Applied Instructions Symbol S 1 : Number of the module sending the DeviceNet communication S 2 : DeviceNet MAC ID S 3 : Service Code S 4 : Class ID S 5 : Instance ID S 6 : Attribute ID S 7 : Written-data length S 8 : Device for storing written data S 9 : Communication timeout time S 10 : Number of times of retransmission D 1 : Completion flag D 2 : Error flag D 3 : Error code D 4 : Read-data length D 5 : Device for storing read data Explanation 6_ 1. S 1 is the serial number of the module at the right of the PLC. The first one is number 1, the second one is number 2 and so on. Whatever modules at the right of the PLC must be numbered. The setting range is 1~32.
If the setting value ( 32) exceeds the range, the instruction will run at the minimum value or maximum value. 2. S 2 is the DeviceNet Mac ID within the range: 0~63. It can be the Mac ID of the slave which the master is to read and write as well as the Mac ID of the master which means to read and write the data in the master. 3. S 3 is the DeviceNet service code. 4. S 4, S 5 and S 6 are respectively class ID, instance ID and attribute ID for specifying the parameter path in the EPATH of the DeviceNet protocol.
6-593 Service code Description 0x01 Read all attributes (Get Attribute All) _ _ 0x02 Set all attributes (Set Attribute All) _ _ 0x0E 0x0E Read one single attribute (Get Attribute Single) _ _ 0x10 Set one single attribute (Set Attribute Single) _ _