CDRFLEx.jog
Features
This is a function for executing the control of jog movement for each axis of the robot in the robot controller.
Parameter
Parameter Name | Data Type | Default Value | Description |
eJointAxis | enum.JOG_AXIS | - | Refer to the Definition of Constant and Enumeration Type |
eMoveReference | enum.MOVE_REFERENCE | - | Refer to the Definition of Constant and Enumeration Type |
fVelocity | float | - | jog Velocity (% Unit) +: Positive Direction 0: Stop -: Negative Direction |
Return
Value | Description |
0 | Error |
1 | Success |
Example
// Jogs at 60% speed in the positive direction based on the robot base
drfl.jog(JOG_AXIS_JOINT_1, MOVE_REFERENCE_BASE, 60.f);
// Stops
drfl.jog(JOG_AXIS_JOINT_1, MOVE_REFERENCE_BASE, 0.f);
// Jogs at 60% speed in the negative direction based on the robot base
drfl.jog(JOG_AXIS_JOINT_1, MOVE_REFERENCE_BASE, -60.f);
// Stops
drfl.jog(JOG_AXIS_JOINT_1, MOVE_REFERENCE_BASE, 0.f);