L_MC4P_MoveEllipticalAbsolute
This FB is used to carry out a travel for an axes group along an elliptic path towards an absolute position in the specified coordinates system.
- In case of the ellipse interpolation, an absolutely given target position alrEndPoint is approached on an ellipse arc. The starting position is the target position of the FB instructed last or the current position if the axes group is in the "GroupStandby" state.
-
The ellipse is programmed via the
alrAuxPoint
centre and
alrEndPoint
end point.
For the MC_MoveCircularAbsolute FB, this corresponds to the programming viaCircMode := L_MC4P_CircMode.Center; -
This programming is currently not supported:
CircMode := L_MC4P_CircMode.Border - Ellipse arcs with 180° and 360° must be composed of several commands.
- For defining the ellipse arc, the end point and centre must be defined as absolute positions.
- For a clear description of the ellipse geometry, the dimensions of the two lrSemiMajorAxis semi-axes (semi-major axis of the ellipse) and lrSemiMinorAxis (semi-minor axis of the ellipse) have to be given.
- After the target positions have been reached, the axes group is in the "GroupStandby" state if no further motion commands are pending.
|
Danger!
All paths have to be first tested with override or in the simulation mode with virtual axes! |
|
Note!
Cartesian path movements can only be executed if all drive axes are referenced to the zero positions defined in the " Supported kinematics " section. |
|
|
|
|
L_MC4P_MoveEllipticalAbsolute |
|
|
|
|
|---|---|---|---|---|---|---|---|
|
AXES_GROUP_KIN |
- |
|
AxesGroup |
AxesRef |
|
- |
AXES_GROUP_KIN |
|
BOOL |
- |
|
xExecute |
xDone |
|
- |
BOOL |
|
ARRAY [1..12] OF LREAL |
- |
|
alrAuxPoint |
xBusy |
|
- |
BOOL |
|
ARRAY [1..12] OF LREAL |
- |
|
alrEndPoint |
xActive |
|
- |
BOOL |
|
LREAL |
- |
|
lrSemiMajorAxis |
xCommandAborted |
|
- |
BOOL |
|
LREAL |
- |
|
lrSemiMinorAxis |
xError |
|
- |
BOOL |
|
MC_CIRC_PATHCHOICE |
|
|
ePathChoice |
xErrorID |
|
- |
L_IE1P_Error |
|
LREAL |
- |
|
lrVelocity |
|
|
|
|
|
LREAL |
- |
|
lrAcceleration |
|
|
|
|
|
LREAL |
- |
|
lrDeceleration |
|
|
|
|
|
LREAL |
- |
|
lrJerk |
|
|
|
|
|
L_MC4P_CoordSystem |
- |
|
eCoordSystem |
|
|
|
|
|
MC_BUFFER_MODE |
- |
|
eBufferMode |
|
|
|
|
|
MC_TRANSITION_MODE |
- |
|
eTransitionMode |
|
|
|
|
|
ARRAY [ 1..12 ] OF LREAL |
- |
|
alrTransitionParameter |
|
|
|
|
|
ARRAY [1..6] OF
|
- |
|
aeAuxMode |
|
|
|
|
|
L_MC4P_Orientation_Mode |
- |
|
eOrientationMode |
|
|
|
|
|
ARRAY[4..6] OF MC_DIRECTION |
- |
|
aeDirection |
|
|
|
|
|
|
|
|
|
|
|
|
|
Inputs
|
Name Data type |
Information/possible settings |
|
|---|---|---|
|
AxesGroup AXES_GROUP_KIN |
axes group reference |
|
|
xExecute BOOL |
FALSE ä TRUE |
Start execution of the function block |
|
alrAuxPoint ARRAY [1..12] OF LREAL |
Array with absolute centre position in [unit] for each dimension in the specified coordinate system Note: In the case of alrAuxPoint , only the position (X, Y, Z) is used for calculating the ellipse geometry. alrAuxPoint has no influence on the interpolation of the orientation axes and the auxiliary axes. |
|
|
alrEndPoint ARRAY [1..12] OF LREAL |
Array with absolute end point coordinates in [unit] for each dimension in the specified coordinate system.
Target point of the ellipse |
|
|
lrSemiMajorAxis LREAL |
Semi-major axis of the ellipse |
|
|
lrSemiMinorAxis LREAL |
Semi-minor axis of the ellipse |
|
|
ePathChoice |
Passage direction (Cw / Ccw)
|
|
|
lrVelocity LREAL |
Maximum velocity in [unit/s] for approaching the target position
|
|
|
lrAcceleration LREAL |
Maximum acceleration in [unit/s 2 ] |
|
|
lrDeceleration LREAL |
Maximum deceleration in [unit/s 2 ] |
|
|
lrJerk LREAL |
Maximum jerk in [unit/s 3 ] |
|
|
eCoordSystem |
Selection of the coordinate system to be used:
|
|
|
eBufferMode |
Mode for processing successive motion commands |
|
|
eTransitionMode |
Mode for the path behaviour at the motion end |
|
|
alrTransitionParameter ARRAY [1..12] OF LREAL |
Description of the alrTransitionParameter parameter Parameters for "Overloops" Only relevant if eTransitionMode = TMCornerDistance has been selected. * alrTransitionParameter[1]
* alrTransitionParameter[2]
* alrTransitionParameter[3..12]
|
|
|
aeAuxMode ARRAY [1..6] OF L_MC4P_AuxMode |
Mode for the auxiliary axes:
|
|
|
eOrientationMode L_MC4P_Orientation_Mode |
Specification of the orientation interpolation for the WCS axes
See also: Direction selection for Modulo axes |
|
|
aeDirection ARRAY[4..6] OF MC_DIRECTION |
Direction select for orientation axes (WCS axes) parameterised as "Modulo". The input is only evaluated with
Index 4 ... 6: Main axes A, B, C Permitted selection:
Modes mcCurrentDirection , mcPositiveCycle and mcNegativeCycle are not supported. See also: Direction selection for Modulo axes |
|
Outputs
|
Name Data type |
Value/meaning |
|
|---|---|---|
|
xDone BOOL |
TRUE |
Positioning completed successfully. |
|
xBusy BOOL |
TRUE |
Processing is running.
|
|
xActive BOOL |
TRUE |
The command of the FB is currently executed. |
|
xCommandAborted BOOL |
TRUE |
The command was aborted by another FB. |
|
xError BOOL |
TRUE |
An error has occurred. For details see ErrorID . |
|
eErrorID |
If Error = TRUE: Error number for the error that has occurred.
|
|
Coordinate systems and transformations