MC_PositionProfile (FB)
FUNCTION_BLOCK MC_PositionProfile
This function block commands a time-position locked motion profile.
MC_TProfile is an ABB specific data type.
This functionality does not mean it runs one profile over and over again: It can shift between different profiles.
Alternatively to this function block, the CAM function block coupled to a virtual master can be used.
- Example of Time/Position Profile
Note
The Time / Velocity and Time / Acceleration Profiles are similar to the Position Profile, with sampling points on the Velocity or Acceleration lines.
Note
Number_Of_Pairs input should always have equal to or less than actual pairs defined in TimePosition input
- InOut:
Scope
Name
Type
Initial
Comment
Input
ExecuteBOOLStarts the function block at rising edge
TimeScaleLREAL1
Overall time scaling factor of the profile. Range: >0
PositionScaleLREAL1
Overall Position scaling factor. Range: PositionScale <> 0
OffsetLREAL0
Overall offset for profile, the profile result will be increased by Offset
Number_Of_PairsINTNumber of sampling points, elements in TimePosition array. Range: >=2
IsAbsoluteBOOLUse absolute position values from profile. TRUE = Profile holds absolute position values
iType- Type of interpolation. Possible values are:
MCA_SPLINE_COMPLETE
MCA_SPLINE_NATURAL
MCA_POLY5
MCA_POLY3
MCA_LINEAR
TimePositionPOINTER TO MC_TProfile
- Reference to Time/Position. MC_TProfile is an ABB specific data type
IsAbsolute = TRUE, interpolation_point = Actual position IsAbsolute = FALSE, interpolation_point = 0
BufferModeNot supported, default mcABORTING used
Output
DoneBOOLShows the status of the function block. Done = TRUE if the execution is finished
BusyBOOLThe function block is not finished
ActiveBOOLIndicates that the function block has control on the axis
CommandAbortedBOOLCommand is aborted by another command from other PLCopen function block
ErrorBOOLSignals that error has occurred within function block
ErrorIDError identification. For error details refer to Enumeration ERROR_ID
Inout
AxisReference to axis