DVP-ES3 Series Programming Manual 2. ES3 Series CPU module is connected to the DVP-ES2 series PLC. 3. Suppose D10 is 16#55AA (waiting to write data to the device T0 of the DVP-ES2). When SM96 and M0 are ON, the PLC can write data to the T0 of the DVP-ES2 series PLC. The address of T0 is 16#0600. The following table lists the operands for the MODRW instruction. ASCII mode You do not need to convert the ASCII codes, and they are all expressed in 16# values. ES3 sends the communication command: “ : 01 06 06 00 55 AA F4 CR LF” _6 ES3 receives the communication command: “ : 01 06 06 00 55 AA F4 CR LF” RTU mode ES3 sends the communication command:
“01 06 06 00 55 AA 36 6D” ES3 receives the communication command: “01 06 06 00 55 AA 36 6D” If the format is correct, SM100 is ON. 4. After receiving the data from the DVP-ES2, the PLC confirms the data format sent back from the DVP-ES2 and determines if it is correct. If no error occurs in the format, the corresponding special flags SM100 are ON; if not SM102 is ON. 5. When the DVP-ES2 receives this instruction, it writes the data stored in the device D10 to the device T0 in the DVP-ES2. 6. Since this function code writes data, the operand n is ignored.
6-542 Operand Description Device S1 Unit address 1 S2 Function code 16#0006 S3 Device address of T0 16#0600 S Register T0 for reading and writing the data D10 n Data length (not used with this function code) 0