TwinCAT PLC Library Hydraulics - Version 1.4 — 5.1 FAQs (from V3.0)

Knowledge Base FAQ #1 How do I integrate one or more axes into a PLC application? The procedure here differs fundamentally from an axis guided by the NC task, because in this case everything done by the NC task is performed by the PLC. Ready-made function blocks are, however, available in most areas, so that the additional programming effort is held within reasonable limits. The following particular points must be considered:

Axis data in the PLC application ( FAQ #2 [ } 221] ) Initializing and loading the axis parameters when starting the PLC application ( FAQ #3 [ } 221] ) Acquisition of actual values ( FAQ #4 [ } 222] ) Generating control values ( FAQ #5 [ } 225] ) Processing control values in preparation for output ( FAQ #6 [ } 225] ) Setting up the axes (Setup) Commissioning of actual pressure determination with function blocks of type MC_AxRtReadPressureSingle_BkPlcMc [ } 158] or MC_AxRtReadPressureDiff_BkPlcMc [ } 156] . Organization of the procedure for movement ( FAQ #7 [ } 225] ) NOTE!

If only the usual blocks (encoder, generator, finish, drive) for the axis are to be called, a block of type MC_AxStandardBody_BkPlcMc should be used for simplicity. PLC Library Hydraulics 220 Version: 1.4 Name Description FAQ #1 [} 220] How do I integrate one or more axes into a PLC application? FAQ #2 [} 221] What data has to be created in the PLC application for the axes? FAQ #3 [} 221] How do I initialize the data and load the parameters for an axis when the PLC starts? FAQ #4 [} 222] How is the actual position of the axes determined? FAQ #5 [} 225] How is the control value for an axis created? FAQ #6 [} 225] How is the control value for an axis prepared for output?

FAQ #7 [} 225] How is the control value output to an axis? FAQ #8 [} 227] In what order should the function blocks of an axis be called? FAQ #9 [} 227] How do I control a valve output stage (on-board or externally)? FAQ #10 [} 227] How do I create a message buffer? FAQ #11 [} 228] How do I abort monitoring of a function? FAQ #12 [} 229] How do I monitor the communication with an I/O device? FAQ #13 [} 229] How do I assign my own labels to customer-specific axis parameters? FAQ #14 [} 229] How do I control a current valve? FAQ #15 [} 229] Which axis variables should be logged with the Scope? FAQ #16 [} 230] What is the purpose of the variable nDebugTag in Axis Ref BkPlcMc?

_ _ FAQ #17 [} 230] What has to be taken into account when Sercos drives are used? FAQ #18 [} 231] How is a pressure or a force determined? FAQ #19 [} 231] What has to be taken into account when AX5000 drives are used? FAQ #20 [} 231] How do I prepare an axis for blending based on PLC Open? FAQ #21 [} 233] How can I access registers of a terminal, to which an encoder or a valve of an axis is connected? FAQ #22 [} 233] What is the structure of an ASCII file for a linearization table? FAQ #23 [} 234] How can PlcMcManager commands be blocked? Setup How is operation of the axis begun, and how is it optimized?