Subroutine Program Call (Xcall) - Mitsubishi MELSEC Q Series Programming Manual

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

Advertisement

7.6.8

Subroutine program call (XCALL)

XCALL
XCALL
Setting
Data
P
to
S1
Function
(1) XCALL instruction executes the subroutine program and performs non-execution processing
of the subroutine program.
(a) Execution of subroutine program
Executes each coil instruction according to ON/OFF status of the condition contacts.
(b) Non-execution of subroutine program
Performs the same processing for each coil instruction as when the condition contacts
are OFF status. The operation results for the individual coil instructions following
non-execution processing will be as follows,
regardless of the ON/OFF status of the individual contacts:
OUT instruction
SET instruction
RST instruction
SFT instruction
Basic instructions
Application instructions
PLS instruction
Pulse generation
instruction (
Present value of low speed/high speed timers ...... 0
Present value of retentive timer
Present value of counter
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
Command
Pn
: Head pointer number of a subroutine program (Device name)
to
: Number of the device to be passed as an argument to a subroutine program (bits, BIN 16 bits, BIN 32 bits)
S1
S5
Internal Devices
R, ZR
Bit
Word
––
––
(Other
S5
than F)
P)
Ver.
High
Basic
performance
XCALL
J
\
U
\G
Bit
Word
––
...... Forced OFF
...... Maintains status
Processing identical to
......
when condition contacts
are OFF
...... Preserves
XCALL
Process
Redundant Universal
LCPU
Pn
S1
to
S5
Constants
Other
Zn
K, H
P
––
7-129
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