3. Instructions
BPPS/BPRS
Instruction
BLOCK PROGRAM PAUSE
BLOCK PROGRAM RESTART
Symbol
BPPS(811)
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
*1 BPRG(096) and BPRS(812) must be used in block programming regions even within subroutines and interrupt tasks.
Operands
Operand
N
Block program number
N: Block Program Number
The block program number must be between 0 and 127 decimal.
Operand Specifications
Word addresses
Area
CIO
WR
HR
N
---
---
---
Flags
Name
Error Flag
Note An error will occur and the Error Flag will turn ON if BPPS(811) or BPRS(812) is not in a block program or if N is not
between #0000 and #007F (binary).
Function
BPPS
BPPS(811) is used inside one block program to pause the execution of another block program specified
by N, the block program number. The block program that is paused with BPPS(811) even if the
BPRG(096) for the block program has an ON execution condition. The block program will not be
restarted until BPRS(812) is executed for it.
Note BPPS(811) can be used to pause the block program that contains it. When the block program is then
restarted using BPRS(812) from another block program, the paused block program will restart from the next
instruction after BPPS(811).
BPRS
BPRS(812) restarts the block program specified by N, the block program number. Once restarted, the
block program will be executed as long as the BPRG(096) for the block program has an ON execution
condition.
1062
Mnemonic
Variations
BPPS
---
BPRS
---
BPPS
N
N: Block program number
Block program areas
Step program areas
OK
OK
Description
AR
T
C
DM
EM
---
---
---
---
---
Label
ER
Function
code
Pause the specified block program from another
811
block program.
Restart the specified block program from another
812
block program.
BPRS(812)
Subroutines
1
OK*
Indirect DM/EM
addresses
Con-
stants
@DM
*DM
DR
@EM
*EM
---
---
OK
---
• ON if BPPS(811) or BPRS(812) is not in a block program.
• ON if N is not between 0 and 127.
• OFF in all other cases.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
BPRS
N
N: Block program number
SFC action or transition
Interrupt tasks
programs
1
Not allowed
OK*
Data type
Size
Number
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
---
---
---
Operation
1
TR
bits
---
---
Need help?
Do you have a question about the CJ - INSTRUCTIONS and is the answer not in the manual?