Skip to main content

7.17.3 MC_AxesCircularRelative

Function

This Function Block commands a controlled motion to a specified endpoint (relative to startpoint) for two axes with a circular path.

LD graphics

alt text

Parameter description

ParamertersTypeDeclarationDescriptionRemarks
A1AXISVAR_IN_OUTThe selected axis A1 to execute commandInvoke Function Block
A2AXISVAR_IN_OUTThe selected axis A2 to execute commandInvoke Function Block
ExecuteBOOLVAR_INStart the motion at rising edge
A1PostionLREALVAR_INCommanded relative position for Axis A11.User Unit.
2. Can't exceed the setting range in Axis Configuration.
3. Velocity is angular velocity, not for single axis.
A2PositionLREALVAR_INCommanded relative position for Axis A2
VelocityLREALVAR_INValue of the maximum velocity [u/s]. Can be a signed value.
AccelerationLREALVAR_INValue of the acceleration [u/s2].
DecelerationLREALVAR_INValue of the deceleration [u/s2].
JerkLREALVAR_INValue of the Jerk [u/s3].
BufferModeUSINTVAR_INDefines the chronological sequence of the FB.
0: aborting an ongoing motion immediately (default).1: affects the axis as soon as the previous movement is 'Done'
ProfileUSINTVAR_IN0: move with a circular path (path is defined by A1CurrentPosition/A2CurrentPosition, A1Position/A2Position and Radius).
1: move with a circular path (path is defined by A1CurrentPosition/A2CurrentPosition, A1Position/A2Position and A1Offset/A2Offset)
RadiusLREALVAR_INValue of arc radius (u).used for Profile = 0 only1. User Unit.
2. Can't exceed the setting range in Axis Configuration.
A1OffsetLREALVAR_INOffset value of circular center (compare with A1 current position).used for Profile = 1 only
A2OffsetLREALVAR_INOffset value of circular center (compare with A2 current position).used for Profile = 1 only
DirectionUSINTVAR_IN0: move in clock-wise direction
1: move in counter clock-wise direction
DoneBOOLVAR_OUTCommanded position reached
BusyBOOLVAR_OUTTrue: The FB is not finished
ActiveBOOLVAR_OUTIndicates the FB has control on the axis1. If non buffer-mode, Active is set when the FB is executed and reset when the FB is done.
2. If buffer-mode, Active is set when the FB has control on the axis
CommandAbortedBOOLVAR_OUT'Command' is aborted by another command
ErrorBOOLVAR_OUTSignals that an error has occurred within the FB
ErrorIDWORDVAR_OUTError IDNOTE: FB Shall report an error if can't plan an arc path.