MC_AccelerationProfile (FB)

 

FUNCTION_BLOCK MC_AccelerationProfile

Warning

MC_MoveSuperimposed is not supported on top of MC_Acceler­ationProfile.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_SM3

Reference to axis

TimeAcceleration

MC_TA_REF

Reference to time/acceleration description

Input

Execute

BOOL

FALSE

Rising edge: Starts the execution of the function block.

ArraySize

INT

0

Dimension of the array

AccelerationScale

LREAL

1

Overall acceleration scaling factor [t.u.]

Offset

LREAL

0

Overall offset for the profile in [u]

Output

Done

BOOL

FALSE

TRUE: Profile has been completed.

Busy

BOOL

FALSE

TRUE: Execution of the function block has not been finished.

CommandAborted

BOOL

FALSE

TRUE: The command has been aborted by another command.

Error

BOOL

FALSE

TRUE: Error has occurred within the function block.

ErrorID

SMC_ERROR

0

Error identification