DVP-ES3 Series Programming Manual 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 0F 0500 0010 02 D2 04 03 CR LF” ES3 receives the communication command: “ : 01 0F A0 00 00 10 40 CR LF” RTU mode ES3 sends the communication command: “01 0F 05 00 00 10 02 D2 04 EA 43” ES3 receives the communication command: “01 0F A0 00 00 10 76 07” _6 If the format is correct, SM100 is ON. 3. After receiving the data sent back 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. 4. Since this function code writes data, the operand n is ignored. 6-544 Operand Description Device S1 Unit address 1 S2 Function code 16#000F S3 Device address of Y0 16#0500 S Registers Y0–Y17 for reading and writing the data D10.0 n Data length 16 Device Y7 Y6 Y5 Y4 Y3 Y2 Y1 Y0 State ON ON OFF ON OFF OFF ON OFF Value D 2 Device Y17 Y16 Y15 Y14 Y13 Y12 Y11 Y10 State OFF OFF OFF OFF OFF ON OFF OFF Value 0 4