Approaching the relative Cartesian position manually with a linear motion
Description
The KRC_JogLinearRelative function block can be used to approach a Cartesian target position with a linear motion. The target position is relative to the current position.
The function is always executed in ABORTING mode, i.e. all active motions and buffered statements are canceled, the robot is braked and the linear motion is then executed.
Inputs
Parameter | Type | Description |
|---|---|---|
AxisGroupIdx | INT | Index of axis group
|
ExecuteCmd | BOOL | Starts/buffers the motion in the case of a rising edge of the signal. |
Position | E6POS | Distance between target position and current position. The target position is based on the current position. (>>> E6POS) The data structure E6POS contains all components of the target position (= position of the TCP relative to the origin of the selected coordinate system). |
Velocity | INT | Speed
Refers to the maximum value specified in the machine data. The maximum value is dependent on the robot type and refers to the value of DEF_VEL_CP of the robot system. Default: 0% (= speed is not changed) |
Acceleration | INT | Acceleration
Refers to the maximum value specified in the machine data. The maximum value is dependent on the robot type and refers to the value of DEF_ACC_CP of the robot system. Default: 0% (= acceleration is not changed) |
CoordinateSystem | COORDSYS | Coordinate system to which the Cartesian coordinates of the target position refer (>>> COORDSYS) |
OriType | INT | Orientation control of the TCP
(>>> OriType) |
Outputs
Parameter | Type | Description |
|---|---|---|
Busy | BOOL | TRUE = statement is currently being transferred or has already been transferred |
Active | BOOL | TRUE = motion is currently being executed |
Done | BOOL | TRUE = motion has stopped |
Aborted | BOOL | TRUE = statement/motion has been aborted |
Error | BOOL | TRUE = error in function block |
ErrorID | DINT | Error number |
OrderID | DINT | OrderID number |