![background image](http://html1.mh-extra.com/html/omron/trajexia-cj1w-mch72/trajexia-cj1w-mch72_operation-manual_742454262.webp)
All BASIC commands
Section 4-2
251
4-2-232 STEPLINE
/i
4-2-233 STOP
/i
Example
Two axes are set up as X and Y but the axes ' steps per mm are not the
same. Interpolated moves require identical UNITS values on both axes
in order to keep the path speed constant and for MOVECIRC to work
correctly. The axis with the lower resolution is changed to match the
higher step resolution axis so as to maintain the best accuracy for both
axes.
' Axis 0: 500 counts per mm (31.25 steps per mm)
' Axis 1: 800 counts per mm (50.00 steps per mm)
BASE(0)
STEP_RATIO(500,800)
UNITS = 800
BASE(1)
UNITS = 800
See also
N/A
Type
Program command
Syntax
STEPLINE [ "program_name" [ , task_number ]]
Description
The
STEPLINE
command executes one line (i.e., "steps") in the pro-
gram specified by
program_name
. The program name can also be
specified without quotes. If
STEPLINE
is executed without program
name on the command line the current selected program will be
stepped. If
STEPLINE
is executed without program name in a program
this program will be stepped.
If the program is specified then all occurrences of this program will be
stepped. A new task will be started when there is no copy of the pro-
gram running. If the task is specified as well then only the copy of the
program running on the specified task will be stepped. If there is no
copy of the program running on the specified task then one will be
started on it.
Arguments
•
program_name
The name of the program to be stepped.
•
task_number
The number of the task with the program to be stepped. Range:
[1,14].
Example
>> STEPLINE "conveyor"
Example
>> STEPLINE "maths",2
See also
RUN
,
SELECT
,
STOP
,
TROFF
,
TRON
.
Type
Program command
Syntax
STOP [ "program_name" [ , task_number ]
Description
The
STOP
command will halt execution of the program specified with
program_name
. If the program name is omitted, then the currently
selected program will be halted. The program name can also be speci-
fied without quotes.
In case of multiple executions of a single program on different tasks the
task_number
can be used to specify the specific task to be stopped.
Содержание trajexia CJ1W-MCH72
Страница 69: ...Specifications Section 2 4 58...
Страница 83: ...FINS commands Section 3 4 72...
Страница 147: ...All BASIC commands Section 4 2 136 AXIS 1 AXIS 0...
Страница 277: ...All BASIC commands Section 4 2 266...
Страница 278: ...267 SECTION 5 Examples This chapter gives 2 categories of examples and tips How to s Practical examples...
Страница 371: ...360 Index...
Страница 373: ...362...