Time Check Instruction (Timchk) - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

7.18.3

Time check instruction (TIMCHK)

TIMCHK
TIMCHK
Setting
Data
S1
S2
D
Function
(1) Measures the ON time of the device used as a condition, and turns ON the device specified
by
S2
by
D
(2) The current value of the device specified by
is turned OFF at the leading edge of the execution command.
The current value of the device designated by
designated by
(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.
• The device that cannot be specified has been specified.
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]
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
command
: Device where the measured current value will be stored (BIN 16 bits)
S1
: Device where the set value of measurement is stored (BIN 16 bits)
S2
: Device to be turned ON at time-out (bits)
D
Internal Devices
R, ZR
Bit
Word
––
––
if the condition device remains ON for longer than the time set to the device specified
.
are retained after the execution command turns OFF.
D
Ver.
High
Basic
performance
TIMCHK
S1
J
\
U
\G
Bit
Word
––
––
is cleared to 0 and the device specified by
S1
and the ON status of the device
S1
[List Mode]
Step
Instruction
TIMCHK
Process
Redundant Universal
LCPU
S2
D
Constants
Zn
Other
K, H
––
––
––
D
(Error code: 4100)
Device
7-389
1
2
3
4
6
6
7
8

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents