Parker Automation Gemini GV6K Command Reference Manual page 255

Servo drive/controller
Table of Contents

Advertisement

When Should I Define Scaling Factors?
Scaling calculations are performed when a program is defined or downloaded. Consequently, you must
enable scaling (
) and define the scaling factors (
SCALE1
(
), uploading (
), or running (
DEF
TPROG
RECOMMENDATION: Place the scaling commands at the beginning of your program file, before the
location of any defined programs. This ensures that the motion parameters in subsequent programs in
your program file are scaled correctly. When you use Motion Planner's scaling setup wizard, the
scaling commands are automatically placed in the appropriate location in your program file.
ALTERNATIVE: Scaling factors could be defined via a terminal emulator just before defining or
downloading a program. Because scaling command values are saved in battery-backed RAM
(remembered after you issue a
program definitions and downloads will be scaled correctly.
RESTRICTIONS: Scaling commands are not allowed in a program. If there are scaling commands in
a program, the drive will report an error message ("
the program is downloaded. If you intend to upload a program with scaled motion parameters, be sure
to use Motion Planner. Motion Planner automatically uploads the scaling parameters and places them
at the beginning of the program file containing the uploaded program from the drive. This assures
correct scaling when the program file is later downloaded.
Units of Measure without Scaling (Scaling is disabled (
• Stepper axes: All distance values entered are in commanded counts (sometimes referred to as motor
steps), and all acceleration, deceleration and velocity values entered are internally multiplied by the
DRES command value.
• Servo axes:
Motion Attribute Encoder
Accel/Decel
Velocity
Distance
*
All accel/decel & velocity values are internally multiplied by the ERES command value.
** Distance is measured in the counts received from the feedback device.
Refer to page 16.
SCALING EXAMPLES:
[ SCAN ]
PLC Scan Runtime
Type
PLC Scan Program; Assignment or Comparison
Syntax
See below
Units
n/a
Range
n/a
Default
n/a
Response
n/a
See Also
PLCP, SCANP, TSCAN
Use the
operand to assign the PLCP runtime (the duration it took the last PLCP program scan to
SCAN
complete) to a variable, or to make a comparison against another value. A compiled PLCP program is
launched into Scan mode using the
scanned until 30 segments have been executed. If the PLCP program takes more than 30 segments to
complete, the program will be paused and then resumed at the next 2 ms system update. The
in multiples of the 2 ms system update period.
Example:
SCANP PLCP1
; Start execution of compiled PLCP program 1 in Scan mode
VARI1=SCAN
; Assign the duration of the last scan to integer variable VARI1
,
SCLD
SCLA
or
) the program.
RUN
PRUN
command or cycle power to the Gem6K product), all subsequent
RESET
COMMAND NOT ALLOWED IN PROGRAM
SCALEØ
Units of Measure
Revs/sec/sec *
Revs/sec *
Counts **
command. During each 2 ms update, the PLCP program is
SCANP
www.comoso.com
,
,
) prior to defining
SCLV
SCLMAS
) as the factory default condition):
Product
GT6K
GV6K
SCAN
Command Descriptions
") when
Rev
6.0
6.0
value is
253

Advertisement

Table of Contents
loading

This manual is also suitable for:

Gemini gt6k

Table of Contents