220
FX
3U
/FX
3UC
Series Programmable Controllers
Programming Manual - Basic & Applied Instruction Edition
9 Move and Compare – FNC 10 to FNC 19
9.2 FNC 11 – ZCP / Zone Compare
9.2
FNC 11 – ZCP / Zone Compare
Outline
This instruction compares two values (zone) with the comparison source, and outputs the result (smaller,
equal or larger) to bit devices (3 points).
→
For the contact comparison instruction, refer to Chapter 28.
→
For floating point comparison, refer to Section 18.2.
1. Instruction format
2. Set data
3. Applicable devices
S
: "D
.b" cannot be indexing with index registers (V and Z).
Operand Type
Description
Data Type
Data or device number handled as lower comparison value
16- or 32-bit binary
Data or device number handled as upper comparison value
16- or 32-bit binary
Data or device number handled as comparison source
16- or 32-bit binary
Head bit device number to which comparison result is output
Bit
Oper-
and
Type
Bit Devices
Word Devices
Others
System User
Digit Specification
System User
Special
Unit
Index
Con-
stant
Real
Number
Charac-
ter String
Pointer
X Y M T C S D
.b KnX KnY KnM KnS
T
C
D
R U
\G
V
Z Modify K
H
E
"
"
P
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3
3
3
3
3 3 3 3
3
3 3
3
3 3
3 3
3
S
3
DZCP
DZCPP
Mnemonic
Operation Condition
P
FNC 11
ZCP
D
16-bit Instruction
9 steps
ZCP
ZCPP
Mnemonic
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
32-bit Instruction
17 steps
Continuous
Operation
Pulse (Single)
Operation
S
1
S
2
S
D
S
1
S
2
S
D
Содержание FX3U Series
Страница 1: ...PROGRAMMING MANUAL Basic Applied Instructions Edition FX3U FX3UC SERIES PROGRAMMABLE CONTROLLERS ...
Страница 2: ......
Страница 889: ......