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

Duplex system
Hide thumbs Also See for SYSMAC CVM1 Series:
Table of Contents

Advertisement

Block Programming Instructions

5-35 Block Programming Instructions

5-35-1 Overview

Instructions
Restricted Instructions
400
Block programming can be used to program operations that are difficult to pro-
gram with ladder diagrams, such as certain data computations. Effective block
programming can be use to reduce the number of programming steps required
for certain operations, thus reducing the cycle time and increasing overall pro-
cessing 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-35
Function

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cv seriesSysmac cvm1d series

Table of Contents