PLCopen Motion Control VAR_OUTPUT Error: BOOL; Done: BOOL; END_VAR Execute : A rising edge at this input stops the monitoring. Axis : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Error : The occurrence of an error is indicated here. Done : This indicates successful abortion. Behaviour of the function block A rising edge at Execute causes the function block to manipulate the transferred Axis interface such that other function blocks interpret it as the start of a function. If a different function block is monitoring the processing of a function started by it, it will abort this and set the signal CommandAborted at its output. NOTE!
Currently no error causes are known. The Error output is always FALSE. NOTE! The function block function requires no processing time. The output Done will immediately match the input Execute when the function block is called. A list of function blocks, for which such an abortion of monitoring is permitted, can be found in the Knowledge Base [ } 218] . 4.4.7.10 MC_AxUtiStandardInit_BkPlcMc (from V3.0) The function block handles the initialization and monitoring of axis components. VAR_INPUT AxisName: STRING(255); PathName: STRING(255); pDeviceInput: POINTER TO ST_TcPlcDeviceInput:=0; pDeviceOutput: POINTER TO ST_TcPlcDeviceOutput:=0; pLogBuffer:
POINTER TO ST_TcPlcMcLogBuffer:=0; pStAxAuxLabels: POINTER TO ST_TcMcAuxDataLabels:=0; pStAxAutoParams: POINTER TO ST_TcMcAutoIdent; pStAxCommandBuf: POINTER TO ST_TcPlcCmdBuffer_BkPlcMc:=0; (* ab/from V3.0.8 *) nLogLevel: DINT:=0; END_VAR VAR_OUTPUT Busy: BOOL; Done: BOOL; Ready: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR AxisName: Here, the text-based name of the axis (example: 'Axis_1') should be transferred. PLC Library Hydraulics 182 Version: 1.4