MC_AxRtCommandsLocked_BkPlcMc : DWORD
The function simplifies setting and deleting of a protective function in the status double word of an axis.
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.
The application must assign the result of the function to the status double word of the axis. |
There is an example available.