![background image](http://html2.mh-extra.com/html/qkm/ah20/ah20_user-manual_3063992100.webp)
Document Version V1.0.1 (11-14-2022) 85
the index number of the robot and its type is Integer; value is the speed value of
the robot system, it is a global variable ranged from 0 to 100, and its type is
double.)
Example 1: Robot.Speed 1,10 // Set the speed of the first robot to
10
Example 2: Robot.Speed 1 // Return to [ 0 10] Note: Set the
speed of the first robot to 10
6.7.3
Speed adjustment during motion
Method of adjusting the speed of a certain point in the process of robot motion
(send a macro instruction):
Step 1
Enter Profile [profileName] = [Speed, Speed2, Accel, Decel, AccelRamp,
DecelRamp, InRange, Type] in the instruction editing area on the macro
language interface to create a new name of robot speed and assign
values to its parameters.
profileName is the name of objects for motion parameters.
Speed / Speed2 / Accel / Decel / AccelRamp / DecelRamp /
InRange / Type respectively represents the information on
speed. For details about parameters, please refer to the
"QKM Robot Instruction Manual". (If one of the parameters
is not assigned a value, it is represented by "0" or a space.)
For example, Profile prof2 = 80,0,80,80,0.1,0.1 // Create an object
named prof2 and assign a value
to the parameter.