Z(P).Ycheck - Mitsubishi QD51-R24 User Manual

Melesec q series
Hide thumbs Also See for QD51-R24:
Table of Contents

Advertisement

6 EXCLUSIVE COMMANDS

6.2 Z(P).YCHECK

Internal Device
(System, User)
Setting Data
Bit
(S1)
[Command Symbol]
Z. YCHECK
ZP. YCHECK
Setting data
6
Function:
Error:
Program Example:
6 - 2
This checks the rise of the task start signal (Y19) and shortens the BASIC program
start time.
Link direct device J
File Register
Word
Bit
[Execution Condition]
Command
Command
1 If the originating station is a Basic model QCPU (function version B or later), or
Universal model QCPU, " " (double quotation) of the first argument can be omitted.
Setting Data
"Un"/Un
Module Header Input / Output Signal
(S1)
Dummy
The file register for each local device and program cannot be used as setting
data.
(1) After turning ON QD51 (-R24) task start signal (Y19) designated at "Un,"
execute YCHECK instruction to start the BASIC program immediately.
(2) The YCHECK instruction is executed each scan if execution upon ON is
selected and the instruction is ON. It is executed only once immediately
after the command changes from OFF to ON if rising edge execution is
selected.
(1) When a calculation error occurs, the error flag (SM0) goes ON and the error
code is stored in SD0.
Refer to the QCPU User's Manual, check the error content and take the
appropriate corrective measures.
Program to start the Task 1 BASIC program.
If the QD51 (-R24)'s input/output signal is X/Y00 to X/Y1F
Usable Device
Intelligent
\
function
Index Register
module device
Word
U
\G
Z.YCHECK
"Un"
*1
ZP.YCHECK
"Un"
*1
Content
MELSEC-Q
Constant
Other
Zn
K, H
$
(S1)
(S1)
Set Side
Data format
User
String/BIN16 bit
Device name
Task 1 designated.
Program start signal turned ON.
YCHECK executed.
6 - 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Qd51

Table of Contents