![background image](http://html1.mh-extra.com/html/omron/sysmac-cs-series/sysmac-cs-series_reference-manual_742030948.webp)
908
Step Instructions
Section 3-22
Flags
Example
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%.
3-22 Step Instructions
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.
In CS/CJ-series PLCs, STEP(008)/SNXT(009) can be used together to create
step programs.
Name
Label
Operation
Error Flag
ER
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.
@PWM
#0000
#07D0
#0032
000000
@PWM
#0000
#07D0
#0019
000001
CIO 000000 ON
CIO 000001 ON
Pulse output 0
Frequency: 200.0 Hz
Duty factor: 50%
Pulse output 0
Frequency: 200.0 Hz
Duty factor: 25%
Duty factor: 50%
Duty factor: 25%
Instruction
Mnemonic
Function code
Page
STEP DEFINE
STEP
008
909
STEP START
SNXT
009
909
Instruction
Operation
Diagram
SNXT(009): STEP START
Controls progression to the
next step of the program.
Corresponds
STEP(008): STEP DEFINE Indicates the start of a
step. Repeats the same
step program until the con-
ditions for progression to
the next step are estab-
lished.
Corresponds
Содержание SYSMAC CS Series
Страница 2: ......
Страница 4: ...iv ...
Страница 30: ...xxx ...
Страница 186: ...146 List of Instructions by Function Code Section 2 4 ...
Страница 194: ...154 3 35 4 MOVE BIT MOVBC 568 1273 3 35 5 BIT COUNTER BCNTC 621 1275 3 35 6 GET VARIABLE ID GETID 286 1277 ...
Страница 1320: ...1280 Model Conversion Instructions Unit Ver 3 0 or Later Section 3 35 ...
Страница 1390: ...1350 CJ series Instruction Execution Times and Number of Steps Section 4 2 ...
Страница 1391: ...1351 Appendix A ASCII Code Table ASCII SP Four leftmost bits Four rightmost bits ...
Страница 1392: ...1352 ASCII Code Table Appendix A ...
Страница 1404: ...1364 Revision History ...