EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 1021

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...
7 APPLICATION INSTRUCTIONS
7.25 Clock Instructions
1019
7
When 0 is set to bits 0 to 2, the time data are not compared. When 1 is set, the comparison target time data (hour, minute,
second) are compared.
When 0 is set to bit 15, the data in the device specified by (s1) and the time data in the device specified by (s2) are
compared. When 1 is set, the time data in the device specified by (s1) is compared with the current time. The time data in
the device specified by (s2) is ignored.
The following table lists processing details of each bit.
If the comparison target data in the device are not recognized as time data, SM709 turns on after the instruction is executed
and the operation result will be non-continuity (ENO OFF). If the device areas specified by (s1) to (s1)+2 or (s2) to (s2)+2
exceed the setting area in the device/label memory, SM709 turns on after the instruction is executed and the operation
result will be non-continuity (ENO OFF) as well. Once SM709 turns on, the on state is held until the CPU module is
powered off or reset. Turn off SM 709 as needed.
The following table lists the comparison operation results of each instruction.
Ex.
The time data A, B, and C are compared.
(s3) value when
comparing two
specified time data
(s3) value when
comparing with
current time data
Comparison
target time
Description
0001H 8001H Second Only data in the device specified by (s1)+2 is compared.
0002H 8002H Minute Only data in the device specified by (s1)+1 is compared.
0003H 8003H Minute, second Data in the device areas specified by (s1)+1 and (s1)+2 are compared.
0004H 8004H Hour Only data in the device specified by (s1) is compared.
0005H 8005H Hour, second Data in the device areas specified by (s1) and (s1)+2 are compared.
0006H 8006H Hour, minute Data in the device areas specified by (s1) and (s1)+1 are compared.
0007H 8007H Hour, minute,
second
The entire date data in the device areas specified by (s1), (s1)+1, and (s1)+2
are compared.
Other than 0001H to 0007H, 8001H to 8007H None The entire date data in the device areas specified by (s1), (s1)+1, and (s1)+2
are not compared. (The operation result will be non-continuity.)
Instruction symbol (ladder, FBD/LD) Condition Result
TM=, EQ (s1)=(s2) Continuity state (ENO is on.)
TM<>, NE (s1)(s2)
TM>, GT (s1)>(s2)
TM<=, LE (s1)(s2)
TM<, LT (s1)<(s2)
TM>=, GE (s1)(s2)
TM=, EQ (s1)(s2) Non-continuity state (ENO is off.)
TM<>, NE (s1)=(s2)
TM>, GT (s1)(s2)
TM<=, LE (s1)>(s2)
TM<, LT (s1)(s2)
TM>=, GE (s1)<(s2)
BA C
14:08:594:50:55 22:47:05
0:0018:0012:006:000:00

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals