![background image](http://html1.mh-extra.com/html/omron/sysmac-cj-series/sysmac-cj-series_operation-manual_743585092.webp)
Categories
Section 4-1
80
4-1-8
Program control commands
/i
4-1-9
Slot parameters and modifiers
/i
RENAME
Changes the name of a program in the motion
controller.
RUN
Executes a program.
RUNTYPE
Determines if a program is run at start-up, and
which task it is to run on.
SELECT
Specifies the current program.
STEPLINE
Executes a single line in a program.
STOP
Halts program execution.
TROFF
Suspends a trace at the current line and resumes
normal program execution.
TRON
Creates a breakpoint in a program.
Name
Description
Name
Description
FOR..TO..STEP..NEXT
Loop allows a program segment to be repeated with
increasing/decreasing variable.
GOSUB..RETURN
Jumps to a subroutine at the line just after label. The pro-
gram execution returns to the next instruction after a
“RETURN” on page 234 is given.
GOTO
Jumps to the line containing the label.
IF..THEN..ELSE..ENDIF
Controls the flow of the program base on the results of the
condition.
ON.. GOSUB
or
ON..
GOTO
Enables a conditional jump to one of several labels.
REPEAT..UNTIL
Loop allows the program segment to be repeated until the
condition becomes “TRUE” on page 256.
WHILE..WEND
Loop allows the program segment to be repeated until the
condition becomes
FALSE
.
Name
Description
ALL
Is a modifier that specifies that all items in the controller
are concerned.
FPGA_VERSION
Returns the FPGA version.
Содержание SYSMAC CJ Series
Страница 2: ......
Страница 70: ...Specifications Section 2 4 58...
Страница 84: ...FINS commands Section 3 4 72...
Страница 148: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...Section 265 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 370: ...Section 358...