XCALL
(2) Operation of XCALL instruction varies according to the CPU module type. The following
program example shows the operation of XCALL instruction for each CPU module.
[Program example]
[ON/OFF timing of X0]
(1) Turning X0 ON
(OFF
Component
• Process CPU
(serial No. of first 5 digits : 07031 or earlier)
• High performance model QCPU
(serial No. of first 5 digits: 06081 or earlier.)
• High performance model QCPU
(serial No. of first 5 digits: 06082 or later.)
• Process CPU
(serial No. of first 5 digits : 07032 or later)
• Redundant CPU
• Basic model QCPU
• Universal model QCPU
• LCPU
7-130
ON)
(2) During X0 is ON
ON
OFF
X0
1) When X0 is turned ON: Without process (Do not execute subroutine program of "P1".)
2) During X0 is ON: Execute subroutine program of "P1".
3) When X0 is turned OFF: Perform "Non-execution processing" of subroutine program of "P1".
1) Using SM734 (XCALL instruction executing condition designation) to select operation when
X0 is turned ON.
• When SM734 is OFF: Without process (Do not execute subroutine program of "P1".)
• When SM734 is ON: Execute subroutine program of "P1".
2) During X0 is ON: Execute subroutine program of "P1".
3) When X0 is turned OFF: Perform "Non-execution processing" of subroutine program of "P1".
1) When X0 is turned ON: Execute subroutine program of "P1".
2) During X0 is ON: Execute subroutine program of "P1".
3) When X0 is turned OFF: Perform "Non-execution processing" of subroutine program of "P1".
Subroutine program (P1)
call by XCALL instruction
P1 subroutine program
(3) Turning X0 OFF
*2
(ON
OFF)
*2: Time during X0 is ON(2)) does not include the time when turning X0 ON (1)).
Operation of XCALL instruction