![LS Industrial Systems XBC-DN10E User Manual Download Page 237](http://html1.mh-extra.com/html/ls-industrial-systems/xbc-dn10e/xbc-dn10e_user-manual_1943831237.webp)
Chapter 6 Instruction Details
XBC E-Type Main Unit
6-120
Ver. 1
6.22.4 GX(P), GDX(P), (GEQ, GEQP, GGT, GGTP, GLT, GLTP, GGE, GGEP, GLE, GLEP, GNE, GNEP
, GDEQ, GDEQP, GDGT, GDGTP, GDLT, GDLTP, GDGE, GDGEP, GDLE, GDLEP, GDNE, GDNEP)
Instruction
Area Available
Step
Flag
P M K
F
L
T
C S
Z D.x R.x
Co
nst.
U D R
Error
(F110)
Zero
(F111)
Carry
(F112)
GX(P)
GDX(P)
S1 O O O O O O O
-
O
-
-
-
O O O
4~6
O
-
-
S2 O O O O O O O
-
O
-
-
O O O O
D O O O O O O O
-
O
-
-
-
O O O
N O O O
-
O O O
-
O
-
-
O O O O
Operand
Description
Data Type
S1
Data or Data address to compare with S2
WORD
S2
Data address to compare with S1
WORD
D
Device area to save the result (1 word)
WORD
N
Number to execute Compare Instruction (0 ~ 16)
WORD
[Flag Set]
Flag
Description
Device
Number
Error
If N value exceeds applicable device’s area.
F110
1) Word Data Group Compare Instruction
(1) Compares specified Compare Data S1 with N word data starting S2 1:1 to save in specified D number’s
lower bit up to Nth Bit.
(2) If Compare Condition is met, 1 will be saved in D.
(3) If Compare Condition is not met, 0 will be saved in D.
(4) It can input constant value from 0 to 65,535 in S1. Operation of instruction is as shown below.
means GEQ/GGT/GLT/GGE/GLE/GNE
P
S2
D
N
S1
S2
D
N
S1
P
S1+(N-1)
5678
S2
32000
S1
S1+1
S1+2
S1+(N-2)
N
D
32000
32000
4321
1234
Operation Result
Summary of Contents for XBC-DN10E
Page 1: ......
Page 10: ...Table of Contents Table of Contents 6 10 10 CLEAR ALL PLC 29...