TwinCAT PLC Library Hydraulics - Version 1.4 — 5.7.1 Basic settings

Knowledge Base Demonstration of a synchronization control for a two-axis gantry using a virtual master. Synchronization control is always used where two or more axes have to be controlled in a balanced manner. A virtual master axis is used for generating the set values. The set values are distributed to the slave axes, which add their local position controller. For example, the current position of the virtual master axis is calculated as an average value over the slave axes. In order to ensure smooth commissioning, it is essential that certain parameters are kept the same. This applies in some cases within the group of slave axes, partly also for the master axis.

In "FB_Parameter" this is forced by cyclic copying. Example 105: Linearization for synchronization control For TC2: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/zip/1599896971.zip For TC3: https://infosys.beckhoff.com/content/1033/tcplcLibhydraulics30/Resources/ zip/9007204192414859.zip This example demonstrates the characteristic curve determination for a two-axis gantry (see also example 104) with the function blocks MC_AxUtiAutoIdent_BkPlcMc [ } 192] and MC_AxUtiAutoIdentSlave_BkPlcMc. 5.7 Commissioning The procedure described here refers to basic commissioning of an axis of which nothing is known. With identical axes, certain points can be skipped.

5.7.1 Basic settings In order to start up the real axis, various default settings must be applied. The corresponding encoder type must be entered in the General tab. To do this, the corresponding encoder must be selected via the selection menu and written to the runtime variables via Activate . The currently active type is displayed to the left of the selection window. The Knowledge Base contains a table [ } 222] , which helps to select the correct encoder type and explains the mapping interface to I/O.

If, for technical reasons, it is not possible to determine the actual position with the standard encoder function block of the library, this task can also be executed by application function blocks. Then enter the result in fActPos and fActVelo in ST_TcHydAxRtData and update the position change in the current cycle in PLC Library Hydraulics 260 Version: 1.4