MC_Jog (FB)

 

FUNCTION_BLOCK MC_Jog

MC_Jog causes a continuous motion on the axis.

InOut:

Scope

Name

Type

Initial

Comment

Inout

Axis

AXIS_REF_SM3

Reference to axis

Input

JogForward

BOOL

TRUE: Axis is moved with the specified dynamic values Velocity, Acceleration, Deceleration and Jerk in a positive direction.

No motion is executed if JogBackward is TRUE at the same time.

JogBackward

BOOL

TRUE: Axis is moved with the specified dynamic values Velocity, Acceleration, Deceleration and Jerk in a negative direction.

No motion is executed if JogForward is TRUE at the same time.

Velocity

LREAL

Velocity in [u/s]

Acceleration

LREAL

Acceleration in [u/s²]

Deceleration

LREAL

Deceleration in [u/s²]

Jerk

LREAL

Jerk in [u/s³]

Output

Busy

BOOL

FALSE

TRUE: Function block is in operation during an active motion after JogForward or JogBackward has been set.

FALSE: Axis has been decelerated to velocity value zero after JogForward or JogBackward has been set to FALSE.

CommandAborted

BOOL

FALSE

TRUE: Execution is interrupted by another function block instance operating on Axis.

CommandAborted remains set as long as JogFor­ward or JogBackward has been set but for at least one cycle`.

Error

BOOL

TRUE: Error has occurred while JogForward or JogBackward has been set for at least one cycle.

ErrorId

SMC_Error

Error identification