607
TIMCHK
1
2
3
4
4
6
7
8
7.18 Other instructions
7.18.3 TIMCHK
[Operation]
: Device where the measured current value will be stored (BIN 16 bits)
: Device where the set value of measurement is stored (BIN 16 bits)
: Device to be turned ON at time-out (bits)
Function
(1) Measures the ON time of the device used as a condition, and turns ON the device specified by if the condition device
remains ON for longer than the time set to the device specified by .
(2) The current value of the device specified by is cleared to 0 and the device specified by is turned OFF at the leading
edge of the execution command.
The current value of the device designated by and the ON status of the device designated by are retained after the
execution command turns OFF.
(3) Set the set value of measurement in units of 100ms.
Operation Error
(1) In the following case, an operation error occurs, the error flag (SM0) turns ON, and an error code is stored into SD0.
Program Example
(1) 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.
[Ladder Mode] [List Mode]
7.18.3 TIMCHK Tim e check
7.18.3
TIMCHK
• Basic model QCPU: The serial number (first five digits) is
"04122" or later.
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
––
–– –– ––
Error
code
Error details
Q00J/
Q00/
Q01
QnH QnPH QnPRH QnU LCPU
4100 The device that cannot be specified has been specified. –– –– –– ––
X0
3 scans1 scan
SM420
OFF
OFF
ON
ON
Basic
Process
High
performance
Redundant
Universal
LCPU
Ver.
command
TIMCHK
S1 S2
D
TIMCHK
S1
S2
D
S1
S2
D
S2
D
S1
D
S1
D
Step Instruction Device