MDI_Power (FB)

FUNCTION_BLOCK MDI_Power

This function block is used to enable or disable an axis. The enable input enables the power stage in the drive and not the function block itself.

InOut:

Scope

Name

Type

Initial

Comment

Input

Enable

BOOL

FALSE

Whilst true the PLC will request the axis to be enabled.

EnablePosNeg

BOOL

TRUE

Whilst true motion in both directions is permitted. If false motion is prevented (or a stop is performed if motion is already in progress), ACS only use, NA for E530.

Inout

Axis

MDI_AxisRef

Reference to the axis structure.

Output

Status

BOOL

Indicates whether the axis is enabled (1) or not (0).

Error

BOOL

Signals that an error has occurred within function block.

ErrorID

ERROR_ID

Contains the error code when there is an error.