TwinCAT PLC Library Hydraulics - Version 1.4 — 3.2 Structure of the documentation

General structure Certain function blocks have to be present in each application, to enable an axis to move. These function blocks include: MC_AxUtiStandardInit_BkPlcMc [ } 182] : Initialization and monitoring of the different axis components. Such an FB should be called cyclically. Blocks such as MC_Power_BkPlcMc, etc. may only be called after successful initialization. MC_Power_BkPlcMc [ } 26] : The function block is used to control an external actuator. The function block issues release notifications to valve output stages or frequency converters, for example. MC_AxStandardBody_BkPlcMc [ } 181] :

In each case the function block calls a function block of type MC_AxRtEncoder_BkPlcMc [ } 135] : Determination of the actual position of the axis from the input information of a hardware module. MC_AxRuntime_BkPlcMc [ } 167] : Deals with profile generation. MC_AxRtFinish_BkPlcMc [ } 175] : Adaptation of the control value to the special characteristics of the axis (characteristic curve linearization) MC_AxRtDrive_BkPlcMc [ } 125] : The function block performs preparation of the control value for the axis for it to be output on a hardware module. MC_AxAdsCommServer_BkPlcMc [ } 198] : Establishes the connection to PlcMcManager and monitors it.

This block must be called independent of the initialization, in order to enable commissioning without existing parameters. Optional useful function blocks are: MC_AxRtLoggerSpool_BkPlcMc [ } 187] : The function block prevents overflowing of the LogBuffer of the library. MC_AxParamDelayedSave_BkPlcMc : Performs an auto-save of the axis parameters. The so-called "PlcMcManager" is provided for commissioning. This tool consolidates setting parameters and is intended to facilitated commissioning of the system. The first example is intended to illustrate the "first steps". PLC Library Hydraulics 16 Version: 1.4