Block Programming Instructions; Overview - Omron SYSMAC CV Series Operation Manual

Ladder diagrams
Hide thumbs Also See for SYSMAC CV Series:
Table of Contents

Advertisement

Block Programming Instructions

5-38 Block Programming Instructions

5-38-1 Overview

Instructions
Restricted Instructions
438
Block programming can be used with version-2 CVM1 CPUs to program opera-
tions that are difficult to program with ladder diagrams, such as certain data com-
putations. Effective block programming can be use to reduce the number of pro-
gramming steps required for certain operations, thus reducing the cycle time
and increasing overall processing speed.
A maximum of 100 block programs can be used.
The following block programming instructions are available.
Name
BLOCK PROGRAM
BEGIN
BLOCK PROGRAM
END
IF (NOT)
ELSE
IF END
ONE CYCLE AND
WAIT (NOT)
CONDITIONAL
BLOCK EXIT (NOT)
LOOP
LOOP END (NOT)
BLOCK PROGRAM
PAUSE
BLOCK PROGRAM
RESTART
TIMER WAIT
COUNTER WAIT
HIGH-SPEED
TIMER WAIT
Although most ladder-diagram instructions can also be used in mnemonic form
within a block program, there are restrictions for the following instructions.
LD, LD NOT, AND, AND NOT, AND LD, OR LD, UP(018), DOWN(19),
EQU(025), symbol comparison instructions (300 to 328), TST(350), and
TSTN(351).
The instructions must be combined with either the IF<002>, WAIT<005>,
EXIT<006>, or LEND<010> instructions, or with ladder-diagram jump instruc-
tions.
Note The operation of the above instructions will not be dependable is they are not
used in combination as described or if they are used in combination with other
instructions.
Mnemonic
BPRG(250)
Changes to block programming
(BPRG(250) is actually a ladder
diagram instruction.)
BEND<001>
Ends a block program.
IF<002> (NOT)
Starts conditional branching.
ELSE<003>
Marks the alternate route for
conditional branching.
IEND<004>
Ends conditional branching.
WAIT<005> (NOT)
Creates a conditional one-cycle wait.
EXIT <006> (NOT)
Conditionally ends block program
execution.
LOOP<009>
Starts a loop.
LEND<010>(NOT)
Ends a loop.
BPPS<011>
Temporarily stops block program
execution.
BPRS<012>
Restarts block program execution.
TIMW<013>
Creates a timed wait.
CNTW<014>
Creates a wait based on a counter.
TMHW<015>
Creates a high-speed timed wait.
Section 5-38
Function

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Cv2000Cvm1Cv500Cv1000

Table of Contents