FX Series Programmable Controlers Applied Instructions 5
5-16
5.2 Move And Compare - Functions 10 to 19
Contents:
Pa
e
CMP - Compare FNC 10 5-17
ZCP - Zone Compare FNC 11 5-17
MOV - Move FNC 12 5-18
SMOV - Shift Move FNC 13 5-18
CML - Compliment FNC 14 5-19
BMOV - Block Move FNC 15 5-20
FMOV - Fill Move FNC 16 5-21
XCH - Exchan
e FNC 17 5-21
BCD - Binar
Coded Decimal FNC 18 5-22
BIN - Binar
FNC 19 5-22
Symbols list:
D - Destination device.
S - Source device.
m, n- Number of active devices, bits or an operational constant.
Additional numeric suffixes will be attached if there are more than one operand with the same
function e.
. D
1
, S
3
or for lists/tabled devices D
3+0,
S
+9
etc.
MSB - Most Si
nificant Bit, sometimes used to indicate the mathematical si
n of a number, i.e.
positive = 0, and ne
ative = 1.
LSB - Least Si
nificant Bit.
Instruction modifications:
-
An instruction operatin
in 16 bit mode, where identifies the instruction
mnemonic.
P - A 16 bit mode instruction modified to use pulse (sin
le) operation.
D
- An instruction modified to operate in 32 bit operation.
D P - A 32 bit mode instruction modified to use pulse (sin
le) operation.
- A repetitive instruction which will chan
e the destination value on ever
scan unless
modified b
the pulse function.
- An operand which cannot be indexed, i.e. The addition of V or Z is either invalid or will
have no effect to the value of the operand.