
f : Can be used
: Cannot be used
5. FUNCTIONAL INSTRUCTIONS
B–61863E/15
PMC SEQUENCE PROGRAM
346
PA1 PA3 SA1 SA2 SA3 SA5 SB SB2 SB3 SB4 SB5 SB6 SB7 SC SC3 SC4 NB NB2 NB6
f f f f f f f f f f f f f
The JMPC functional instruction returns control from a subprogram to the
main program. Be sure to code the destination label in the main program.
The specifications of this JMPC functional instruction are the same as
those of the JMPB functional instruction, except that JMPC always
returns control to the main program.
D More than one jump instruction can be coded for the same label.
JMPC AA
Ladder program
Main
program
Subprogram
Main
program
LBL AA
LBL BB
JMPC BB
LBL AA
JMPC AA
JMPC AA
Subprogram
JMPC
SUB 73
Specification
of the jump
destination
label
ACT
ACT=0 : The instruction after the JMPC instruction is executed.
ACT=1 : Control is transferred to the Ladder after the specified label.
(a) Label specification
Specifies the label of the jump destination. The label number must
be specified in the L address form. A number from L1 to L9999 can
be specified.
CAUTION
1 For the specifications of this instruction, see Chapter 10 in
Part I.
2 When this instruction is used to jump back to a previous
instruction, care must be taken not to cause an infinite loop.
5.70
JMPC (LABEL JUMP)
5.70.1
Function
5.70.2
Format
5.70.3
Control Conditions
(ACT)
5.70.4
Parameters