101
4-5
.
Data Move Instructions
Mnemonic
Function
Chapter
CMP
Data compare
4-5-1
ZCP
Data zone compare
4-5-2
MOV
Move
4-5-3
BMOV
Data block move
4-5-4
PMOV
Data block move (with faster speed)
4-5-5
FMOV
Fill move
4-5-6
EMOV
Float number move
4-5-7
FWRT
FlashROM written
4-5-8
MSET
Zone set
4-5-9
ZRST
Zone reset
4-5-10
SWAP
The high and low byte of the
destinated devices are exchanged
4-5-11
XCH
Exchange two data
4-5-12
4-5-1
.
Data Compare [CMP]
1. Summary
Compare the two data, output the result.
Data compare [CMP]
16 bits
CMP
32 bits
DCMP
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable
Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands Function
Data Type
S1
Specify the data (to be compared) or soft
component’s address code
16 bit,BIN
S
Specify the comparand’s value or soft
component’s address code
16 bit,BIN
D
Specify the compare result’s address code
bit
3. Suitable soft component
Word
Operand
System
Constant Module
D
*
FD
TD
*
CD
*
DX
DY
DM
*
DS
*
K /H
ID
QD
S1
●
●
●
●
●
●
●
●
●
S
●
●
●
●
●
●
●
●
●
Operand
System
X
Y
M
*
S
*
T
*
C
*
Dn.m
D
● ●
●
Bit
Содержание XD Series
Страница 1: ...XD XL series PLC User manual Instruction WUXI XINJE ELECTRIC CO LTD Data No PD05 20201022 3 5 ...
Страница 210: ...209 ...
Страница 314: ...313 B Double click the middle part to modify ...