MC_AxRtCommandsLocked_BkPlcMc : DWORD

MC_AxRtCommandsLocked_BkPlcMc : DWORD 1:

The function simplifies setting and deleting of a protective function in the status double word of an axis.

MC_AxRtCommandsLocked_BkPlcMc : DWORD 2: Inputs

VAR_INPUT
     nStateDWord:  DWORD:=0;
     bProtect:     BOOL:=FALSE;
END_VAR

Name

Type

Description

nStateDWord

DWORD

The current state of the status double word.

bProtect

BOOL

The required state of the protective function.

Behavior of the function

The function shows the status bit of the protective function in the transferred status double word, depending on bProtect.

MC_AxRtCommandsLocked_BkPlcMc : DWORD 3:

The application must assign the result of the function to the status double word of the axis.

There is an example available.