L_MC1P_SafetyControlDecoder

This FB is used for decoding the control word (0x2870/1) provided by the safety technology of the lower-level drive via the safety functions requested into individual boolean signals.

Note!

The control word is provided to the application via the L_MC1P_SafetyReadStatusWords FB.

 

 

 

L_MC1P_SafetyControlDecoder

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

DWORD

-

dwControl

eErrorID

-

L_IE1P_Error

xSTO_Active

-

BOOL

xSS1_Active

-

BOOL

xSS2_Active

-

BOOL

xSOS_Active

-

BOOL

xSLS1_Active

-

BOOL

xSLS2_Active

-

BOOL

xSLS3_Active

-

BOOL

xSLS4_Active

-

BOOL

xSDIpos_Active

-

BOOL

xSDIneg_Active

-

BOOL

xSLI_Active

-

BOOL

xSSE_Active

-

BOOL

xES_Active

-

BOOL

xOMS_Active

-

BOOL

xRMS_Active

-

BOOL

xSBC_Active

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

Axis

AXIS_REF

Transfer of the axis data structure

Motion axes (AXIS_REF)

xEnable

BOOL

TRUE

Activate function block

dwControl

DWORD

TRUE

SafetyInterface Controlword (0x2870/1)

Outputs

Name

Data type

Value/meaning

xBusy

BOOL

TRUE

Processing is running.

xError

BOOL

TRUE

An error has occurred. For details see eErrorID .

eErrorID

If xError = TRUE: Error number for the error that has occurred.

xSTO_Active

BOOL

Bit 0

Safe torque off (STO)

xSS1_Active

BOOL

Bit 1

Safe stop 1 (SS1)

xSS2_Active

BOOL

Bit 2

Safe stop 2 (SS2)

xSOS_Active

BOOL

Bit 3

Safe operational stop (SOS)

xSLS1_Active

BOOL

Bit 4

Safely limited speed 1 (SLS1)

xSLS2_Active

BOOL

Bit 5

Safely limited speed 2 (SLS2)

xSLS3_Active

BOOL

Bit 6

Safely limited speed 3 (SLS3)

xSLS4_Active

BOOL

Bit 7

Safely limited speed 4 (SLS4)

xSDIpos_Active

BOOL

Bit 8

Safe positive direction of movement (SDIpos)

xSDIneg_Active

BOOL

Bit 9

Safe negative direction of movement (SDIneg)

xSLI_Active

BOOL

Bit 10

Safely limited increment (SLI)

xSSE_Active

BOOL

Bit 11

Emergency stop (SSE)

xES_Active

BOOL

Bit 12

Enable switch (ES)

xOMS_Active

BOOL

Bit 13

Operation mode selector (OMS)

xRMS_Active

BOOL

Bit 14

Repair operation (RMS)

xSBC_Active

BOOL

Bit 15

Safe brake control (SBC)