SetGrvOffset
(Library)
[Version1.2 or later]
Compensates the torque of each joint programmed with SetGravity for gravity torque.
SetGrvOffset
Each joint of the robot undergoes downward static load (gravity torque) due to earth gravity. Although gravity compensation command SetGravity allows you to adjust the balance between the limited torque and gravity torque, the balance may be off-balance due to the difference between the mass of payload you set and the actual one.
This offset function presumes the gravity torque when the robot is on halt and calculates the gravity offset value.
Requires <pacman.h> file.
-
Write this command in a TAKEARMed task that has obtained arm-semaphore. If this command is executed without arm-semaphore obtained, Error 21F7 will result.
-
This command should be executed when the motor power is on and the robot is on halt. If it is executed when the motor power is off, Error 6006 will result. If it is executed when the robot is in motion, Error 600B will result.
-
If the robot attitude is greatly changed after execution of this command, execute this command again.
-
If the current limit reset value in User Preferences is set to any value other than "1", "3", "5", or "7", the compensation value will be reset to "0" when you turn on the motor power.
CALL SetGrvOffset
|
|