Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming M1002 M1002 MOV H0002 D100 MOV H0002 D100 MOV HC0A8 D101 MOV HC0A8 D101 MOV K108 D102 MOV K108 D102 MOV K1 D103 MOV K1 D103 MOV K3 D104 MOV K3 D104 M0 M0 ETHRW D100 H1000 D10 K2 ETHRW D100 H1000 D10 K2 BLD D1394 K8 MOV D10 D20 BLD D1394 K8 MOV D10 D20 Program Example 2: (The instruction is sent and received through the Ethernet port built in DVP-SE.) The IP address stored in D100 and D104 is 192.168.0.2, the communication port number stored in D102 is K108, the station address stored in D103 is K1, and the function code stored in D104 is H’02. The device address is H0400 (X0), and 32 pieces of bit data (X0~X37) are read.

When M0 is ON, ETHRW is executed. After the reception of the communication command is complete, bit8 in D1395 is ON. The data received is stored in D10: high byte (X0~X7) and low byte (X10~X17) and D11: low byte (X0~X27) and high byte (X30~X37). 3-318