Download Print this page

Mitsubishi Electric MELSEC iQ-F FX5 Programming Manual page 713

Instructions, standard functions/function blocks
Hide thumbs Also See for MELSEC iQ-F FX5:

Advertisement

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.
hour
(s1)
(0 to 23)
(s1)+1
minute
(0 to 59)
(s1)+2
second
(0 to 59)
hour
(0 to 23)
(s1)
(0 to 59)
(s1)+1
minute
(0 to 59)
(s1)+2
second
• 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
Description
(SD0/SD8067)
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
hour
(0 to 23)
(s3)
(s3)+1
minute
(0 to 59)
(s3)+2
second
(0 to 59)
hour
(0 to 23)
(s3)
(s3)+1
minute
(0 to 59)
(s3)+2
second
(0 to 59)
hour
(s3)
(0 to 23)
minute
(s3)+1
(0 to 59)
second
(s3)+2
(0 to 59)
hour
(0 to 23)
(s2)
(s2)+1
minute
(0 to 59)
(s2)+2
second
(0 to 59)
(s2)
hour
(0 to 23)
minute
(0 to 59)
(s2)+1
second
(0 to 59)
(s2)+2
(d) = ON
(d) +1 = ON
(d) +2 = ON
8 APPLICATION INSTRUCTION
8.24 Clock Instruction
8
711

Hide quick links:

Advertisement

loading