L Manual Global Drive PLC Developer Studio Global Drive Function library LenzeAifParMapDrv.
The function library LenzeAifParMapDrv.lib can be used for the following Lenze PLCs: 9300 Servo PLC Drive PLC ECSxA Type from hardware version from software version EVS93XX−xT EPL10200−ET 6A 1A 6.0 6.0 ECSxAxxx 1C 7.0 Important note : The software is supplied to the user as described in this document. Any risks resulting from its quality or use remain the responsibility of the user. The user must provide all safety measures protecting against possible maloperation.
Function library LenzeAifParMapDrv.lib Contents 1 Preface and general information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1−1 1.1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 Conventions used in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.2 Layout of the descriptions . . . . . . . . . .
Function library LenzeAifParMapDrv.lib Contents ii LenzeAifParMapDrv.lib EN 1.
Function library LenzeAifParMapDrv.lib Preface and general information 1 Preface and general information 1.1 About this Manual This Manual contains information about the function library LenzeAifParMapDrv.lib for the Drive PLC Developer Studio. · The function library LenzeAifParMapDrv.lib includes functions which can be used to transfer ("map") codes via the AIF interface to other PLC codes for parameter access from a higher−level control system.
Function library LenzeAifParMapDrv.lib Preface and general information 1.1.
Function library LenzeAifParMapDrv.lib Preface and general information 1.2 Version identifiers of the function library The version of the function library can C_w[Function library name]Version . be found under the global constant Version identifiers as of PLC software version 7.
Function library LenzeAifParMapDrv.lib Preface and general information 1−4 LenzeAifParMapDrv.lib EN 1.
Function library LenzeAifParMapDrv.lib Introduction 2.1 General 2 Introduction 2.1 General Lenze drive controllers and automation systems are parameterized via codes. If a drive system is replaced by a PLC it might be necessary to adapt parameter access from a higher−level control system to the new IEC61131 application, e.g. because some functions might have to be parameterized via other codes than before. The function library LenzeAifParMapDrv.
Function library LenzeAifParMapDrv.lib Introduction 2.2 2.2.1 AifParMap driver Operating principle − example Task A drive controller function is parameterized under code C0011/0. The drive controller is replaced by a PLC. From now on this function has to be parameterized under code C3011/3. · The functionality is accessed from a higher−level control via the AIF interface. The new PLC has to be adapted to the existing system environment so that the higher−level control program need not be changed.
Function library LenzeAifParMapDrv.lib Functions 3 Functions The function library includes the following functions for code mapping: · L_AifParMapInit: Configuration of code mapping.(^ 3−2) · L_AifParMapOpen: Activation of code mapping.(^ 3−3) · L_AifParMapClose: Deactivation of code mapping.(^ 3−4) Note! The functions are only available for code access via AIF interface and the corresponding fieldbus module.
Function library LenzeAifParMapDrv.lib Functions 3.1 3.1 L_AifParMapInit − configuration of code mapping L_AifParMapInit − configuration of code mapping INT L_AifParMapInit (byIndex, wCode, bySubCode, wCorrCode, byCorrSubCode) This function is used to configure the mapping table and the redirection of codes. · With every function call one code and the corresponding correction code can be entered in the mapping table.
Function library LenzeAifParMapDrv.lib Functions 3.2 3.2 L_AifParMapOpen − activation of code mapping L_AifParMapOpen − activation of code mapping DWORD L_AifParMapOpen (bOpen) This function is used to activate the mapping table and the redirection of codes. · The transfer parameter bOpen must be set to TRUE. · After this function has been executed, the codes accessed will be redirected via the AIF interface to the corresponding codes listed in the mapping table.
Function library LenzeAifParMapDrv.lib Functions 3.3 3.3 L_AifParMapClose − deactivation of code mapping L_AifParMapClose − deactivation of code mapping BOOL L_AifParMapClose (bClose) This function is used to deactivate the mapping table and the redirection of codes. · The transfer parameter bClose must be set to TRUE. · After this function has been executed, the codes accessed via the AIF interface are no longer redirected to the corresponding codes of the mapping table.