Omron CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009 Reference Manual page 795

Programmable controllers
Hide thumbs Also See for CJ - INSTRUCTIONS REFERENCE MANUAL 07-2009:
Table of Contents

Advertisement

3. Instructions
SNXT/STEP
Instruction
STEP START
STEP DEFINE
Symbol
Applicable Program Areas
Function block
Area
definitions
Usage
Not allowed
Operands
Operand
B
Bit
Operand Specifications
Word addresses
Area
CIO
WR
HR
B
---
OK
---
Flags
Name
Error Flag
Function
SNXT(009)
SNXT(009) is used in the following three ways:
1.To start step programming execution.
2. To proceed to the next step control bit.
3. To end step programming execution.
The step program area is from the first STEP(008) instruction (which always takes a control bit) to the
last STEP(008) instruction (which never takes a control bit).
Starting Step Execution
SNXT(009) is placed at the beginning of the step program area to start step execution. It turns ON
the control bit specified for B for the next STEP(008) and proceeds to step B (all instructions after
STEP(008) B). A differentiated execution condition must be used for the SNXT(009) instruction that
starts step programming area execution, or step execution will last for only one cycle.
758
Mnemonic
Variations
SNXT
---
STEP
---
SNXT
SNXT(009)
B: Bit
B
Block program areas
Step program areas
Not allowed
OK
Description
Indirect DM/EM
@DM
AR
T
C
DM
EM
@EM
---
---
---
---
---
Label
ER
• ON when the specified bit B is not in the WR
area.
• ON when SNXT(009) is used in an interrupt pro-
gram.
• OFF in all other cases.
Function
code
SNXT(009) is used to control progression of step
009
execution in the step program area.
STEP(008) is used to define the beginning and
008
the end of the step program area.
When defining the beginning of a step, a control bit is specified as
follows:
When defining the end of a step, a control bit is not specified as
follows:
Subroutines
Not allowed
Data type
---
addresses
Con-
stants
*DM
DR
*EM
---
---
---
---
Operation
SNXT
• ON when the specified bit B is not in the WR
• ON when STEP(008) is used in an interrupt pro-
• OFF in all other cases.
CS/CJ/NSJ Series Instructions Reference Manual (W474)
Function
STEP
STEP(008)
B: Bit
B
STEP(008)
SFC action or
Interrupt tasks
transition programs
Not allowed
Not allowed
Size
1
Registers
Flags
Pulse
bits
Indirect
IR
TK
CF
using IR
---
OK
---
---
STEP
area.
gram.
TR
bits
---
---

Advertisement

Table of Contents
loading

Table of Contents