8 APPLICATION INSTRUCTION
8.24 Clock Instruction
711
8
Processing details
• 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.
• Even if the command contact turns off from on and the TZCP instruction is not executed, (d), (d)+1, and (d)+2 hold the
status before the command contact turned off.
Precautions
• Three devices are occupied by (s1), (s2), (s3), and (d). Make sure that these devices are not used by other machine
controls.
• When the time (hour, minute, second) of the clock data of the real time clock built in the CPU module is used, read the
values of special registers by the TRD instruction, and then specify those word devices as the operands.
• Make (s1)
(s2).
Operation error
Error code
(SD0/SD8067)
Description
2820H
The device range specified exceeds the corresponding device range.
3405H
The value specified by (s1), (s2), and (s3) is outside the following range.
0 to 23
The value specified by (s1)+1, (s2)+1, (s3)+1, (s1)+2, (s2)+2, and (s3)+2 is outside the following range.
0 to 59
(s1) (s3)
(s1)+1 (s3)+1
(s1)+2 (s3)+2
(d) = ON
(s1) (s3)
(s2)
(s1)+1 (s3)+1
(s2)+1
(s1)+2 (s3)+2
(s2)+2
(d) +1 = ON
(d) +2 = ON
(s3) (s2)
(s3)+1 (s2)+1
(s3)+2 (s2)+2
hour
minute
second
hour
minute
second
hour
minute
second
hour
minute
second
hour
minute
second
hour
minute
second
hour
minute
second
(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)
(0 to 23)
(0 to 59)
(0 to 59)
(0 to 23)
(0 to 59)
(0 to 59)
Summary of Contents for MELSEC iQ-F FX5
Page 1: ...MELSEC iQ F FX5 Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 17: ...15 CONTENTS ...
Page 24: ...22 MEMO ...
Page 1050: ...1048 26 TIME DATA FUNCTIONS 26 4 Division MEMO ...
Page 1068: ...1066 29 COUNTER FUNCTION BLOCKS 29 4 Counter Function Block Operation error There is no error ...
Page 1107: ...I 1105 MEMO ...
Page 1111: ......