EasyManuals Logo
Home>Mitsubishi>Controller>MELSEC iQ-F FX5 series

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 #596 background imageLoading...
Page #596 background image
594
7 APPLICATION INSTRUCTION
7.19 Clock instruction
Comparing time data
LDTM, ANDTM, ORTM
These instructions compare the time data in the devices specified by (s1) and (s2). Or, these instructions compare the time
data in the device specified by (s1) with the current time.
Set the comparison target by (s3).
Setting data
Descriptions, ranges, and data types
Applicable devices
Processing details
These instructions compare the time data in the devices specified by (s1) and (s2), or compare the time data in the device
specified by (s1) with the current time. Set the comparison target by (s3).
Ladder diagram Structured text
( indicates, TM=, TM<>, TM>, TM<=, TM<, TM>=.)
Not supported
Operand Description Range Data type Data type (label)
(s1) Head device number where the comparison data is stored 16-bit signed binary ANY16
(s2) Head device number where the comparison data is stored 16-bit signed binary ANY16
(s3) Comparison target setting value or the number of comparison
target data
0001H to 0007H,
8001H to 8007H
16-bit signed binary ANY16
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) 
Comparing two specified time data
These instructions compare the time data in the device specified by (s1) with the time data in the device specified by (s2) in accordance with the
conditions set by (s3). (Devices are used as a normally open contact.)
Comparing specified time data with current time data
These instructions compare the time data in the device specified by (s1) with the current time data in accordance with the conditions set by (s3).
(Devices are used as a normally open contact.) The time data in the device specified by (s2) is regarded as dummy data and ignored.
LD
AND
OR
(s1) (s2) (s3)
(s1) (s2) (s3)
(s1) (s2) (s3)
(s1)
(s1)+1
(s1)+2
(s2)
(s2)+1
(s2)+2
Hour
Minute
Second
Hour
Minute
Second
(0 to 23)
Data range
(0 to 59)
(0 to 59)
(0 to 23)
Data range
(0 to 59)
(0 to 59)
Relational
operator
Comparison
operation
result
(s1)
(s1)+1
(s1)+2
Comparison
operation
result
Hour
Minute
Second
(0 to 23)
Data range
(0 to 59)
(0 to 59)
Current time
(Hour/minute/second)
Relational
operator

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