Runtype; S_Rate - Omron R88A-MCW151-DRT-E Operation Manual

Mcw151 series motion control option board
Table of Contents

Advertisement

Command, function and parameter description
See also:
Example:

6-3-166 RUNTYPE

Type:
Syntax:
Description:
Arguments:
See also:
Example:

6-3-167 S_RATE

Type:
Description:
Each task has its own RUN_ERROR parameter. Use the PROC modifier to
access the parameter for a certain task. Without PROC the current task will
be assumed.
Note This parameter is read-only.
BASICERROR, ERROR_LINE, PROC
>> PRINT RUN_ERROR PROC(5)
9.0000
Program Command
RUNTYPE " program_name ", auto_run [ , task_number ]
The RUNTYPE command determines whether the program, specified by
program_name, is run automatically at start-up or not and which task it is to
run on. The task number is optional, if omitted the program will run at the high-
est available task.
The current RUNTYPE status of each programs is displayed when a DIR
command is executed. If one program has compilation errors no programs will
be started at power up. To set the RUNTYPE using Motion Perfect, select
"Set Power-up mode" from the Program Menu.
Note The execution of the EPROM command is required to store the new
RUNTYPE settings into Flash memory. Otherwise the new settings will be lost
when the power is switched off.
program_name
The name of the program whose RUNTYPE is being set.
autorun
0
Running manually on command.
1
Automatically execute on power up. All non-zero values are consid-
ered as 1.
task_number
The number of the step on which to execute the program. Range: [1, 3].
AUTORUN, EPROM, EX
>> RUNTYPE progname,1,3
The above line sets the program "progname" to run automatically at start-up
on task 3.
>> RUNTYPE progname,0
The above line sets the program "progname" to manual running.
Axis Parameter
The S_RATE parameter contains the speed reference rate for the attached
Servomotor. This parameter is defined as the speed value in rounds per
minute which the Servomotor will move per reference unit.
Rotational Speed [RPM]
This parameter will apply to the following parameters: S_REF, S_REF_OUT,
OUTLIMIT, AIN2 (Servo Driver rotation speed data).
Note This parameter is read-only.
=
Speed Reference[1] S_RATE
Section 6-3
181

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

R88a-mcw151-e

Table of Contents