3. Instruction Set
2-6. If the DMV does not reply after the timeout period 100ms, the PLC will set D
2
+2 (Y2) to On (a
communication timeout occurs).
2-7. If the DMV replies with an execption code, the PLC will resend the command to the DMV
automatically, and go back to step 2-3 ~ step 2-5.
The program in the PLC and the comments are shown below.
Remark: D8 in the example is described below.
3-1. When the first command is sent, the value in D8 indicates a program number. In the example,
program number 20 is used, and therefore H14 (or K20) is written into D8 in advance.
3-2. The the third command is sent, D8 becomes a start device in which data received from the
DMV is stored. In the example, two-word data is read. When the completion flag is ON, the
data read is stored in D8 and D9.