Download Print this page

Comparing Clock Data Zones - Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

Comparing clock data zones

TZCP(P)
This instruction compares two comparison time (comparison time zone) specified by (s1) and (s2) with the time data specified
by (s3), and turns on or off the specified bit devices (d) according to the comparison results.
Ladder diagram
(s1)
FBD/LD
EN
ENO
s1
d
s2
s3
Setting data
■Descriptions, ranges, and data types
Operand
Description
(s1)
Specify the lower limit of time comparison (hour, minute, and
second).
(s2)
Specify the upper limit of time comparison (hour, minute, and
second).
(s3)
Specify the time data (hour, minute, and second).
(d)
Specify the Bit device that turns on/off depending on the
comparison result
EN
Execution condition
ENO
Execution result
■Applicable devices
Operand
Bit
X, Y, M, L, SM,
F, B, SB, S
(s1)
(s2)
(s3)
(d)
8 APPLICATION INSTRUCTION
710
8.24 Clock Instruction
(s2)
(s3)
(d)
Word
T, ST, C, D, W,
SD, SW, R
Structured text
ENO:=TZCP(EN,s1,s2,s3,d);
ENO:=TZCPP(EN,s1,s2,s3,d);
Range
Double word Indirect
U\G
Z
LC
Data type
16-bit signed binary
16-bit signed binary
16-bit signed binary
Bit
Bit
Bit
Constant
specification
LZ
K, H
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
Others
E
$

Hide quick links:

Advertisement

loading