MC_MoveCircRel
Function Block - Commands interpolated circular movement on an axes group to the specified relative positions in the coordinate system as specified by the CoordSystem argument.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Execute |
BOOL |
FALSE, TRUE |
N/A |
No default |
On the rising edge, request to perform a circular relative move. |
||||||||
|
AxesGroup |
No range |
N/A |
No default |
The axis group that performs the circular relative move. |
|||||||||
|
CircMode |
SINT |
Enumerated |
N/A |
No default |
|
||||||||
|
AuxPoint |
LREAL[ ] |
Dimension: The number of axes mapped in the AxesGroup. No range |
N/A |
No default |
Required Precision
Description
|
||||||||
|
EndPoint |
LREAL[ ] |
Dimension: The number of axes mapped in the AxesGroup. No range |
N/A |
No default |
Required Precision
Description Array of relative end positions for each axis in the group. |
||||||||
|
PathChoice |
SINT |
Enumerated |
N/A |
No default |
|
||||||||
|
Velocity |
LREAL |
0 < Velocity < (20 * Acceleration) and |
User unit/sec |
No default |
|
||||||||
|
Acceleration |
LREAL |
Acceleration > (Velocity / 20) |
User unit/sec2 |
No default |
|
||||||||
|
Deceleration |
LREAL |
Deceleration > (Velocity / 20) |
User unit/sec2 |
No default |
|
||||||||
|
Jerk |
LREAL |
Trapezoidal velocity profiles: S-Curve velocity profiles: |
User unit/sec3 |
No default |
|
||||||||
|
CoordSystem |
SINT |
Enumerated |
N/A |
No default |
The coordinate system used when commanding the circular relative move.
One of these enumeration values:
|
||||||||
|
BufferMode |
SINT |
Enumerated |
N/A |
No default |
Defines the chronological sequence of the function block relative to the previous block.
|
||||||||
|
TransitionMode |
SINT |
Enumerated |
N/A |
No default |
|
||||||||
|
TransitionParameter |
LREAL[ ] |
Dimension: 1 to N No range |
N/A |
No default |
This array is dependent on the specified TransitionMode.
|
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Done |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, the command completed successfully. |
|
Busy |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, the function block is executing. |
|
Active |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, the function block is controlling motion. |
|
CommandAborted |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, the command was aborted by another function block. |
|
Error |
BOOL |
FALSE, TRUE |
N/A |
If TRUE, an error has occurred. |
|
ErrorID |
INT |
Enumerated |
N/A |
|
Remarks
- See Coordinated Motion, the top-level topic for Coordinated Motion.
- See Circular Moves Diagrams about movement options.
- An error is returned if the group is in the GroupDisabled state.
- When all motion has completed successfully, the axes group state is GroupStandby.
-
-
- Circular motion is only supported for axes groups with only two attached axes.
Figure 1: MC_MoveCircRel
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Inst_MC_MoveCircRel( ExecuteMove, Group1_Ref, MC_CIRC_MODE_BORDER, AuxPoints, EndPoints, CIRC_PATH_CLKWISE, Velocity, Acceleration, Deceleration, Jerk, CS_ACS, BM_ABORTING, TM_NONE, TransitionParams );
See Also







