EasyManuals Logo

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 User Manual

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008
1405 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #1235 background imageLoading...
Page #1235 background image
1195
Block Programming Instructions Section 3-32
Flags
Precautions 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).
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 pro-
gram, the paused block program will restart from the next instruction after
BPPS(811).
If a paused block program contains TIMW(813), TIMWX(816), TMHW(815), or
TMHWX(817), the PV of the time will continue to elapse even while the block
program is paused.
Examples The following diagram shows a basic example of pausing a block program.
Note If the block program that is being paused appears after BPPS(811), it will not
be executed. If the block program appears before BPPS(811), it will be
paused starting the next cycle.
If CIO 000000 is ON, the following program pauses execution of either block
program 1 or block program 2 depending on the status of CIO 000001. The
block program that was paused is then restarted after 10 seconds.
Name Label Operation
Error Flag ER 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.
0
1
Block program 0
Block program 1 will be paused if CIO 000000
and CIO 000001 are both ON.
Block program 1
If the BPPS(811) in block program 0 has
been executed, block program 1 will not be
executed even if CIO 000002 is ON.
# 0100
000000 LD 000000
000001 BPRG(096) 00
000002 IF(802) 000001
000003 BPPS(811) 01
000004 ELSE(803)
000005 BPPS(811) 02
000006 IEND(804)
000007 TIMW(803) 0000
000008 BPRS(812) 1
000009 BPRS(812) 2
000010 BEND(801)
0
Pauses block program 1
Pauses block program 2
Restarts block program 1
Restarts block program 2
Address
Instruction
Operands

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 and is the answer not in the manual?

Omron SYSMAC CJ - REFERENCE MANUAL 08-2008 Specifications

General IconGeneral
BrandOmron
ModelSYSMAC CJ - REFERENCE MANUAL 08-2008
CategoryController
LanguageEnglish

Related product manuals