3 . I n s t r u c t i o n S e t
M N050 03003E F or mo re infor ma tio n vi sit:
w w w. e a t o n . c o m
3-61
API Mnemonic
Operands
Function
16
D FMOV P
S, D, n
Fill and Move
Bit Devices
Word devices
Program Steps
Type
OP
X Y M S K H KnX KnY KnM KnS T
C D E
F
S
*
*
*
*
*
*
*
*
*
*
*
D
*
*
*
*
*
*
n
*
*
FMOV, FMOVP: 7 steps
DFMOV, DFMOVP: 13
steps
ELC ELCB
ELCM
PB PC/PA/PH
PV
PB PH/PA
32 16
P
32 16
P
32 16
P 32 16 P 32 16
P
Operands:
S
: Source
D
: Destination
n
: Number of data registers to move
Description:
1.
This instruction is used to move a value to a block of values. . Move the contents of
S
to each
D
through
D
+
n
registers. If the number of registers
n
exceeds the valid range shown below,
only the values that are within the valid range will be moved. For example, this instruction can
be used to clear a file or assign a single value to a file of registers.
2.
ELC-PB, ELCB-PB models do not support KnX, KnY, KnM, and KnS devices.
3. If
operand
S
uses index register F, only 16 bit values are available
4.
The range of n: 1~ 512(16-bit instruction), 1~ 256 (32-bit instruction)
Program Example:
When X20=ON, move constant K10 to the consecutive five registers (D10~D14) starting from D10.
X20
D10
K5
FMOV
K10
K10
K10
K10
K10
K10
K10
D10
D11
D12
D13
D14
n=5
Содержание ELC-PB
Страница 1: ......
Страница 5: ...For more information visit www eaton com MN05003003E iv...
Страница 29: ...ELC Programming Manual For more information visit www eaton com MN05003003E 1 24 MEMO...
Страница 502: ...3 Instruction Set MN05003003E For more information visit www eaton com 3 333...
Страница 601: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 432...
Страница 625: ...ELC Programming Manual For more information visit www eaton com MN05003003E 3 456...