Delta DVP-ES2 — 3.8 Detailed Instruction Explanation

DVP-ES2/EX2/SS2/SA2/SX2/SE&TP Operation Manual - Programming API 113 Operands: S 1 : IP address, communication port number, and read/write mode S 2 : Device address D : Source/Destination data register n : Data length; Range: K1~K96 (word), K1~K256 (bit) Explanations: 1. S 1 : IP address, communication port number, and read/write mode The operand S 1 occupies five consecutive data registers. The functions are as follows.  IP address: Two data registers are occupied, that is, S 1 +0 and S 1 +1. IP address  IP3.IP2.IP1.IP0  192.168.0.2 If S 1 is D100, the values in D100 and D101 are H’0002 and H’C0A8 respectively.  S 1 +2:

Communication port number The communication port number of the Ethernet port on DVP-SE and that of the communication card installed in DVP-EH3 are K108. The communication ports on the left-side Ethernet modules connected to a CPU module are numbered according to their  S 1 +3: Station address of a slave distances from the CPU module. The numbers start from K100 to K107.  S 1 +4: Read/Write function code setting The definition is the same as Modbus. The function codes supported are H’01, H’02, H’03, H’04, H’05, H’06, H’0F and H’10. 2. S 2 : Device address The definition is the same as Modbus.

3-316 Mnemonic Operands Function Controllers ETHRW Ethernet communication ES2/EX2 SS2 SA2 SX2 SE Typ e OP Bit Devices Word devices Program Steps X Y M S K H KnX KnY K nM KnS T C D E F ETHRW: 9 steps S 1 * S 2 * * * D * n * * * PULSE 16-bit 32-bit ES2/ EX2 SS2 S A2 SX2 ES2/ EX2 SS2 SE/ SX2/ ES2/ EX2 SS2 SA2 SX2 ES2-E SA2 D100 (S 1+0) D101 (S 1+1) High Low High Low IP1 IP0 IP3 IP2 0 2 192 168 H’0002 H’C0A8