Delta DVP-ES3 — 6.22.2 Explanation of Ethernet Instructions

Chapter 6 Applied Instructions Explanation 1. This instruction reads and writes EtherNet/IP data. The following table lists the names and explanations of S 1 –S 7 , n, S and D 1 –D 2 . 6-709 Operand Name Description Data Type Remarks S1 IP address The first two sections of the IP address occupy the first word and the remaining two sections of the IP address occupy the second word. For example, if the IP address is 192.168.1.5, S1=16#C0A8 and S1+1=16#0105. WORD[2] Occupies two consecutive words S2 Connection mode 0: UCMM WORD S3 Function code (Service code) Range: 16#0000–00FF. If the function code exceeds the range, the instruction is not executed.

WORD S4 Class ID Refer to EtherNet/IP protocol. WORD S5 Instance ID Refer to EtherNet/IP protocol. WORD S6 Attribute ID switch ON: Enable; OFF: Disable BOOL S7 Attribute ID Refer to EtherNet/IP protocol. WORD n Length of read and write data Size of the data to be written or read; unit: byte; maximum:

200 bytes WORD S Register for the read/write data Source register for the sent data or where the received data is stored WORD[n] D1 Communication status 0:Communication not triggered 1:Communication in process 2:Communication completed without errors 3:Communication error 4: Error in parameter setting WORD D2 Error code Major error code and extended error code WORD[2] Occupies two consecutive words 6 6 _