BASIC commands
PROGRAMMING MANUAL
137
Revi
si
on 3.0
3.2.238 SCOPE_POS
/i
3.2.239 SELECT
/i
3.2.240 SERVO
/i
3.2.241 SERVO_PERIOD
/i
Type
System parameter (read-only)
Syntax
SCOPE_POS
Description
The
SCOPE_POS
parameter contains the current TABLE position at which
the
SCOPE
command is currently storing its first parameter.
Arguments
N/A
Example
No example.
See also
SCOPE
.
Type
Program command
Syntax
SELECT "program_name"
Description
The
SELECT
command specifies the current program for editing, running, list-
ing, etc.
SELECT
makes a new program if the name entered does not exist.
The program name can also be specified without quotes.
When a program is selected, the commands
COMPILE
,
DEL
,
EDIT
,
LIST
,
NEW
,
RUN
,
STEPLINE
,
STOP
and
TROFF
will apply to the currently selected
program unless a program is specified in the command line. When another
program is selected, the previously selected program will be compiled. The
selected program cannot be changed when a program is running.
Note: This command is implemented for an offline (VT100) terminal. Trajexia
Tools automatically selects programs when you click on their entry in the list in
the control panel.
Arguments
N/A
Example
>> SELECT "PROGRAM"
PROGRAM selected
>> RUN
See also
COMPILE
,
DEL
,
EDIT
,
LIST
,
NEW
,
RUN
,
STEPLINE
,
STOP
,
TROFF
.
Type
Axis parameter
Syntax
SERVO
Description
The
SERVO
parameter determines whether the base axis runs under servo
control (
SERVO=ON
) or open loop (
SERVO=OFF
). In closed loop, the motion
control algorithm will output a speed reference signal determined by the con-
trol gain settings and the Following Error. The position of the servo motor is
determined using the Axis commands.
In open loop, the speed reference signal is completely determined by the
S_REF
axis parameter.
Arguments
N/A
Example
SERVO AXIS(0) = ON ' Axis 0 is under servo control
SERVO AXIS(1) = OFF ' Axis 1 is run open loop
See also
AXIS
,
FE_LIMIT
,
S_REF
,
S_REF_OUT
,
WDOG
.
Type
System parameter
Syntax
SERVO_PERIOD
Description
The
SERVO_PERIOD
parameter sets the servo cycle period of the TJ1-
MC__. The timing of the execution of the program tasks and the refreshing of
the control data and I/O of the Unit are all depending on this setting. The
parameter is defined in microseconds. The TJ1-MC__ can be set in either 0.5,
1.0 or 2.0ms servo cycle. See the table below.
Arguments
N/A
Example
No example.
See also
DRIVE_RESET
.
I52E-EN-03.book Seite 137 Freitag, 29. Juni 2007 11:55 11