EasyManuals Logo

Mitsubishi MELSEC iQ-F FX5 series User Manual

Mitsubishi MELSEC iQ-F FX5 series
888 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #599 background imageLoading...
Page #599 background image
7 APPLICATION INSTRUCTION
7.19 Clock instruction
597
7
Comparing clock data
TCMP(P)
These instructions compare the time specified by (s1), (s2), and (s3) with the time data specified by (s4), and turn on/off the
bit device specified by (d) depending on the size match.
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions compare the time specified by (s1), (s2), and (s3) with the time data specified by (s4), and turn on/off the
bit device specified by (d) depending on the size match.
(d), (d)+1, and (d)+2 hold the state before the command contact is turned off even if, the TCMP instruction is not executed
by switching on off the command contact.
Ladder diagram Structured text
ENO:=TCMP(EN,s1,s2,s3,s4,d);
ENO:=TCMPP(EN,s1,s2,s3,s4,d);
Operand Description Range Data type Data type (label)
(s1) Specify the "hour" of the time comparison 0 to 23 16-bit signed binary ANY16
(s2) Specify the "minute" of the time comparison 0 to 59 16-bit signed binary ANY16
(s3) Specify the "second" of the time comparison 0 to 59 16-bit signed binary ANY16
(s4) Specify the time data (hour, minute, and second) 16-bit signed binary ANY16
(d) Specify the Bit device that turns on/off depending on the
comparison result
Bit Bit
Operand Bit Word Double word Indirect
specification
Constant Others
X, Y, M, L,
SM, F, B, SB
U\G T, ST,
C, LC
T, ST, C, D,
W, SD, SW, R
U\G Z LC LZ K, H E $
(s1) 
(s2) 
(s3) 
(s4) 
(d) 
(s1) (s2) (s4)(s3) (d)
(s1) (s4)
(s2) (s4)+1
(s3)
(s4)+2
(d) = ON
(s1) (s4)
(s2) (s4)+1
(s3)
=
(s4)+2
(d) +1 = ON
(s1) (s4)
(s2) (s4)+1
(s3) (s4)+2
(d) +2 = ON
Data range Data range
Hour
(0 to 23)
Hour
Minute Minute
Second Second
Data range Data range
Hour Hour
Minute Minute
Second Second
Data range Data range
Hour Hour
Minute Minute
Second Second
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Mitsubishi MELSEC iQ-F FX5 series and is the answer not in the manual?

Mitsubishi MELSEC iQ-F FX5 series Specifications

General IconGeneral
BrandMitsubishi
ModelMELSEC iQ-F FX5 series
CategoryController
LanguageEnglish

Related product manuals