8 APPLICATION INSTRUCTION
8.24 Clock Instruction
709
8
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.
Precautions
• Three devices are occupied by (s4) and (d). Make sure that these devices are not used by other machine controls.
• Specify each operand of the word device after reading the value of the special register used in the TRD(P) instruction when
the time (hour, minute, second) of the clock data of the built-in real time clock in the CPU module is used.
Operation error
Error code
(SD0/SD8067)
Description
2820H
The device range specified exceeds the corresponding device range.
3405H
The value specified by (s1) and (s4) is outside the following range.
0 to 23
The value specified by (s2), (s3), (s4)+1, and (s4)+2 is outside the following range.
0 to 59
(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
hour
(0 to 23)
hour
minute
minute
second
second
hour
hour
minute
minute
second
second
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)
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: ......