Step Instructions: Step Define And Step Start-Step(08)/Snxt(09); Step Define And Step Start-Step(08)/Snxt(09) - Omron CQM1H - PROGRAM Programming Manual

Programmable controllers; inner boards
Table of Contents

Advertisement

Step Instructions: STEP DEFINE and STEP START–STEP(08)/SNXT(09)
Resetting Errors
5-15 Step Instructions:
STEP DEFINE and STEP START–STEP(08)/SNXT(09)
Limitations
Description
FAL Area
25307
FAL(06) produces a non-fatal error and FALS(07) produces a fatal error.
When FAL(06) is executed with an ON execution condition, the ALARM/
ERROR indicator on the front of the CPU Unit will flash, but PC operation will
continue. When FALS(07) is executed with an ON execution condition, the
ALARM/ERROR indicator will light and PC operation will stop.
The system also generates error codes to the FAL area.
FAL error codes will be retained in memory, although only one of these is
available in the FAL area. To access the other FAL codes, reset the FAL area
by executing FAL(06) 00. Each time FAL(06) 00 is executed, another FAL
error will be moved to the FAL area, clearing the one that is already there. FAL
error codes are recorded in numerical order.
FAL(06) 00 is also used to clear message programmed with the instruction,
MSG(46).
If the FAL area cannot be cleared, as is generally the case when FALS(07) is
executed, first remove the cause of the error and then clear the FAL area
through the Programming Console or the CX-Programmer.
Ladder Symbols
STEP(08) B
SNXT(09) B
All control bits must be in the same word and must be consecutive.
The step instructions STEP(08) and SNXT(09) are used together to set up
breakpoints between sections in a large program so that the sections can be
executed as units and reset upon completion. A section of program will usu-
ally be defined to correspond to an actual process in the application. (Refer to
the application examples later in this section.) A step is like a normal program-
ming code, except that certain instructions (i.e., END(01), IL(02)/ILC(03),
JMP(04)/JME(05), and SBN(92)) may not be included.
STEP(08) uses a control bit in the IR or HR areas to define the beginning of a
section of the program called a step. STEP(08) does not require an execution
condition, i.e., its execution is controlled through the control bit. To start exe-
cution of the step, SNXT(09) is used with the same control bit as used for
STEP(08). If SNXT(09) is executed with an ON execution condition, the step
with the same control bit is executed. If the execution condition is OFF, the
step is not executed. The SNXT(09) instruction must be written into the pro-
gram so that it is executed before the program reaches the step it starts. It can
1
X10
STEP(08)
Section 5-15
25300
0
X10
Definer Data Areas
B: Control bit
IR, AR, HR, LR
B: Control bit
IR, AR, HR, LR
231

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sysmac cqm1h seriesSysmac cqm1h-cpu series

Table of Contents