Delta Electronics — 11.4.8.2. Explicit Message Transmission Instruction DNETRW

AS Series Module Manual  D2 : Error flag  D3 : Error code 11  D4 : Read data size  D5 : The start device where data are read.  Program Explanation  When M0 changes to ON, execute the explicit message instruction DNETRW to read Class 1 >> Instance 1 >> Attribute 1 of the target equipment with node ID: 01. If the explicit message communication succeeds, the completion flag M1 changes to ON.  When M0 changes to ON, AS01DNET-A sends out the request message only once. If the request message is to be resent, the instruction DNETRW need be re-triggered.  If the data reading succeeds, the content of Class 1>> Instance1 >> Attribute 1 of CMC-DN01 will be stored in D5.

In this example, the content in D5 should be 031FHex.  Application Example 2 Control requirement : When M1 changes to ON, set the content of Class ID: 0x05>> Instance 1>>Attribute ID: 09 of CMC-DN01 to 000AHex.  Connection figure  Parameters Setting and Device Explanation  Setup for AS01DNET-A  Setup for VFD-C2000 11-34 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 01D NET MS NS 0 x10 1 Node Address x10 DeviceNet ster/ Slave 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 IN IN MS NS 0 x10 1 Node Addr x10 ess Ethernet O 7 RTU Ma Parameter Setting value Description Node ID 00 Set the node ID of AS01DNET-A to 00. Baud rate 500 kbps Set the baud rate of AS01DNET-A to 500 kbps. Parameter Setting value Description 00-20 08 Frequency command source 00-21 05 Operation command source 09-30 0 Communication decoding method 09-70 01 Node ID of AC motor drive 09-71 02 Baud rate: 500Kbps