7 APPLICATION INSTRUCTIONS
7.4 Structure Creation Instructions
579
7
• This instruction performs execution or non-execution processing of a subroutine program.
• The operation results of individual coil instructions after the end of non-execution processing are as follows regardless of
on/off of the condition contact.
• The following figure shows the operation of the XCALL instruction.
• For execution of the subroutine program, it operates each coil instruction according to the on/off status of condition contacts.
• For non-execution processing of the subroutine program, it operates each coil instruction in the same way as when condition contacts are off.
Device used for operation Operation result (device status)
High-speed timer, low-speed timer Set to 0
High-speed retentive timer, low-speed retentive timer, counter Maintains the current status.
Device in OUT instruction Forcibly turned off.
Device in the SET, RST, SFT(P), or basic/application instruction Maintains the current status.
PLS or pulse instruction (P) Performs the same processing as when the condition contact is
off.
(1) On the rising edge of X0 (offon): Executes the subroutine program specified by P1.
(2) During X0 is on: Executes the subroutine program specified by P1. ("During X0 is on" does not include the rising edge of X0.)
(3) On the falling edge of X0 (onoff): Performs non-execution processing of a subroutine program specified by P1.
X0
OFF
(1)
(2)
(3)
ON
X0
XCALL X0 M0
FEND
P1
FX0 FY1
RET
P1