L_MC1P_SafetyStateDecoder

This FB is used for decoding the status word (0x2870/2) provided by the safety technology of the lower-level drive into individual boolean signals.

Note!

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

 

 

 

L_MC1P_SafetyStateDecoder

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

DWORD

-

dwState

eErrorID

-

L_IE1P_Error

xSLS1_Observed

-

BOOL

xSLS2_Observed

-

BOOL

xSLS3_Observed

-

BOOL

xSLS4_Observed

-

BOOL

xSMS_Observed

-

BOOL

xSSM_WithinLimits

-

BOOL

xSDIpos_Observed

-

BOOL

xSDIneg_Observed

-

BOOL

xSLP1_Observed

-

BOOL

xSLP2_Observed

-

BOOL

xSLP3_Observed

-

BOOL

xSLP4_Observed

-

BOOL

xSCA1_WithinLimits

-

BOOL

xSCA2_WithinLimits

-

BOOL

xSCA3_WithinLimits

-

BOOL

xSCA4_WithinLimits

-

BOOL

xPDSSpos_Observed

-

BOOL

xPDSSneg_Observed

-

BOOL

xSOS_Observed

-

BOOL

xSBC_Activated

-

BOOL

xSHom_Active

-

BOOL

xSafeSpeed_OK

-

BOOL

xSpeedEq0

-

BOOL

xPosDirection

-

BOOL

xSlipGT25

-

BOOL

xSlipGT50

-

BOOL

xSlipGT75

-

BOOL

xErrorActive

-

BOOL

 

 

 

 

 

 

 

 

Inputs

Name

Data type

Information/possible settings

xEnable

BOOL

TRUE

Activate function block

dwState

DWORD

TRUE

SafetyInterface Statusword (0x2870/2)

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.

xSLS1_Observed

BOOL

Bit 0

Safely limited speed 1 (SLS1) is activated and maintained.

xSLS2_Observed

BOOL

Bit 1

Safely limited speed 2 (SLS2) is activated and maintained.

xSLS3_Observed

BOOL

Bit 2

Safely limited speed 3 (SLS3) is activated and maintained.

xSLS4_Observed

BOOL

Bit 3

Safely limited speed 4 (SLS4) is activated and maintained.

xSMS_Observed

BOOL

Bit 4

Safe maximum speed is activated and maintained

xSSM_WithinLimits

BOOL

Bit 5

Safe speed monitor within the limits

xSDIpos_Observed

BOOL

Bit 6

Safe positive direction of movement (SDIpos) is activated and maintained

xSDIneg_Observed

BOOL

Bit 7

Safe negative direction of movement (SDIneg) is activated and maintained

xSLP1_Observed

BOOL

Bit 8

Safely limited position 1 (SLP1) is activated and maintained.

xSLP2_Observed

BOOL

Bit 9

Safely limited position 2 (SLP2) is activated and maintained.

xSLP3_Observed

BOOL

Bit 10

Safely limited position 3 (SLP3) is activated and maintained.

xSLP4_Observed

BOOL

Bit 11

Safely limited position 4 (SLP4) is activated and maintained.

xSCA1_WithinLimits

BOOL

Bit 12

Safe cam 1 within limits

xSCA2_WithinLimits

BOOL

Bit 13

Safe cam 2 within limits

xSCA3_WithinLimits

BOOL

Bit 14

Safe cam 3 within limits

xSCA4_WithinLimits

BOOL

Bit 15

Safe cam 4 within limits

xPDSSpos_Observed

BOOL

Bit 16

Position-dependent safe speed in positive direction monitored

xPDSSneg_Observed

BOOL

Bit 17

Position-dependent safe speed in negative direction monitored

xSOS_Observed

BOOL

Bit 18

Safe operational stop monitored

xSBC_Activated

BOOL

Bit 19

Safe brake control activated

xSHom_Active

BOOL

Bit 20

Safe homing active

xSHom_Available

BOOL

Bit 21

Safe reference available

xSafeSpeed_OK

BOOL

Bit 22

Safe speed OK

xSpeedEq0

BOOL

Bit 23

Speed = 0

xPosDirection

BOOL

Bit 24

Positive direction of movement

xSlipGT25

BOOL

Bit 25

Slip > 25%

xSlipGT50

BOOL

Bit 26

Slip > 50%

xSlipGT75

BOOL

Bit 27

Slip > 75%

xErrorActive

BOOL

Bit 31

Fault