756
7 APPLICATION INSTRUCTIONS
7.19 Other Instructions
Time check
TIMCHK
• Measures the ON time of the device used as a condition, and turns ON the device specified by (S2) if the condition device
remains ON for longer than the time set to the device specified by (D).
• The current value of the device specified by (S1) is cleared to 0 and the device specified by (D) is turned OFF at the rising
edge of the execution command. The current value of the device designated by (S1) and the ON status of the device
designated by (D) are retained after the execution command turns OFF.
• The measured current value is stored in units of 100ms. Set the value for measurement in units of 100ms.
• When a value other than 0 to 32767 is specified in (S2), (D) turns on at the scan after the scan in which the execution
command turns on.
• In any of the following cases, an operation error occurs, the error flag (SM0) turns on, and an error code is stored in SD0.
• Program where the ON time of X0 is set to 5s, the current value storage device to D0, and the device that will turn ON at
time-out to Y10.
• Basic model QCPU: The serial number (first five digits) is "04122" or later.
(S1): Device where the measured current value will be stored (unit: 100ms) (BIN 16 bits)
(S2): The set value for measurement or the device where the set value is stored (unit: 100ms) (Setting range: 0 s2 32767) (BIN 16 bits)
(D): Device to be turned ON at time-out (bits)
Setting
data
Internal device R, ZR J\ U\G Zn Constant
K, H
Others
Bit Word Bit Word
(S1)
(S2)
(D) (Other than T, ST, C)
Error
code
Error details Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The device that cannot be specified has been specified.
[Ladder Mode] [List Mode]
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver.
command
TIMCHK
S1 S2
D
TIMCHK