Delta DVP-ES3 — 6.15.2 Explanation of Module Instructions

Chapter 6 Applied Instructions that are connected to the CPU module. The first device is number 1, the second device is number 2 and so on. Connected modules are counted and up to 8 devices can be connected. 4. The operand m 3 specifies the control register number. 5. The TO instruction sets D to 0. When an error occurs, the instruction does not set D 2 to 0. Please refer to the Additional remarks below for more information about the error codes. When the instruction is not executed, D does not contain an error code. 6. The operand m 1 must be between 1–8. 7. Only the 32-bit instructions can use the 32-bit counter, but not the device E. 8.

When S is a hexadecimal value, the instruction transmits n hexadecimal values to the I/O module. Suppose S is 16#0001 and n is 3. The instruction transmits three 16#0001s to the I/O module. Example When M0 switches from OFF to ON, the TO instruction writes the data stored in D100 to CR#2 in the right side of the first module. If no error occurs, the code in D110 is 16#0000. 6_ Additional remarks 1. If the values in m 1 and m 2 exceed their range, an operation error occurs, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 2. If D 1 - D 1 + n -1 exceed the device range, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#2003. 3.

If the value in n exceeds the range, the operation error occurs, the instruction is not executed, SM0 is ON, and the error code in SR0 is 16#200B. 4. Due to the fact that the TO instruction decreases the execution efficiency of both the CPU module and the I/O module, it is suggested that you use the pulse type instruction to perform a single trigger as in the example shown above. 6-415