TwinCAT PLC Library Hydraulics - Version 1.4 — 4.5.5 MC_AxParamAuxLabelsLoad_BkPlcMc (from V3.0)

PLCopen Motion Control bReset , bValid : The signals are used to co-ordinate the decoder with the ADS server. sNetId , nPort , nInvokeId : These values are required in order to generate the ADS response. They are supplied by an ADS server's ADS indication function block. nIdxGroup , nIdxOffs , cbWriteLen : These values are required in order to decode the access. They are supplied by an ADS server's ADS indication function block. pAxItf : Here, the address of a variable or an array of variables of type Axis_Ref_BkPlcMc [ } 67] should be transferred. bClear : Indicates that an ADS access indicated with bValid should be acknowledged. bPending :

Indicates that an ADS access indicated with bValid is being processed. Behaviour of the function block If, when the bValid signal is present, the function block indicates neither bClear nor bPending it has not decoded the combination of nIdxGroup and nIdxOffs, and has not generated a response. In such a case, the ADS server (if there is one) must call another decoder, or must generate a response with the appropriate error code. 4.5.5 MC_AxParamAuxLabelsLoad_BkPlcMc (from V3.0) The function block loads the label texts for the customer-specific axis parameters from a file. These texts can be generated with a simple text editor such as Microsoft Notepad.

This function block is generally not called directly by the application. If possible, a function block of type MC_AxUtiStandardInit_BkPlcMc [ } 182] should be used, which uses a function block of type MC_AxParamAuxLabelsLoad_BkPlcMc . VAR_INPUT Execute: BOOL; END_VAR VAR_OUTPUT Done: BOOL; Error: BOOL; ErrorID: UDINT; END_VAR VAR_INOUT Axis: Axis_Ref_BkPlcMc; END_VAR Execute : The loading process is initiated by a rising edge at this input. Done : Successful loading of the parameters is indicated here. 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. PLC Library Hydraulics 202 Version: 1.4 Note The file must be structured according to the rules specified below. Otherwise, significant problems may occur, including system crash.