![Xinje XD Series User Manual Download Page 103](http://html.mh-extra.com/html/xinje/xd-series/xd-series_user-manual_887444103.webp)
102
*Notes: D includes D, HD; TD includes TD, HTD; CD includes CD, HCD, HSCD, HSD;
DM includes DM, DHM; DS includes DS, DHS.
M includes M, HM, SM; S includes S, HS; T includes T, HT; C includes C, HC.
CMP
D10
D20
M0
S1·
X0
M0
M1
M2
D10 > D20
S·
D10 = D20
D10 < D20
ON
ON
ON
D
Compare data and , show the result in three soft components starting from
, +1, +2: the three soft components will show the compare result.
4-5-2
.
Data zone compare [ZCP]
1. Summary
Compare the current data with the data in the zone, output the result.
Data Zone compare [ZCP]
16 bits
ZCP
32 bits
DZCP
Execution
condition
Normally ON/OFF,
rising/falling edge
Suitable Models
XD, XL
Hardware
requirement
-
Software
requirement
-
2. Operands
Operands Function
Data Type
S1
The low limit of zone
16 bit, BIN
S2
The high limit of zone
16 bit, BIN
S
The current data address
16 bit, BIN
D
The compare result
bit
Description
Even X0=OFF to stop CMP instruction,
M0~M2 will keep the original status
S1·
S·
D·
D·
D·
D·