PLC Designer 13417353 Ä.
Contents ________________________________________________________________ 1 1.1 1.2 1.
About this documentation ________________________________________________________________ 1 About this documentation This documentation describes the sample project for the i700 servo inverter for commissioning a Lenze automation system. The used automation system consists of a PLC for "Controller-based Automation" and drive components connected (via a bus system).
About this documentation ________________________________________________________________ More technical documentation for Lenze components More information on Lenze components that can be used in connection with Controller-based automation can be found in the following documentation: Mounting & wiring Symbols: MAs Controller Printed documentation MA i700 servo inverter Online help / PDF file MAs Servo Drives 9400 MAs Inverter Drives 8400 MA I/O system 1000 (EPM-Sxxx) MAs for communica
About this documentation ________________________________________________________________ Validity information The information in this documentation is valid for the following Lenze software: Software From software version »PLC Designer« 3.3.x Lenze · Servo Inverter i700 | Application Sample · DMS 1.
About this documentation Document history ________________________________________________________________ 1.1 Document history Version 1.0 1.2 Description 09/2012 TD11 First edition Conventions used This documentation uses the following conventions to distinguish between different types of information: Type of information Display Examples/notes Numbers Decimal separator Point The decimal point is generally used. Example: 1234.
About this documentation Notes used ________________________________________________________________ 1.
Safety instructions ________________________________________________________________ 2 Safety instructions Please observe the following safety instructions when you want to commission a controller or system using the »Engineer«.
Preconditions System requirements ________________________________________________________________ 3 Preconditions 3.1 System requirements 3.2 Engineering PC Controller Hardware PC/notebook PLC (Logic) from firmware V3.3 Operating system Windows XP Windows CE Required Lenze software »PLC Designer« from V3.
Preconditions Setting up communication to the Controller ________________________________________________________________ • Enter the desired IP address of the Controller. [3-1] Example: Enter the IP address of the Controller 3. Click OK to add the Controller as gateway. 4. By double-clicking the desired channel (or clicking the Set active path button) set the channel selected in the Device View below the gateway as active path for control.
What is the Application Sample? Target of the Application Sample ________________________________________________________________ 4 What is the Application Sample? The Application Sample i700 is a sample project for commissioning the Lenze Teachware case i700 which represents an example of the Lenze "Controller-based Automation" system.
What is the Application Sample? Overview of the features of the Application Sample ________________________________________________________________ 4.2 Overview of the features of the Application Sample Visualisations Folder/symbol Function AxisBasicControl Visualisation for the quick commissioning of the controllers of the Lenze application case via the L_SMC_AxisBasicControl function. CyclicMove Example of application integration in the L_SMC_AxisBasicControl FB.
Overview - The structure of the Application Sample ________________________________________________________________ 5 Overview - The structure of the Application Sample The Application Sample i700 is a sample project which provides support during commissioning and helps you entering the world of Lenze "Controller-based Automation" with the »PLC Designer«. • The Application Sample is included as project file in the »PLC Designer« setup: L_AppSample_i700.
Overview - The structure of the Application Sample A11_ProgramCalls ________________________________________________________________ 5.1 A11_ProgramCalls The PC_Task_High program calls all high-priority programs of the application. 5.2 A20_Visualisation B1_Info: "Getting started" • ... contains the stored information on the structure and use of the Application Sample. B2_AxisBasicControl • ... contains the visualisations for the individual instances of the L_SMC_AxisBasicControl block.
Overview - The structure of the Application Sample A70_POUs ________________________________________________________________ 5.3 A70_POUs BrakeControl • ... contains the instanceable sample program, BrakeControl (FB), including the brake function, which can be used with the following function blocks: • L_SM3_AxisBasicControl • SMCBrakeControl • SMCBrakeState • ... contains the corresponding visualisation. CyclicMove • ...
Overview - The structure of the Application Sample A90_Resources ________________________________________________________________ 5.4 A90_Resources BrakeControl • ... contains the graphics referenced in the visualisations. Trace_AxisX...Z • ... pre-configured oscilloscope function of the respective axis. 5.4.1 Use of the oscilloscope function: example of AxisX How to proceed: 1. Double-click the desired Trace in the device view. 2.
Overview - The structure of the Application Sample A90_Resources ________________________________________________________________ 5.4.2 EPM_S202: Digital inputs The hardware configuration of the sample project contains eight digital inputs. The corresponding Lenze Teachware case i700 contains a control panel for controlling the inputs of the I/O system. • Digital input 1: Mapped to the global variable for quick stop (QSP).
Opening the Application Sample ________________________________________________________________ 6 Opening the Application Sample The Application Sample includes a sample program with three axes and a predefined visualisation.
Opening the Application Sample Creating a new project - opening the Application Sample ________________________________________________________________ 6.1 Creating a new project - opening the Application Sample The Application Sample is available as a predefined »PLC Designer« project (*.project, ). To call the Application Sample, a new project must be created with the Application Sample being the sample project. How to proceed: 1.
Opening the Application Sample Going online ________________________________________________________________ 6.3 Going online To establish an online connection to the Controller, the communication settings (Set Active Path) must be adapted first. Setting up communication to the Controller ( 9) 6.3.1 Transferring the project to the control system - "logging in" The "Login" command transfers the PLC program to the Controller.
Opening the Application Sample Simulation ________________________________________________________________ 6.5 Simulation Note! "Watchdog" monitoring must be deactivated for all tasks before the simulation mode can be used with the Application Sample. • If the "Watchdog" monitoring is active, an error message will be issued and the simulation mode cannot be activated. How to deactivate the "Watchdog" monitoring: 1. Double-click the • Double-click A90_Resources folder in the device view.
Getting started - operating the Application Sample ________________________________________________________________ 7 Getting started - operating the Application Sample The Application i700 includes visualisations for the operation of the i700 which can be controlled via the Main visualisation. How to proceed: 1. In the Device View, select the 2. Double-click the A20_Visualisation folder. Main visualisation.
Getting started - operating the Application Sample The buttons of the visualisation ________________________________________________________________ 7.1 The buttons of the visualisation Tip! The information pages of the visualisation are marked with the symbol . • The pages provide information on what to do to get the system started: "Getting started". Setting parameters Motor parameters: information page "Getting started" • Step 1: How to parameterise the motor data Softm.
Getting started - operating the Application Sample Commissioning an axis ________________________________________________________________ 7.2 Commissioning an axis Note! If the Lenze Teachware case i700 is used, steps 1-4 are not required! • The parameters are predefined and already included in the project. How to proceed: 1. Motor data parameterisation 2. SoftMotion data parameterisation 3. Axis control during manual operation 4. Controller adjustment by means of oscilloscope function 7.
Getting started - operating the Application Sample SoftMotion data parameterisation ________________________________________________________________ 7.4 SoftMotion data parameterisation How to proceed: 1. Select the desired axis from the Device View. 2. Select the SoftMotion Drive: Basic parameters tab. 3. Select the desired axis type. 4. Select the behaviour of the following error monitoring. 5. Select the SoftMotion Drive: Scaling/Mapping tab. 6.
Getting started - operating the Application Sample Axis control during manual operation: manual control ________________________________________________________________ 7.5 Axis control during manual operation: manual control How to proceed: 1. Click the AxisBasicControl button. 2. Select the desired axis: AxisX/AxisY/AxisZ. 3. Click the Internal Control button. 4. Acknowledge pending error by clicking the xResetError button. 5. Click the xRegulatorOn button. 6.
Getting started - operating the Application Sample Axis control in the automatic mode: "CyclicMove" ________________________________________________________________ 7.6 Axis control in the automatic mode: "CyclicMove" How to proceed: 1. Click the CyclicMoveAxisX button. 2. Enable the controller: Click the xRegulatorOn button. 3. Start the positioning process: Click the xDriveStart button. • The positioning parameters can be edited anytime directly in the visualisation.
Getting started - operating the Application Sample Coupling/decoupling of an axis: "GearingAxisY" ________________________________________________________________ 7.7 Coupling/decoupling of an axis: "GearingAxisY" How to proceed: 1. Click the GearingAxisY button. 2. Enable the controller: Click the xRegulatorOn button. 3. Start the positioning process: Click the xStart button. 4. Set the acceleration/deceleration: Enter the desired values in MC_GearIn. 5. Set the desired deceleration of MC_Halt. 6.
Getting started - operating the Application Sample Holding brake: Application "BrakeAxisZ" ________________________________________________________________ 7.8 Holding brake: Application "BrakeAxisZ" For Axis Z a holding brake is defined by default which releases the brake by default when the controller is enabled. • The holding brake can additionally be switched to other states via the SMC3_BrakeControl and SMC3BrakeState function blocks (e.g. for other purposes in the application).
Getting started - operating the Application Sample EtherCAT diagnostics: "Diagnostic" ________________________________________________________________ 7.9 EtherCAT diagnostics: "Diagnostic" The Diagnostic visualisation displays information on the EtherCAT state: • State EtherCAT bus ... displays the current state of the bus. It shows e.g. whether the bus has been restarted after the communication to the slaves was interrupted (disconnected cable connection between Controller and node).
Index ________________________________________________________________ A V Application notes (representation) 7 Application Sample 11 Validity of the documentation 5 C Conventions used 6 CyclicMove 27 D Document history 6 E Elements of the Application Sample 12 E-mail to Lenze 32 F Feedback to Lenze 32 G GearingAxisY 28 Getting started - operating the Application Sample 22 I i700 SoftMotion parameters 25 L Loading and starting the PLC program 20 Logging in 20 M Manual control 26 MM_Dcl 13 MM_IO
)(('%$&. Your opinion is important to us These instructions were created to the best of our knowledge and belief to give you the best possible support for handling our product. Perhaps we have not always succeeded in achieving this goal. If you notice this, please send us your suggestions and criticism in a short e-mail to: feedback-docu@Lenze.de Thank you for your support.
Servo Inverter i700 | Application Sample · SHPPLCDASI700 · 13417353 · DMS 1.0 EN - 09/2012 - TD11 Lenze Automation GmbH Hans-Lenze-Str. 1 D-31855 Aerzen Germany +49 (0)51 54 / 82-0 +49 (0)51 54 / 82-28 00 Lenze@Lenze.de www.Lenze.com Service Lenze Service GmbH Breslauer Straße 3 D-32699 Extertal Germany 00 80 00 / 24 4 68 77 (24 h helpline) +49 (0)51 54 / 82-11 12 Service@Lenze.