MC_SEW_SelectUserMode

This function block switches the axis to a manufacturer-specific "UserMode". The "UserMode" can be used to trigger device functions for MOVI-C® axes for which there are no PLCopen function blocks. Function blocks that change the PLCopen state (e.g. MC_Power or MC_Move) cannot be used in this mode. In "UserMode", the axis (only MOVI-C® axis) can be controlled via FCBs.

VAR_IN_OUT

Variable name

Data type

Description

Axis

AXIS_REF

Reference to a logical device
(name of the logical device)

See also AXIS_REF.

VAR_INPUT

Variable name

Data type

Description

Enable

BOOL

Activate "UserMode".

DisabledMode

E_DisabledMode

Type of stop and inverter status in the not enabled state:

  • eInhibt := 1
  • eDefaultStop := 2
  • eApplicationStop := 13
  • eEmergencyStop := 14
VAR_OUTPUT

Variable name

Data type

Description

Done

BOOL

UserMode is active

Error

BOOL

An error has occurred in the function block

ErrorID

WORD

Error number

DeviceHandler

SEW_oIMC.SEW_IDH.IDeviceHandlerBaseV3

Basic interface for querying provider-specific interfaces