Fnc 11 - Zcp / Zone Compare - Mitsubishi Electric FX3G SERIES Programming Manual

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

Advertisement

FX
/FX
/FX
Series Programmable Controllers
3G
3U
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
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 C D R U \G
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
S
. According to the result (smaller, within zone or larger), either
• Comparison is executed algebraically. Example: −10 < 2 <10
Command
input
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.
246
Mnemonic
16-bit Instruction
P
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
3U
S
and upper comparison value
1
FNC 11
S
S
1
ZCP
D
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
→ For the contact comparison instruction, refer to Chapter 28.
→ For floating point comparison, refer to Section 18.2.
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Description
Word Devices
Special
System User
Unit
2
2
2
PLCs. However, index modifiers (V and Z) are not available.
3UC
/FX
PLCs.
3UC
S
2
S
D
2
] ".
] ".
S
2
>
] ".
S
2
9 Move and Compare – FNC 10 to FNC 19
9.2 FNC 11 – ZCP / Zone Compare
Mnemonic
32-bit Instruction
DZCP
17 steps
DZCPP
Con-
Real
Index
stant
Number
V
Z Modify K H
E
are compared with the comparison source
D
,
D
+1 or
D
+2 turns ON.
,
+1 and
D
D
Operation Condition
Continuous
Operation
Pulse (Single)
Operation
Data Type
16- or 32-bit binary
16- or 32-bit binary
16- or 32-bit binary
Bit
Others
Charac-
Pointer
ter String
" "
P
+2 latch
D

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fx3u seriesFx3uc series

Table of Contents