Delta Electronics — 11.4.8.2. Explicit Message Transmission Instruction DNETRW

AS Series Module Manual  S3 is DeviceNet service code: 11  S4 , S5 and S6 represent Class ID, Instance ID and Attribute ID respectively.  S7 is the written-data size with the unit: Byte.  S8 is the start device where written data are stored. The data are arranged in the order from low byte to high byte.  S9 is the communication timeout time within the range: 1~100 and with the unit: 0.1 second.  S10 is the times of re-transmission within the range: 0~3. When communication timeout occurs, the communication will be resent  D3 represents the error codes to read and write.  D4 is the read-data size with the unit: Byte.  D5 is the start device where read data are stored.

The data are arranged in the order from low byte to high byte.  D1 and D2 are communication completion flag and error flag respectively.  Application Example 1 Control requirement: when M0=ON, read the data of class1>>instance1>>attribute1 of the DeviceNet function card CMC-DN01.

 Connection Figure 7 RTU Master Slave / 11-32 Service code Explanation 0x01 G et all attributes (Get Attribute All) _ _ 0x02 S et all attributes (Set Attribute All) _ _ 0x0E G et one single attribute (Get Attribute Single) _ _ 0x10 S et one single attribute (Set Attribute Single) _ _ Error Code Explanation Code 1 (High Byte) Code 2 (Low Byte) XX FF Not conform to the DeviceNet standard 20 01 The target slave does not exist. 20 02 Unable to make the connection with the slave 20 03 Sending explicit message failed. 16 00 Explicit message response timeout. POWER RUN ERROR BAT.

LOW COM1 COM2 AS324MT 0 8 1 9 2 10 IN 3 4 11 5 6 7 0 8 Ethernet 1 2 19 0 OUT3 11 4 5 6 0 1DNET MS NS I IN N 0 1 Nox d1 e0 Address x10 DeviceNet RUN ERROR BAT. LOW COM1 COM2 AS324MT 0 8 1 9 2 10 IN 3 4 11 5 6 7 0 8 Ethernet 1 2 19 0 OUT3 11 4 5 6 40 2 1 MS NS I IN N 0 1 Nox d1 e0 Addr x10 ess Ethernet O