6F3B0250
7. Instructions
FUN 018
MOV
Data transfer
Expression
Input
Function
When the input is ON, the data of A is stored in B.
Execution condition
Input |
| Operation | Output |
OFF | No execution |
| OFF |
ON | Execution |
| ON |
Operand
| Name |
|
| Device |
|
|
|
|
|
| Register |
|
|
|
| Constant | Index | ||
|
| X | Y | R | S | T. | C. | XW | YW | RW | SW | T | C | D | I | J | K |
|
|
A | Source |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö |
B | Destination |
|
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö |
| Ö |
Example 1 (constant to register)
When R010 is ON, a constant data (12345) is stored in D0100 and the output is turned ON.
Example 2 (register to register)
When X005 is ON, the data of SW30 is stored in RW45 and the output is turned ON. If SW30 is 500, the data 500 is stored in RW45.
Example 3 (index modification)
When R050 is changed from OFF to ON, the data of RW08 is stored in the index register I and the data of D(0000+I) is stored in YW10. If RW08 is 300, the data of D0300 is stored in YW10.
154 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net