In the late 1990s and early 2000s, the Lenze device series 8200 and 9300 became extremely popular and can be found in many production machines worldwide. In the meantime, many of these devices have reached the end of their service life and are being replaced in applications by new device series such as the i950 (migration).
It is often not possible to modify the PROFIBUS configuration in the higher-level logic controller (PLC). As a result, the machine's control program cannot be changed and should still be able to run error-free with the new fieldbus device (such as the i950 in this case).
The L_AIF_Base, L_AIF_IN and L_AIF_OUT function blocks presented in this article allow the i950 servo drive to be programmed in such a way that (as far as possible) interface compatibility on the PROFIBUS is achieved and an uncomplicated replacement is possible without changing the PLC program. The appendix to this AKB article contains further information:
- a CoDeSys export file (L_AIF0080.export) for integration into an existing PLC project for an i950 servo drive - this file contains the necessary main blocks L_AIF_Base, L_AIF_IN and L_AIF_OUT as well as some useful auxiliary blocks (e.g. L_MC1A_ZeroDetect for standstill detection)
- the associated library file L_i950Profibus.library
- comprehensive PDF documentation (L_AIF0080.pdf) with a description of the L_AIF_Base, L_AIF_IN and L_AIF_OUT function blocks and detailed step-by-step commissioning instructions (see chapter 3)
- a project archive TM_Connection0080.projectarchive with an i950 sample project for emulating the "9300 speed control with AIF interface" application (C0005/000 = 1003)
Download the files attached to this AKB article to your PC and start commissioning an i950 drive as described in chapter 3 of the PDF documentation. As an alternative to the PDF documentation, a compact
online learning course with video tutorials can be used for initial commissioning.
For a quick test, use the attached project archive - all the necessary modules and libraries are already included here and form an executable project.
System requirements
- "PLC Designer" V4.1 or higher
- i950 PLC firmware V1.14 or higher
- PROFIBUS module I9MAFP0000000S plugged in