Outputting A Band Comparison Result Of Time Data - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

Outputting a band comparison result of time data

TZCP(P)
RnPCPU
RnPCPU
RnCPU RnENCPU
(Process)
(Redundant)
• The RnCPU and RnENCPU with firmware version "17" or later support these instructions. (Use an engineering tool with version "1.020W" or later.)
These instructions compare the band between the time data of lower limit value (s1) and the time data of upper limit value (s2)
with the time data (s3) to be compared, and according to the comparison result (below, within zone, or above), (d), (d)+1, or
(d)+2 is turned on.
Ladder
(s1)
(s2)
(s3)
FBD/LD
EN
ENO
s1
d
s2
s3
■Execution condition
Instruction
TZCP
TZCPP
Setting data
■Description, range, data type
Operand
Description
(s1)
Start device for storing the lower limit value of the time data
(hour, minute, second) to be compared
(s2)
Start device for storing the upper limit value of the time data
(hour, minute, second) to be compared
(s3)
Start device for storing the time data (hour, minute, second)
to be compared
(d)
The start device where the comparison result is stored
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L,
J\
SM, F, B, SB,
FX, FY
(s1)
(s2)
(s3)
(d)
*1 T, ST, and C cannot be used.
RnSFCPU RnSFCPU
(Standard)
(Safety)
(d)
Execution condition
Word
T, ST, C, D, W,
U\G, J\,
SD, SW, FD, R,
U3E\(H)G
ZR, RD
*1
ST
ENO:=TZCP(EN,s1,s2,s3,d);
ENO:=TZCPP(EN,s1,s2,s3,d);
Range
Data type
Refer to the function
16-bit signed binary
details.
Refer to the function
16-bit signed binary
details.
Refer to the function
16-bit signed binary
details.
Bit
Bit
Bit
Double word Indirect
Z
LT, LST,
LZ
LC
7 APPLICATION INSTRUCTIONS
Data type (label)
ANY16_ARRAY
(Number of elements: 3)
ANY16_ARRAY
(Number of elements: 3)
ANY16_ARRAY
(Number of elements: 3)
ANYBIT_ARRAY
(Number of elements: 3)
BOOL
BOOL
Constant
Others
specification
K, H E
$
7.25 Clock Instructions
7
1023

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents