4 |
Parameters:
Parameter | Description |
|
|
|
|
enable | When the function is enabled, the move is performed. |
|
|
IN | IN contains the value to be moved. For MOVE_BIT, any discrete reference may be |
| used; it does not need to be byte aligned. However, 16 bits, beginning with the reference |
| address specified, are displayed online. |
|
|
ok | The ok output is energized whenever the function is enabled. |
|
|
Q | When the move is performed, the value at IN is written to Q. For MOVE_BIT, any |
| discrete reference may be used; it does not need to be byte aligned. However, 16 bits, |
| beginning with the reference address specified, are displayed online. |
|
|
LEN | LEN specifies the number of words or bits to be moved. For MOVE_WORD and |
| MOVE_INT, LEN must be between 1 and 256 words. For MOVE_BIT, when IN |
| is a constant, LEN must be between 1 and 16 bits; otherwise, LEN must be between 1 |
| and 256. |
|
|
Note
On 351, 352 and 360 series CPUs, the MOVE_INT and MOVE_WORD functions do not support overlapping of IN and Q parameters, where the IN reference is less than the Q reference. For example, with the following values: IN=%R0001, Q=%R0004, LEN=5 (words), the %R0007 and %R0008 contents will be indeterminate; however, using the following values: Q=%R0001, IN=%R0004, LEN=5 (words) will yield valid contents.
Also, please note that only 350 and 360 series CPUs (Release 9 and later, plus all releases of CPU352) have Floating Point capabilities at this time and therefore the only one capable of MOVE_REAL.
Valid Memory Types:
Parameter | flow | %I | %Q | %M | %T | %S | %G | %R | %AI | %AQ | const | none |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
enable | • |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
IN |
| • | • | • | • | o | • | • | • | • | • |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ok | • |
|
|
|
|
|
|
|
|
|
| • |
|
|
|
|
|
|
|
|
|
|
|
|
|
Q |
| • | • | • | • | o† | • | • | • | • |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Note: For REAL data, the only valid types are %R, %AI, and %AQ.
•Valid reference for BIT, INT, or WORD data, or place where power may flow through the function. For MOVE_BIT, discrete user references %I, %Q, %M, and %T need not be byte aligned.
o Valid reference for BIT or WORD data only; not valid for INT.
†%SA, %SB, %SC only; %S cannot be used.
Chapter 4 Series |