Fnc 11 - Zcp / Zone Compare - Mitsubishi FX3G Series Programming Manual

Programmable controllers
Hide thumbs Also See for FX3G Series:
Table of Contents

Advertisement

FX
/FX
/FX
/FX
3G
3U
3GC
3UC
Programming Manual - Basic & Applied Instruction Edition
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).
1. Instruction format
FNC 11
D
P
ZCP
2. Set data
Operand Type
S
1
S
2
S
D
3. Applicable devices
Bit Devices
Oper-
and
System User
Type
X Y M T C S D .b KnX KnY KnM KnS T
S
1
S
2
S
D
1: "D .b" is available only in FX
2: This function is supported only in FX
Explanation of function and operation
1. 16-bit operation (ZCP and ZCPP)
The lower comparison value
. According to the result (smaller, within zone or larger), either
S
• Comparison is executed algebraically. Example: −10 < 2 <10
Command
input
D
D
D
Even if the command input turns OFF and ZCP instruction is not executed,
the status just before the command input turns OFF from ON.
Series
Mnemonic
16-bit Instruction
ZCP
9 steps
ZCPP
Data or device number handled as lower comparison value
Data or device number handled as upper comparison value
Data or device number handled as comparison source
Head bit device number to which comparison result is output
Digit Specification
1
and FX
3U
3UC
/FX
3U
3UC
S
and upper comparison value
1
FNC 11
S
S
1
2
ZCP
Turns ON in the case of
>
" [
] ".
S
S
1
+1
Turns ON in the case of
" [
S
S
1
+2
Turns ON in the case of
>
" [
S
9 Move and Compare – FNC 10 to FNC 19
→ For the contact comparison instruction, refer to Chapter 28.
→ For floating point comparison, refer to Section 18.2.
Operation Condition
32-bit Instruction
Continuous
17 steps
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
C D R U \G
V
2
2
2
PLCs. However, index modifiers (V and Z) are not available.
PLCs.
S
are compared with the comparison source
2
,
D
S
D
] ".
S
2
] ".
S
2
9.2 FNC 11 – ZCP / Zone Compare
Mnemonic
Operation Condition
DZCP
Continuous
Operation
DZCPP
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Bit
Others
Con-
Real
Charac-
Index
stant
Number
ter String
Z Modify K H
E
" "
+1 or
+2 turns ON.
D
D
,
+1 and
+2 latch
D
D
D
1
2
3
4
5
Pointer
P
6
7
8
9
10
241

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3gc seriesFx3uc series

Table of Contents