Absolute linear positioning
With absolute positioning, the target position at input scCtrlCoordinatedMotion.alrSetPosDist[1..12] is specified as a unique absolute position in the specified coordinate system at input eCoordSystem. The distance to be travelled results from the distance between the current and the absolute target position. The approach to the target position is coordinated. All axes reach the target position simultaneously.
Prerequisite
-
The axis group and the axes are enabled (xReadyForMotion = TRUE).
-
The axes are referenced (xIsHomed = TRUE).
Execution
A rising edge (FALSEรคTRUE) at the scCtrlCoordinatedMotion.xMoveLinAbsExecute input starts a move to the absolute target position scCtrlCoordinatedMotion.alrSetPosDist[1..12] in the eCoordSystem coordinate system according to the parameters for the motion profile (see following table). The technology module changes to the MOVELINABS state.
With the setting of the input eCoordSystem the selection of the coordinate system to be used is defined. Depending on the selection of the coordinate system, the index in the array for setting the absolute target position scCtrlCoordinatedMotion.alrSetPosDist[1..12] is assigned differently.
|
eCoordSystem |
Index |
|
|---|---|---|
|
WCS (World Coordinate System) MCS (Machine Coordinate System) PCS_1 ... PCS_16 (Product Coordinate System (1 ... 16)) |
1 x-axis 2 y-axis 3 z-axis 4 a-axis 5 b axis 6 c axis |
7 Aux1 8 Aux2 9 Aux3 10 Aux4 11 Aux5 12 Aux6 |
|
ACS (Axes Coordinate System) |
1 A1 axis 2 A2 axis 3 A3 axis 4 A4 axis 5 A5 axis 6 A6 axis |
7 Aux1 8 Aux2 9 Aux3 10 Aux4 11 Aux5 12 Aux6 |
To reach the target position, the axis is guided to standstill via the lrPathDec parameter. The axis group comes to a standstill exactly in the target position.
After reaching the target position, the system switches back to the STANDBY state (scCtrlCoordinatedMotion. xMoveLinAbsExecute = FALSE).
The absolute target position cannot be changed during travel.
A positioning can be interrupted via xGroupAbort, xGroupHalt or xQSPApplication. Via xFinishPositioning the positioning can be continued and finished again, if the status xPathHold = TRUE is set.
Parameters to be set in scPar
-
lrPathVel, initial value: 3600 units/s
-
lrPathAcc, initial value: 36000 units/s2
-
lrPathDec, initial value: 36000 units/s2
-
lrPathJerk, initial value: 0 units/s3
For the calculation of the trajectory, the limitations of the Cartesian axes (x, y, z, a, b and c) are also taken into account in AXIS_REF.