Mitsubishi Electronics QCPU Welding System User Manual


  Open as PDF
of 1204
 
7-390
TIMCHK
7.18.3 Time check instruction (TIMCHK)
TIMCHK
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.
The device that cannot be specified has been specified. (Error code: 4100)
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]
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
: 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)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
Bit Word Bit Word
–– –– ––
––
–– –– ––
Process
High
performance
Redundant
Universal
Ver.
Basic
command
TIMCHK
S1 S2
D
TIMCHK
S1
S2
D
S1
S2
D
S2
D
S1
D
S1
D
Step Instruction Device