TwinCAT PLC Library Hydraulics - Version 1.4 — 4.4.6.1 MC_AxRuntime_BkPlcMc (from V3.0)

PLCopen Motion Control VAR_OUTPUT Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Error : The occurrence of an error is indicated here. ErrorID : An encoded indication of the cause of the error is provided here. Axis : Here, the address of a variable of type Axis_Ref_BkPlcMc [ } 67] should be transferred. Behavior of the function block The function block investigates the axis interface that has been passed to it every time it is called. A number of problems can be detected and reported during this process: If one of the pointers has not been initialised the function block reacts with Error and with ErrorID :=dwTcHydErrCdPtrPlcMc or dwTcHydErrCdPtrMcPlc.

If it is possible to carry out these checks without encountering any problems, the set value generation is executed by calling an appropriate function block corresponding to the nProfileType in Axis . ST_TcHydAxParam [ } 93] . The following generators are presently available: PLC Library Hydraulics 168 Version: 1.4