L_MC1P_SafetyIOStateDecoder

This FB is used for decoding the IO status word (0x2870/3) 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_SafetyIOStateDecoder

 

 

 

AXIS_REF

-

Axis

xBusy

-

BOOL

BOOL

-

xEnable

xError

-

BOOL

DWORD

-

dwIOState

eErrorID

-

L_IE1P_Error

xSDIn1

-

BOOL

xSDIn2

-

BOOL

xSDIn3

-

BOOL

xSDIn4

-

BOOL

xAIS_DigIn

-

BOOL

xAIE_DigIn

-

BOOL

xIRS_DigIn

-

BOOL

xIRL_DigIn

-

BOOL

xAIS_SBus

-

BOOL

xAIE_SBus

-

BOOL

xSHomStart_SBus

-

BOOL

xSHomLoad_SBus

-

BOOL

xSDOut1

-

BOOL

xSDIn1A

-

BOOL

xSDIn1B

-

BOOL

xSDIn2A

-

BOOL

xSDIn2B

-

BOOL

xSDIn3A

-

BOOL

xSDIn3B

-

BOOL

xSDIn4A

-

BOOL

xSDIn4B

-

BOOL

xSDOut1A

-

BOOL

xSDOut1B

-

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.

xSDIn1

BOOL

Bit 0

Safe input 1 in the ON state

xSDIn2

BOOL

Bit 1

Safe input 2 in the ON state

xSDIn3

BOOL

Bit 2

Safe input 3 in the ON state

xSDIn4

BOOL

Bit 3

Safe input 4 in the ON state

xAIS_DigIn

BOOL

Bit 4

Restart acknowledgement AIS via terminal (with TRUE æ FALSE).

xAIE_DigIn

BOOL

Bit 5

Error acknowledgement AIE via terminal (with TRUE æ FALSE).

xIRS_DigIn

BOOL

Bit 6

Start safe homing via terminal

xIRL_DigIn

BOOL

Bit 7

Load safe home position via terminal

xAIS_SBus

BOOL

Bit 8

AIS restart acknowledgement via safety bus has been executed

xAIE_SBus

BOOL

Bit 9

AIE error acknowledgement via safety bus has been executed

xSHomStart_SBus

BOOL

Bit 10

Start safe homing via safety bus

xSHomLoad_SBus

BOOL

Bit 11

Load safe home position via safety bus

xSDOut1

BOOL

Bit 12

Safe output 1 (feedback output) in the ON state.

xSDIn1A

BOOL

Bit 16

Safe input 1 channel A in the ON state

xSDIn1B

BOOL

Bit 17

Safe input 1 channel B in the ON state

xSDIn2A

BOOL

Bit 18

Safe input 2 channel A in the ON state

xSDIn2B

BOOL

Bit 19

Safe input 2 channel B in the ON state

xSDIn3A

BOOL

Bit 20

Safe input 3 channel A in the ON state

xSDIn3B

BOOL

Bit 21

Safe input 3 channel B in the ON state

xSDIn4A

BOOL

Bit 22

Safe input 4 channel A in the ON state

xSDIn4B

BOOL

Bit 23

Safe input 4 channel B in the ON state

xSDOut1A

BOOL

Bit 24

Safe output 1 channel A in the ON state

xSDOut1B

BOOL

Bit 25

Safe output 1 channel B in the ON state