Step Instructions - Omron SYSMAC CJ - REFERENCE MANUAL 01-2008 Reference Manual

Sysmac cs/cj/one nsj series programmable controllers
Table of Contents

Advertisement

Step Instructions

Flags
Example
000000
000001
3-22 Step Instructions
Name
Label
Error Flag
ER
When CIO 000000 turns ON in the following programming example,
PWM(891) starts pulse output from pulse output 0 at 200 Hz with a duty factor
of 50%. When CIO 000001 turns ON, the duty factor is changed to 25%.
@PWM
#0000
Pulse output 0
#07D0
Frequency: 200.0 Hz
#0032
Duty factor: 50%
@PWM
#0000
Pulse output 0
#07D0
Frequency: 200.0 Hz
Duty factor: 25%
#0019
This section describes Step Instructions, which are used to set up break
points between sections in a large program so that the sections can be exe-
cuted as units and reset upon completion.
Instruction
STEP DEFINE
STEP START
In CS/CJ-series PLCs, STEP(008)/SNXT(009) can be used together to create
step programs.
Instruction
SNXT(009): STEP START
STEP(008): STEP DEFINE Indicates the start of a
Operation
ON if the specified range for P, F, or D is exceeded.
ON if pulses are being output using ORG(889) for the
specified port.
ON if PWM(891) is executed in an interrupt task when an
instruction controlling pulse output is being executed in a
cyclic task.
Duty factor: 50%
CIO 000000 ON
CIO 000001 ON
Mnemonic
STEP
SNXT
Operation
Controls progression to the
next step of the program.
step. Repeats the same
step program until the con-
ditions for progression to
the next step are estab-
lished.
Section 3-22
Duty factor: 25%
Function code
Page
008
910
009
910
Diagram
Corresponds
Corresponds
909

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Table of Contents