EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 116

Mitsubishi Electric MELSEC iQ-R Series
2110 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
Loading...
114
2 CPU MODULE INSTRUCTIONS
2.3 Application Instructions
Subtracting clock data
Converting time data from hour/minute/second to second
Converting time data from second to hour/minute/second
Comparing date data
Comparing time data
Outputting a comparison result of time data
Outputting a band comparison result of time data
Instruction symbol Processing details Reference
DATE- Subtracts time data. Page 1007 DATE-(P)
DATE-P
Instruction symbol Processing details Reference
TIME2SEC Converts time data from hour/minute/second to second. Page 1009
TIME2SEC(P)
TIME2SECP
Instruction symbol Processing details Reference
SEC2TIME Converts time data from second to hour/minute/second. Page 1011
SEC2TIME(P)
SEC2TIMEP
Instruction symbol Processing details Reference
LDDT=, ANDDT=, ORDT= Compares the specified date data, or compares the date data with the current date. Page 1013 LDDT,
ANDDT, ORDT
LDDT<>, ANDDT<>, ORDT<>
LDDT>, ANDDT>, ORDT>
LDDT<=, ANDDT<=, ORDT<=
LDDT<, ANDDT<, ORDT<
LDDT>=, ANDDT>=, ORDT>=
Instruction symbol Processing details Reference
LDTM=, ANDTM=, ORTM= Compares the specified time data, or compares the specified time data with the current time. Page 1017 LDTM,
ANDTM, ORTM
LDTM<>, ANDTM<>,
ORTM<>
LDTM>, ANDTM>, ORTM>
LDTM<=, ANDTM<=,
ORTM<=
LDTM<, ANDTM<, ORTM<
LDTM>=, ANDTM>=,
ORTM>=
Instruction symbol Processing details Reference
TCMP Compares the time data to be compared that is specified by (s1), (s2), and (s3) with the time data
specified by (s4), and according to the result (small, match, or large), (d), (d)+1, or (d)+2 is turned
on.
Page 1021 TCMP(P)
TCMPP
Instruction symbol Processing details Reference
TZCP Compares 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.
Page 1023 TZCP(P)
TZCPP
(s1) (s2) (d)
-
hour
minute
second
hour
minute
second
hour
minute
second
(s)
(d)+1 (d)
second
hour
minute
second
(d)
(s)+1 (s)
second
hour
minute
second

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals