CfgReconfigAxis
The block CfgReconfigAxis returns a single axis from, for example, a 3D group, to its personal PTP group. To do this, the ID of the axis that is to be returned is supplied to the nAxisId input. The command is executed with a rising edge at the input bExecute.
The bBusy output remains TRUE until the block has executed a command, although only for as long as the time specified at the tTimeOut input. While bBusy = TRUE, no new instruction will be accepted at the inputs.
The output bErr goes TRUE if an error occurs as the command is being executed. The command-specific error code is contained in nErrId. The outputs are reset by carrying out a command at the inputs.
Interface
VAR_INPUT
bExecute : BOOL;
nAxisId : UDINT;
tTimeOut : TIME;
END_VAR
VAR_OUTPUT
bBusy : BOOL;
bErr : BOOL;
nErrId : UDINT;
END_VAR