DVP-ES3 Series Programming Manual 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 FROM instruction sets D 2 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 2 does not contain an error code. 6. The operand n must be between 1 – 8. 7. Only the 32-bit instructions can use the 32-bit counter, but not the device E.
Example When M0 is switched from OFF to ON, the instruction reads the data stored in CR#2 from the right side of the first module and stores the data in D100. 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 to 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 FROM 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. 5. If there is any error response from the modules, the instruction stores the error code in D 2 . The error code descriptions shown in the following table. 6-412