7-129
XCALL
1
2
3
4
6
6
7
8
7.6 Structure creation instructions
7.6.8 Subroutine program call (XCALL)
7.6.8 Subroutine program call (XCALL)
XCALL
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:
Basic model QCPU: The upper five digits of the serial No. are "04122" or larger.
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)
Setting
Data
Internal Devices
R, ZR
J\
U\G
Zn
Constants
K, H
Other
P
Bit Word Bit Word
P–– –– ––
to
(Other
than F)
––
OUT instruction ...... Forced OFF
SET instruction
...... Maintains status
RST instruction
SFT instruction
Basic instructions
Application instructions
PLS instruction
......
Processing identical to
when condition contacts
are OFF
Pulse generation
instruction ( P)
Present value of low speed/high speed timers ...... 0
Present value of retentive timer
...... Preserves
Present value of counter
Process
High
performance
Redundant
Universal
Ver.
Basic
Command
Pn
XCALL
to
S1 S5
XCALL
S1
S5
S1
S5