Lenze EVS93 Series System Manual

Lenze EVS93 Series System Manual

Servo cam profiler 0,37 ... 75 kw
Table of Contents

Advertisement

Quick Links

EDSVS9332K−EXT
.FZ<
Global Drive
9300
0,37 ... 75 kW
EVS9321xK ... EVS9332xK
Servo cam profiler
System Manual
(Extension)
l

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the EVS93 Series and is the answer not in the manual?

Questions and answers

Summary of Contents for Lenze EVS93 Series

  • Page 1 Global Drive EDSVS9332K−EXT .FZ< System Manual (Extension) 9300 0,37 ... 75 kW EVS9321xK ... EVS9332xK Servo cam profiler...
  • Page 3: Table Of Contents

    Contents Preface ............. 1−1 How to use this System Manual .
  • Page 4 Contents 3.2.17 System bus (CAN−IN) ........... . 3−66 3.2.18 System bus (CAN−OUT)
  • Page 5 Contents 3.2.60 Limiting element (LIMPHD1) ..........3−188 3.2.61 Internal motor control (MCTRL)
  • Page 6 Contents Application examples ..........4−1 Replacement of a mechanical cam .
  • Page 7: Preface

    Preface and general information Preface Contents How to use this System Manual ........... . 1−3 1.1.1 Information provided by the System Manual...
  • Page 8: Preface

    Preface and general information 1−2 EDSVS9332K−EXT EN 4.0...
  • Page 9: Application Examples

    Preface and general information How to use this System Manual 1.1.1 Information provided by the System Manual How to use this System Manual 1.1.1 Information provided by the System Manual Target group This System Manual is directed at all persons who design, install, commission and adjust the 9300 servo cam profilers.
  • Page 10: How To Use This System Manual

    Descriptions and data of other Lenze products (Drive PLC, Lenze geared motors, Lenze motors, ...) can be found in the corresponding catalogs, Operating Instructions and manuals. The required documentation can be ordered at your Lenze sales partner or downloaded as PDF file from the Internet.
  • Page 11: Document History

    Preface and general information How to use this System Manual 1.1.2 Document history 1.1.2 Document history What is new / what has changed? Material number Version Description .FZ< 06/2011 TD23 Fault correction 13344177 07/2010 TD23 Extended by functions for software version 8.0 Fault correction 13190509 02/2007...
  • Page 12: Products To Which The System Manual Applies

    Preface and general information How to use this System Manual 1.1.3 Products to which the System Manual applies 1.1.3 Products to which the System Manual applies This documentation is valid for 9300 servo cam profilers as of nameplate data:  ‚...
  • Page 13: Definition Of Notes Used

    Preface and general information Definition of the notes used Definition of notes used All safety information given in these instructions has the same layout: Pictograph (indicates the type of danger) Signal word! (indicates the severity of danger) Note (describes the danger and explains how to avoid it) Pictograph Consequences if disregarded Signal word...
  • Page 14 Preface and general information Definition of the notes used 1−8 EDSVS9332K−EXT EN 4.0...
  • Page 15: Configuration

    Configuration Configuration Contents Configuration with Global Drive Control ..........2−2 Basic configurations .
  • Page 16 Configuration 2−2 EDSVS9332K−EXT EN 4.0...
  • Page 17: Configuration With Global Drive Control

    Configuration Configuration with Global Drive Control Configuration with Global Drive Control With Global Drive Control (GDC), Lenze offers an easy−to−understand, clearly−laid−out and convenient tool for the configuration of your specific drive task. Function block library GDC provides an easy−to−read library of available function blocks (FB). GDC also displays the complete assignment of an FB.
  • Page 18: Basic Configurations

    Adapt the function assignment to the wiring. The internal signal processing is adapted to the drive task by selecting a predefined basic configuration. You can, for instance, use the Lenze setting for speed control. A detailed description of the basic configurations with terminal assignments, signal flow diagrams, and application examples can be found in the chapter "Application examples".
  • Page 19: Changing The Basic Configuration

    Before commissioning, the profile data must be generated with the Global Drive Control program and the transmitted to the drive. The below basic cam profiles are included in the Lenze setting. They are effective independently of the basic parameter setting.
  • Page 20: Basic Configuration C0005 = 1Xxxx

    Configuration Basic configurations 2.2.2 Basic configuration C0005 = 1xXxx 2.2.2 Basic configuration C0005 = 1xXxx 2.2.2.1 Basic configurations 1X0XX: No additional function The signal flow corresponds to the basic functions described in chapters X.1 − X.3. 2.2.2.2 Basic configurations 1X1XX: Homing function C1477/5 Following error Homing function...
  • Page 21 Configuration Basic configurations 2.2.2 Basic configuration C0005 = 1xXxx 2.2.2.3 Basic configurations 1x2xx: Clutch function C1477/5 Following error Clutch function Profile control Engage clutch C1380/1,2 C1477/2 C0472/4 (CERR1) Overload limt (CLUTCH) (CCTRL) value Motor control C0472/2 C0006, C0011, (-1) C0472/3 C0022, C0070, C0071, C0086, C0105, C0254...
  • Page 22 Configuration Basic configurations 2.2.2 Basic configuration C0005 = 1xXxx 2.2.2.4 Basic configurations 1x3xx: Switching points (cam group) Following error C1380/1,2 C1477/2 C0472/4 (CERR1) Motor control C0006, C0011, (-1) C0022, C0070, C0071, C0086, C0105, C0254 Switching points (MCTRL) (SPC) 9300kur082 Fig. 2−3 Section of the signal flow diagram showing the basic configuration 1X3XX with switching points Function Digital inputs...
  • Page 23: Replacement Of A Mechanical Cam (C0005 = 10000)

    Configuration Basic configurations 2.2.3 Replacement of a mechanical cam (C0005 = 10000) 2.2.3 Replacement of a mechanical cam (C0005 = 10000) 9300kur085 Fig. 2−4 Block diagram of the basic configuration C0005 = 10000 (cam) 2−9 EDSVS9332K−EXT EN 4.0...
  • Page 24: Welding Bar Drive (C0005 = 11000)

    Configuration Basic configurations 2.2.4 Welding bar drive (C0005 = 11000) Code Description Basic configuration C0005 = 10000 The configuration C0005 = 10000 provides an electronical solution for the demands on a mechanical cam. Additional functions such as stretching / compression / angle trimming in X−direction and Y−direction are available.
  • Page 25: Operation With Position Storage (C0005 = 12000)

    Configuration Basic configurations 2.2.5 Operation with position storage (C0005 = 12000) 2.2.5 Operation with position storage (C0005 = 12000) 9300kur083 Fig. 2−5 Block diagram of the basic configuration C0005 = 12000 (cam with position storage) An incremental encoder cannot be used as a feedback system with this configuration. 2−11 EDSVS9332K−EXT EN 4.0...
  • Page 26 Configuration Basic configurations 2.2.5 Operation with position storage (C0005 = 12000) Code Description C0005 = 12000 With this configuration and an absolute feedback system (resolver or Sin/Cos absolute value encoder), the position values of the motor shaft can be stored when switching off the mains. When the mains is switched on again, the actual values are compared to the stored values.
  • Page 27: Operating Modes

    Configuration Operating modes 2.3.1 Parameter setting Operating modes By selecting the operating mode you can also select the interface you want to use for parameter setting or control of the controller. C0005 contains predefined configurations which allow a very easy change of the operating mode. 2.3.1 Parameter setting Parameters can be set with one of the following modules:...
  • Page 28 Configuration Operating modes 2.3.2 Control 2−14 EDSVS9332K−EXT EN 4.0...
  • Page 29: Function Library

    Function library Function library Contents Working with function blocks ............3−16 3.1.1 Signal types...
  • Page 30 Function library 3.2.36 Profile selection (CSEL) ..........3−139 3.2.37 Characteristic function (CURVE)
  • Page 31 Function library 3.2.81 Delay element (PT1−2) ........... 3−270 3.2.82 CW/CCW/QSP linking (R/L/Q)
  • Page 32 Function library 3−4 EDSVS9332K−EXT EN 4.0...
  • Page 33 Function library Working with function blocks 3.1.1 Signal types Working with function blocks The signal flow of the controller can be configured by connecting function blocks. The controller can thus be easily adapted to diverse applications. 3.1.1 Signal types Each function block is provided with a certain number of inputs and outputs which can be interlinked. Corresponding to their functions, there are only certain types of signals at the inputs and outputs: Quasi analog signals –...
  • Page 34 Function library Working with function blocks 3.1.2 Elements of a function block 3.1.2 Elements of a function block Parameterisation code Input name FB name FCNT1 C1100 FCNT1−CLKUP FCNT1−OUT C1102/1 C1104/1 FCNT1−CLKDWN Output symbol C1102/2 C1104/2 CTRL FCNT1−EQUAL Input symbol FCNT1−LD−VAL C1101/1 C1103/1 FCNT1−LOAD...
  • Page 35 Function library Working with function blocks 3.1.2 Elements of a function block Configuration code Configures the input with a signal source (e. g. terminal signal, control code, output of an FB, ...). Inputs with identical codes are distinguished by the attached subcode (Cxxxx/1). These codes are configured via the subcode.
  • Page 36 Function library Working with function blocks 3.1.3 Connection of function blocks 3.1.3 Connection of function blocks General rules Assign a signal source to an input. One input can have only one signal source. Inputs of different function blocks can have the same signal source. Only the same types of signals can be connected.
  • Page 37 Function library Working with function blocks 3.1.3 Connection of function blocks Basic procedure 1. Select the configuration code of the function block input which is to be changed. 2. Determine the source of the input signal for the selected input (e.g.
  • Page 38 Function library Working with function blocks 3.1.3 Connection of function blocks Establish connections 1. Determine the signal source for ARIT2−IN1: – Change to the code level using the arrow keys – Select C0601/1 using z or y. – Change to the parameter level using PRG. –...
  • Page 39 Function library Working with function blocks 3.1.3 Connection of function blocks Remove connections Since a source can have several targets, there may be further signal connections, which may not be wanted. Example: – In the default setting of the basic configuration C0005 = 1000 (speed control), ASW1−IN1 and AIN2−OUT are connected.
  • Page 40 Function library Working with function blocks 3.1.4 Entries into the processing table 3.1.4 Entries into the processing table The 93XX controller provides a certain calculating time for processing the FBs. Since the type and number of FBs to be used depends on the application and can vary strongly, not all available FBs are permanently calculated.
  • Page 41 Function library Working with function blocks 3.1.4 Entries into the processing table 5. The entries in C0465 are: – Position 10: AND1 10500 – Position 11: OR1 10550 – Position 12: AND2 10505 This example was started with position 10, because these positions are not assigned in the default setting.
  • Page 42 Function library Function blocks 3.2.1 Table of function blocks Function blocks 3.2.1 Table of function blocks Used in basic configuration C0005 Function block Description CPU time [ms] 1000 10000 11000 12000 ^ 3−37 · · · ABS1 Absolute value generator ^ 3−38 ADD1 Addition block...
  • Page 43 Function library Function blocks 3.2.1 Table of function blocks Function block Function block Description Description CPU time CPU time Used in basic configuration C0005 [ms] [ms] 1000 10000 11000 12000 CONV1 Conversion of analog signals CONV2 Conversion of analog signals ^ 3−108 CONV3 Conversion of speed signals to analog signals...
  • Page 44 Function library Function blocks 3.2.1 Table of function blocks Function block Function block Description Description CPU time CPU time Used in basic configuration C0005 [ms] [ms] 1000 10000 11000 12000 ^ 3−220 · NSET Speed setpoint conditioning · Logic OR, block 1 Logic OR, block 2 Logic OR, block 3 ^ 3−226...
  • Page 45 Function library Function blocks 3.2.2 Table of free control codes Function block Function block Description Description CPU time CPU time Used in basic configuration C0005 [ms] [ms] 1000 10000 11000 12000 ^ 3−321 VTPCSC Cam positioning control ^ 3−323 · WELD1 Welding bar control ^ 3−330...
  • Page 46 Function library Function blocks 3.2.2 Table of free control codes Code Code Description Description CPU time CPU time Used in basic configuration C0005 [ms] [ms] 1000 10000 11000 12000 FCODE 473/8 FCODE 473/9 FCODE 473/10 · FCODE 474/1 Angle FCODE 474/2 FCODE 474/3 FCODE 474/4 FCODE 474/5...
  • Page 47 Function library Function blocks 3.2.2 Table of free control codes Code Code Description Description CPU time CPU time Used in basic configuration C0005 [ms] [ms] 1000 10000 11000 12000 FCODE 1478/5 FCODE 1478/6 3−19 EDSVS9332K−EXT EN 4.0...
  • Page 48 Function library Function blocks 3.2.3 Function block CDATA 3.2.3 Function block CDATA Purpose CDATA is a profile generator especially made for cam profile applications. Up to 8 different profiles can be managed. C D A T A C D A T A - A C T C A M C D A T A - E R R - N R C T R L C D A T A - B U S Y...
  • Page 49 CDATA−REL−SEL C1323/3 C1322/3 HIGH: feed function active (relative positioning) CDATA−YIN C1325/6 dec [inc] C1324/6 Input for the teach function, contact Lenze CDATA−OFFS−XIN C1325/7 dec [inc] C1324/7 Offset on input CDATA−XIN if C1338 = 1 has been selected CDATA−XIN C1325/2 dec [inc]...
  • Page 50 C1295. · Stretching and compression £ 100 % – Set C1295 = 0: the output signal is limited to ±29999 rpm (Lenze setting). · Stretching and compression > 100 % – Set C1295 = 1: the output signal is limited to ±14999 rpm.
  • Page 51 Function library Function blocks 3.2.3 Function block CDATA Range of functions Select X position for the cam drive (¶ 3−23) Select X position directly (¶ 3−23) Create X position from a digital frequency (¶ 3−26) Change of direction (¶ 3−28) Profile changeover in the middle of the motion profile (¶...
  • Page 52 Function library Function blocks 3.2.3 Function block CDATA Selection of master Note value C1332 = 0 Master value source: CDATA−DFIN · Selection of a digital frequency C1332 = 1 Master value source: CDATA−XIN · Selection of the absolute X position C1332 = 2 Master value source: CDATA−XPOS ·...
  • Page 53 Function library Function blocks 3.2.3 Function block CDATA Synchronisation of absolute value encoder and profile In the ideal case, the profile pulse and encoder pulse are identical. But more commonly the case shown in the graphics occurs: 0° 360° 720° 0°...
  • Page 54 – C1335 = 1: with compensation limitation (we recommend this setting). – C1335 = 2: cross cutter (contact Lenze if you want to use this function). Selecting the source of the compensation speed (C1296 is only effective if C1335 = 1): –...
  • Page 55 – CDATA−TP−EDGE−SELECT = LOW: HIGH−LOW edge of the sensor signal is evaluated. – CDATA−TP−EDGE−SELECT = HIGH: LOW−HIGH edge of the sensor signal is evaluated. 4. Enter the position of the sensor at input CDATA−TP−POS (in the Lenze setting, the input is connected to C1476/16).
  • Page 56 Function library Function blocks 3.2.3 Function block CDATA One−time setting of X position If slipping and non−integer pulse lengths can be ruled out, the X position must only be set once. Procedure: Set the master drive (machine) to the position applied to the input CDATA−TP−POS. –...
  • Page 57 Function library Function blocks 3.2.3 Function block CDATA Change of direction of rotation for connection at input CDATA−XIN (see also chapter 3.2.3.2) Note! The direction of rotation of an absolute shaft encoder connected to input CDATA−XIN (single−turn or programmable multi−turn) can only be reversed by changing the attachment.
  • Page 58 Function library Function blocks 3.2.3 Function block CDATA 3.2.3.7 Selection of one profile 1. CDATA−CYCLE = LOW: deactivation of the automatic profile switching. 2. CDATA−SEL: Select the desired profile number (see Fig. 3−10). 3.2.3.8 Selection of several profiles Permissible value range of CDATA−SEL: 0 to the number of profiles selected in the GDC dialog ’Basic cam data’...
  • Page 59 Function library Function blocks 3.2.3 Function block CDATA Profile processing with any order 1. CDATA−CYCLE = LOW: deactivation of the automatic profile switching. 2. CDATA−SEL: Profile selection via this analog input Note! For this purpose, an external control must be programmed in such a way that the profile number required is available at the input CDATA−SEL at a certain time.
  • Page 60 Function library Function blocks 3.2.3 Function block CDATA 3.2.3.10 Online reloading of profiles This function serves to accept and activate reloaded profiles during operation. This function is available from software version 3.4. Stop! In the initial range, the motion profiles must be almost identical, otherwise a compensating movement with the max.
  • Page 61 Values < 1% are internally limited to +1% at input XFACT via C1319=1 (compression). If you do not want a stretching or compression, connect CDATA−XFACT to FIXED100% (Lenze setting). Offset Use input CDATA−XOFFS to shift the X position by a constant value.
  • Page 62 Function library Function blocks 3.2.3 Function block CDATA 3.2.3.12 Synchronised stretching/compression in Y direction Stop! If input CDATA−X−RESET = 1, the stretching/compression factor must not be changed. Otherwise the drive may lose the synchronicity. If the FB YSET1 is not used, then set C1313 = 0 (asynchronous stretching/compression).
  • Page 63 Function library Function blocks 3.2.3 Function block CDATA 3.2.3.13 Feed drive with profiles The main characteristic of such a profile is that initial and end value are not identical. Application examples: Rotary table, conveying belt (movement in one direction), material guide This function is selected with CDATA−REL−SEL = HIGH ‚...
  • Page 64 Function library Function blocks 3.2.3 Function block CDATA 3.2.3.14 Output of important status signals Display of the current profile section (only with relative data model) The current profile section is indicated by the assigned digital outputs CDATA−SEC1 to CDATA−SEC5. Section length / cycle length (only with relative data model) The lengths of the individual sections are output at CDATA−LEN1 to CDATA−LEN5 in X direction.
  • Page 65 This FB is used to convert bipolar signals into unipolar signals. ABS1 ABS1-IN ABS1-OUT C0661 C0662 Fig. 3−15 Absolute value generator (ABS1) Signal Source Note Name Type DIS format List Lenze ABS1−IN1 C0662 dec [%] C0661 1000 − ABS1−OUT − − − − − − Function The absolute value of the input signal is generated.
  • Page 66: Addition Block (Add)

    Adds or subtracts "analog" signal depending on the input used. A D D 1 9300POSADD1 Fig. 3−16 Addition block (ADD1) Signal Source Note Name Type DIS format List Lenze ADD1−IN1 C0611/1 dec [%] C0610/1 1000 Addition input ADD1−IN2 C0611/2 dec [%] C0610/2 1000 Addition input ADD1−IN3...
  • Page 67: Addition Block (Addphd1)

    ADDPHD1-LIM C1363/1 ADDPHD1-DFIN2 C1362/2 C1363/2 ADDPHD1-DFIN3 C1362/3 C1363/3 Fig. 3−17 Addition block (ADDPHD1) Signal Source Note Name Type DIS format List Lenze ADDPHD1−DFIN1 C1363/1 [rpm] C1362/1 1000 Addition input ADDPHD1−DFIN2 C1363/2 [rpm] C1362/2 1000 Addition input ADDPHD1−DFIN3 C1363/3 [rpm] C1362/3...
  • Page 68: Automation Interface (Aif−In)

    Function library Function blocks 3.2.7 Automation interface (AIF−IN) 3.2.7 Automation interface (AIF−IN) Purpose Interface for input signals of the plug−on fieldbus module (e.g. INTERBUS, PROFIBUS) for setpoints and actual values as binary, analog, or angle information. Please observe the corresponding Operating Instructions for the plug−on fieldbus module.
  • Page 69 Function library Function blocks 3.2.7 Automation interface (AIF−IN) Signal Source Note Name Type DIS format List Lenze AIF−CTRL.B0 C0136/3 − − − AIF−CTRL.B1 C0136/3 − − − AIF−CTRL.B2 C0136/3 − − − AIF−CTRL.B4 C0136/3 − − − AIF−CTRL.B5 C0136/3 −...
  • Page 70 Function library Function blocks 3.2.7 Automation interface (AIF−IN) Function The input signals of the 8−byte user data of the AIF object are converted into corresponding signal types. The signals can be used via further function blocks. Byte 1 and 2 Byte 1 and 2 form the control word for the controller.
  • Page 71: Automation Interface (Aif−Out)

    S T A T F D O AIF−OUT1 Fig. 3−19 Automation interface (AIF−OUT) Signal Source Note Name Type DIS format List Lenze AIF−OUT.W1 C0858/1 dec [%] C0850/1 1000 +100 % = +16384 AIF−OUT.W2 C0858/2 dec [%] C0850/2 1000 +100 % = +16384 AIF−OUT.W3...
  • Page 72 Function library Function blocks 3.2.8 Automation interface (AIF−OUT) Function The input signals of this function block are copied into the 8−byte user data of the AIF object and assigned to the plug−on fieldbus module. The meaning of the user data can be determined very easily with C0852 and C0853 and the corresponding configuration code (CFG).
  • Page 73: Analog Inputs Via Terminal X6/1, X6/2 And X6/3, X6/4 (Ain)

    C0402 C0400 C0404/1 AIN1-GAIN C0403 C0404/2 Fig. 3−20 Analog input via terminal X6/1, X6/2 (AIN1) Signal Source Note Name Type DIS format List Lenze AIN1−OFFSET C0404/1 dec [%] C0402 19502 − AIN1−GAIN C0404/2 dec [%] C0403 19504 − AIN1−OUT C0400 −...
  • Page 74 Function library Function blocks 3.2.9 Analog inputs via terminal X6/1, X6/2 and X6/3, X6/4 (AIN) Function The analog input value is added to the value at input AINx−OFFSET. The result of the addition is limited to ±200 %. The limited value is multiplied by the value which is applied to input AINx−GAIN. Then the signal is limited to ±200%.
  • Page 75: And Operation (And)

    C0821/1 & AND1-IN2 AND1-OUT C0820/2 C0821/2 AND1-IN3 C0820/3 C0821/3 Fig. 3−23 AND operation (AND1) Signal Source Note Name Type DIS format List Lenze AND1−IN1 C0821/1 C0820/1 1000 − AND1−IN2 C0821/2 C0820/2 1000 − AND1−IN3 C0821/3 C0820/3 1000 − AND1−OUT −...
  • Page 76 C0825/1 & AND3-IN2 AND3-OUT C0824/2 C0825/2 AND3-IN3 C0824/3 C0825/3 Fig. 3−25 AND operation (AND3) Signal Source Note Name Type DIS format List Lenze AND3−IN1 C0825/1 C0824/1 1000 − AND3−IN2 C0825/2 C0824/2 1000 − AND3−IN3 C0825/3 C0824/3 1000 − AND3−OUT −...
  • Page 77 Function library Function blocks 3.2.10 AND operation (AND) A N D 6 Fig. 3−28 AND operation (AND6) Signal Source Note Name Type DIS format List Lenze AND6−IN1 C1176/1 C1175/1 1000 − AND6−IN2 C1176/2 C1175/2 1000 − AND6−IN3 C1176/3 C1175/3 1000 −...
  • Page 78 C1178/6 C1179/6 AND8-IN4 C1178/7 C1179/7 AND8-IN5 C1178/8 C1179/8 fb_and8 Fig. 3−30 AND operation (AND8) Signal Source Note Name Type DIS format List Lenze AND8−IN1 C1179/4 C1178/4 1000 − AND8−IN2 C1179/5 C1178/5 1000 − AND8−IN3 C1179/6 C1178/6 1000 − AND8−IN4 C1179/7...
  • Page 79 Function library Function blocks 3.2.10 AND operation (AND) Function of AND1 ... AND7 ANDx−OUT = ANDx−IN1 Ù ANDx−IN2 Ù ANDx−IN3 Equivalent network: ANDx-IN1 ANDx-IN2 ANDx-IN3 ANDx-OUT 9300kur069 Fig. 3−32 Equivalent network of the AND operation for AND1 ... AND7 Note! Connect inputs that are not used to FIXED1.
  • Page 80: Inverter (Aneg)

    Two inverters are available: ANEG1 ( 1) ANEG1-IN ANEG1-OUT C0700 C0701 Fig. 3−34 Inverter (ANEG1) Signal Source Note Name Type DIS format List Lenze ANEG1−IN C0701 dec [%] C0700 19523 − ANEG1−OUT − − − − − − ANEG2 ( 1)
  • Page 81: Analog Output Via Terminal 62/63 (Aout)

    AOUT1-GAIN C0433 C0434/3 AOUT1-OFFSET C0432 C0434/2 Fig. 3−36 Analog output via terminal X6/62 (AOUT1) Signal Source Note Name Type DIS format List Lenze AOUT1−IN C0434/1 dec [%] C0431 5001 − AOUT1−GAIN C0434/3 dec [%] C0433 19510 − AOUT1−OFFSET C0434/2 dec [%]...
  • Page 82 Function library Function blocks 3.2.12 Analog output via terminal 62/63 (AOUT) Example for an output value AOUT1−IN = 50%, AOUT1−GAIN = 100%, AOUT1−OFFSET = 10% Output terminal 62 = ((50% * 100% = 50%) + 10% = 60%) = 6 V AOUT−GAIN Î...
  • Page 83: Arithmetic Block (Arit)

    Arithmetic linking of two "analog" signals. A R I T 1 x / ( 1 - y ) Fig. 3−39 Arithmetic block (ARIT1) Signal Source Note Name Type DIS format List Lenze ARIT1−IN1 C0340/1 dec [%] C0339/1 1000 − ARIT1−IN2 C0340/2 dec [%] C0339/2 1000 −...
  • Page 84: Arithmetic Block (Aritph)

    Function library Function blocks 3.2.14 Arithmetic block (ARITPH) 3.2.14 Arithmetic block (ARITPH) Purpose The FB ARITPH calculates a angle output signal from two angle input signals. ARITPH1 Mode ARITPH1 C1010 ARITPH1-IN1 C1011/1 ±2 -1 C1012/1 ARITPH1-OUT ARITPH1-IN2 C1011/2 C1012/2 Fig. 3−41 Function block ARITPH1 Signal Source...
  • Page 85 Function library Function blocks 3.2.14 Arithmetic block (ARITPH) ARITPH4 Mode ARITPH4 C1550 ARITPH4-IN1 C1551/1 ±2 -1 C1552/1 ARITPH4-OUT ARITPH4-IN2 C1551/2 C1552/2 Fig. 3−44 Function block ARITPH4 Signal Source Note Name Type DIS format List ARITPH4−IN1 C1552/1 dec [inc] C1551/1 − ARITPH4−IN2 C1552/2 dec [inc]...
  • Page 86 Function library Function blocks 3.2.14 Arithmetic block (ARITPH) Function Selection of the arithmetic function with code ARITPH mode. The calculation is performed cyclically in the control program. The function block limits the results (see table) Code Selection number Arithmetic function Limitation Note OUT = IN1...
  • Page 87: Analog Signal Changeover Switch (Asw)

    ASW1-IN2 C0810/2 C0812/2 ASW1-SET C0811 C0813 Fig. 3−47 Changeover switch for analog signals (ASW1) Signal Source Note Name Type DIS format List Lenze ASW1−IN1 C0812/1 dec [%] C0810/1 − ASW1−IN2 C0812/2 dec [%] C0810/2 1000 − ASW1−SET C0813 C0811 1000 −...
  • Page 88 3.2.15 Analog signal changeover switch (ASW) A S W 4 Fig. 3−50 Changeover switch for analog signals (ASW4) Signal Source Note Name Type DIS format List Lenze ASW4−IN2 C1167/1 dec [%] C1165/1 1000 − ASW4−IN1 C1167/2 dec [%] C1165/2 1000 −...
  • Page 89: Holding Brake (Brk)

    Code C0172 is a pre−stage of the monitoring function OU" (overvoltage of the DC−bus voltage). Code C0172 defines the voltage difference to OU causing a reduction in torque. In the Lenze setting, the torque is reduced to "0" if the DC−bus voltage reaches 760 V (770 V − 10 V): OU threshold = 770V (C0173 = 0...3)
  • Page 90 BRK1-M-SET C0452 C0458/2 Fig. 3−51 Holding brake (BRK1) Signal Source Note Name Type DIS format List Lenze BRK1−SET C0459 C0451 1000 − BRK1−NX C0458/1 dec [%] C0450 1000 Speed threshold from which the drive may output the signal "Close brake". The signal...
  • Page 91 Function library Function blocks 3.2.16 Holding brake (BRK) 3.2.16.1 Engaging the brake Purpose A HIGH signal at the BRK1−SET input activates the function. The output BRK1−SET BRK1−QSP is simultaneously switched to HIGH. This signal can be used to decelerate the drive to zero speed via a BRK1−QSP deceleration ramp.
  • Page 92 Function library Function blocks 3.2.16 Holding brake (BRK) 3.2.16.3 Setting controller inhibit Setting controller inhibit may for instance be required in the case of a fault (LU, OU, ...). Function When the controller is inhibited (CINH), the BRK1−OUT signal is set to HIGH immediately. The drive is then braked via the mechanical brake.
  • Page 93 Function library Function blocks 3.2.16 Holding brake (BRK) BRK1−SET C0196 BRK1−QSP BRK1−M−STORE MCTRL−MACT MCTRL−MACT = C0244 BRK1−OUT C0195 BRK1−CINH MCTRL−NSET2 |BRK1−Nx| Fig. 3−53 Switching cycle when braking 3−65 EDSVS9332K−EXT EN 4.0...
  • Page 94: System Bus (Can−In)

    Function library Function blocks 3.2.17 System bus (CAN−IN) 3.2.17 System bus (CAN−IN) A detailed description of the system bus (CAN) can be found in the "CAN Communication Manual". 3.2.18 System bus (CAN−OUT) A detailed description of the system bus (CAN) can be found in the "CAN Communication Manual". 3−66 EDSVS9332K−EXT EN 4.0...
  • Page 95: Setpoint Conditioning (Cctrl)

    Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) 3.2.19 Setpoint conditioning (CCTRL) Note! For the CCTRL and CCTRL2 function blocks, partly the same codes are used. Therefore you may only use CCTRL or CCTRL2. On the basis of extended functions we recommend the use of CCTRL2.
  • Page 96 Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) Signal Source Comment Name Type DIS format List CCTRL−MRED C1341/2 dec [%] C1340/2 Gain for the torque setpoint precontrol CCTRL−NRED C1341/1 dec [%] C1340/1 Gain for the speed setpoint precontrol CCTRL−N2−SET C1343/3 C1342/3 HIGH: input CCTRL−NSET2 active CCTRL−IN...
  • Page 97 Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) Activating set profile position at CCTRL−IN Stop! Destruction of the machine! If the outputs CCTRL−PHI−SET2 and CCTRL−PHI−SET display different values when the set profile position is activated (CCTRL−N2−SET = LOW), this will result in uncontrolled machine movements due to following errors.
  • Page 98 3. Activate the compensation limitation with C1366 = 1. 4. Enter the value for the maximum compensation speed in C1365/1 (Lenze setting = 100 rpm). 5. A HIGH−LOW edge at terminal X5/E4 synchronises the drive to the set position which is output at CCTRL−PHI−SET.
  • Page 99 Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) Synchronisation via touch probe at CCTRL2−TPIN.2 The input CCTRL−TPIN is suitable for a one−time synchronisation and sets the position of the drive in standstill. Procedure: 1. Set CCTRL−TPIN/E4 = LOW. 2. Define the position of the touch probe sensor on the machine at CCTRL−TP−POS. 3.
  • Page 100 Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) Frequent zero shifting Procedure for applications with frequent zero shifting: 1. Disconnect the drive from the profile (CCTRL−N2−SET = HIGH) 2. Carry out function Set reference" via touch probe 3. Set code C1349/0 to 2 (CCTRL−TP−MODE, absolute−value encoder) 4.
  • Page 101 Function library Function blocks 3.2.19 Setpoint conditioning (CCTRL) 3.2.19.4 Speed feedforward control Via the speed feedforward control the faster control loops are activated earlier. Use this function if the drive generates a following error (negative or positive) when accelerating. Via the input CCTRL−NRED the feedforward control can be decreased or increased proportionally to the angle setpoint change dj/dt.
  • Page 102: Setpoint Conditioning (Cctrl2)

    Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) 3.2.20 Setpoint conditioning (CCTRL2) Note! For the CCTRL and CCTRL2 function blocks partly the same codes are used. Therefore you may only use CCTRL or CCTRL2. Due to its extended functions we recommend the use of CCTRL2.
  • Page 103 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) Signal Source Note Name Type DIS format List CCTRL2−MRED C1341/4 dec [%] C1340/4 Gain for the torque setpoint feedforward control CCTRL2−NRED C1341/3 dec [%] C1340/3 Gain for the speed setpoint feedforward control CCTRL2−N2−SET C1343/10 C1342/10...
  • Page 104 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) 3.2.20.1 Profile setpoint position and second machine setpoint At CCTRL2−IN, the profile setpoint position is specified. The machine setpoint position is output at CCTRL2−PHI−SET. It is the reference value for controlling the cam. For auxiliary function like inching mode, position override setpoint (e.g.
  • Page 105 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) 3.2.20.2 Homing There are different possibilities of homing the drive: For commissioning, the reference is set once (reasonable for machines with risk of collision). (¶ 3−77) After mains connection, homing is carried out once, so that the drive finds the home position. Possibilities for carrying out the homing process: –...
  • Page 106 360 ° only values in the range of −359 ° ... +719 ° may be defined at CCTRL2−TP−POS. 3. Select the source for the compensation speed: – C1735 = 0: The compensation speed is defined via C1365/1 (Lenze setting). – C1735 = 1: The compensation process is controlled by selection of a profile at CCTRL2−TP−SPEED−LIM.
  • Page 107 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) Synchronisation via touch probe at CCTRL2−TPIN.2 The input CCTRL2−TPIN is suitable for a one−time synchronisation and sets the position of the drive in standstill. Procedure: 1. Set CCTRL2−TPIN/E4 = LOW. 2. Define the position of the touch probe sensor on the machine at CCTRL2−TP−POS. 3.
  • Page 108 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) Frequent zero shifting Procedure for applications with frequent zero shifting: 1. Disconnect the drive from the profile (CCTRL2−N2−SET = HIGH) 2. Carry out function Set reference" via touch probe 3. Set input CCTRL2−N2−SET to HIGH 4.
  • Page 109 Function library Function blocks 3.2.20 Setpoint conditioning (CCTRL2) 3.2.20.4 Speed feedforward control Via the speed feedforward control the faster control loops are activated earlier. Use this function if the drive generates a contouring error (negative or positive) when accelerating. Via the input CCTRL2−NRED the feedforward control can be decreased or increased proportionally to the phase setpoint change dj/dt.
  • Page 110: Following Error Monitoring (Cerr)

    Function library Function blocks 3.2.21 Following error monitoring (CERR) 3.2.21 Following error monitoring (CERR) One function block (CERR1) is available. Purpose Following error monitoring with pre−warning stage. C E R R 1 Fig. 3−56 Following error monitoring (CERR) Signal Source Note Name Type...
  • Page 111 Function library Function blocks 3.2.21 Following error monitoring (CERR) 3.2.21.1 Evaluation of the following error The actual following error signal is generated by the function block CCTRL (output CCTRL−POUT) and is read at CERR1−PHI−IN (see e.g. signal−flow diagramm, configuration 1000). In the function block it is compared with the configurable following error limit CERR1−LIM.
  • Page 112 Function library Function blocks 3.2.21 Following error monitoring (CERR) 3.2.21.3 Output of status signals The digital outputs CERR1−ERR and CERR1−WARN indicate if the actual limit values for following errors and following error pre−warning are exceeded or fallen below. Enter a hysteresis under codes C1380/1 and C1380/2 to avoid instable behaviour at the change over point.
  • Page 113: Virtual Clutch (Clutch1)

    Function library Function blocks 3.2.22 Virtual clutch (CLUTCH1) 3.2.22 Virtual clutch (CLUTCH1) Purpose Engagement and disenConnection and disengagement of the X or Y axis. C L U T C H Fig. 3−58 Virtual clutch (CLUTCH1) Signal Source Note Name Type DIS format List CLUTCH1−MLIM...
  • Page 114 Function library Function blocks 3.2.22 Virtual clutch (CLUTCH1) 3.2.22.1 Overload monitoring The clutch function can be activated when overload occurs (e.g. torque overload). Inputs for overload monitoring CLUTCH1−MACT – Assign the actual value of the value to be monitored (e.g. MCTRL−MACT). The input signal is processed as an absolute value.
  • Page 115 Function library Function blocks 3.2.22 Virtual clutch (CLUTCH1) 3.2.22.3 Engage clutch The function is activated with a HIGH signal at input CLUTCH1−CLOSE. For the time required to start cam operation again, the function of the speed setpoint at CLUTCH1−NSET can be configured under C1410.The alternatives are as follows: Engage clutch immediately Set drive back to open−position, engage clutch Set drive to target position, engage clutch...
  • Page 116 Function library Function blocks 3.2.22 Virtual clutch (CLUTCH1) Latch at setpoint position C1410 = 3 The drive remains in standstill until CLUTCH − PHI−ACT = CLUTCH − PHI−SET. After a LOW HIGH edge at input CLUTCH1−CLOSE – the output CLUTCH1−NSET outputs the speed setpoint 0 –...
  • Page 117: Virtual Clutch (Clutch2)

    Function library Function blocks 3.2.23 Virtual clutch (CLUTCH2) 3.2.23 Virtual clutch (CLUTCH2) Purpose Position−accurate engagement of the X axis (line shaft) with adjustable acceleration and deceleration ramps. CLUTCH2 CLUTCH2-CLOSE C1416/3 CLUTCH2-OPEN C1417/3 CTRL CLUTCH2-SEL CLUTCH2-START C1416/4 CLUTCH2-DIR-ERR C1417/4 CLUTCH2-SET CLUTCH2-SET–ACT C1418/3 CLUTCH2-DIST C1419/3...
  • Page 118 Function library Function blocks 3.2.23 Virtual clutch (CLUTCH2) 3.2.23.1 Clutch engagement through ramp function with following synchronous running n=const. Fig. 3−60 Transition characteristic of a cam drive when engaging the clutch and then running synchronously After the cam drive has paused − mostly process−related − it can be synchronized again to the process with a constantly operating master drive with CLUTCH2.
  • Page 119: Clutch (Clutch 3)

    Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24 Clutch (CLUTCH 3) Purpose The CUTCH3 function block forms the interface between the external and internal master angle in synchronous systems. CLUTCH3 has the following features: Engaging and disengaging at positive or negative direction of rotation of the master angle. Disengaging with standstill at an adjustable target point or with synchronous running to a specified point.
  • Page 120 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) Signal Source Note Name Type DIS format List CLUTCH3−OPEN−INSTANT C1701/1 C1700/1 HIGH: Disengage immediately, reset fault messages CLUTCH3−CLOSE C1701/3 C1700/3 HIGH: Close clutch LOW: Open clutch CLUTCH3−TARGET−POS C1703/1 dec [inc] C1702/1 Specification of the target position CLUTCH3−DIST C1703/2 dec [inc]...
  • Page 121 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.1 Important notes A compensation function with an oversynchronous speed for engaging the clutch is not possible. This function can be implemented via the DFRFG function block. The following actions may only be carried out if the clutch is disengaged or engaged. During the process of engaging or disengaging the clutch, they will result in malfunctions.
  • Page 122 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.4 Minimum speed after disengaging Description For printing units, the drive may not be brought into standstill after disengaging, because the paint dries up. The printing unit has to continue rotating at a minimum speed. Function sequence fb_clutch3_02 Fig.
  • Page 123 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.5 Time−controlled engaging Description The engaging distance (acceleration distance), the start position and sync position result from the acceleration time Ti (C1706/3) or the deceleration time Ti (C1706/2) and from the speeds at CLUTCH3−PHI−SET and CLUTCH3−PHI–ACT.
  • Page 124 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) Calculation of the ramps fb_clutch_ Fig. 3−64 Path−time diagram: Time−controlled engaging Ti @ nN Actual duration of the process of engaging the clutch ti + (v_PHI−SET * v_PHI−ACT) Acceleration time of the ramp in C1706/3 for the clutch−engaging, relating to a speed variation from 0 to the machine speed nN v_PHI−SET Speed of the external master angle...
  • Page 125 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.7 Selection of the target position in the disengaged state Description The target position is specified if the drive has to be set to a specific position in the disengaged state. As the internal master angle corresponds to the target position, the tool position can be derived from the internal master angle.
  • Page 126 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) Function sequence fb_clutch3_12 Fig. 3−67 Angle diagram and path−time diagram: Time−controlled disengaging in target position External master angle at CLUTCH3−PHI−SET Internal master angle at CLUTCH3−PHI−ACT PHI−SET Position of the external master angle at CLUTCH3−PHI−SET after completion of the disengaging process TARGET−POS Target position specified at CLUTCH3−TARGET−POS OPEN If CLUTCH3−OPEN switches to HIGH, the clutch is disengaged...
  • Page 127 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.9 Time−controlled disengaging at disengaging position Description In the case of printing machines, the last process (printing) must be completed before the tool or the drive may be disengaged. Function sequence fb_clutch3_14 Fig.
  • Page 128 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.10 Engaging the clutch at to different positions of the external master angle Description Engaging the clutch is effected by an advancing internal master angle (PHOUT). The required acceleration distance of the internal master angle (PHOUT) is automatically calculated from the machine speed and the acceleration time Ti.
  • Page 129 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) Engaging the clutch if the external master angle PHI−SET is behind the start position fb_clutch3_05 Fig. 3−70 Angle diagram: Engaging the clutch with external master angle being the calculated start position PHI−SET Position of the external master angle at CLUTCH3−PHI−SET at the start of the process of engaging the clutch (CLUTCH3−CLOSE = HIGH) PHI−ACT...
  • Page 130 Function library Function blocks 3.2.24 Clutch (CLUTCH 3) 3.2.24.11 Time−controlled engaging Function sequence fb_clutch3_15 Fig. 3−71 Angle diagram and path−time diagram: Time−controlled engaging External master angle at CLUTCH3−PHI−SET Internal master angle at CLUTCH3−PHI−ACT PHI−SET Position of the external master angle at CLUTCH3−PHI−SET at the start of synchronising PHI−ACT Position of the internal master angle at CLUTCH3−PHI−ACT at the start of synchronising Start position...
  • Page 131: Comparator (Cmp)

    C0682 CMP1-IN1 CMP1-OUT C0683/1 C0684/1 CMP1-IN2 C0683/2 C0684/2 Fig. 3−72 Comparator (CMP1) Signal Source Note Name Type DIS format List Lenze CMP1−IN1 C0684/1 dec [%] C0683/1 5001 − CMP1−IN2 C0684/2 dec [%] C0683/2 19500 − CMP1−OUT − − − −...
  • Page 132 C0692 CMP3-IN1 CMP3-OUT C0693/1 C0694/1 CMP3-IN2 C0693/2 C0694/2 Fig. 3−74 Comparator (CMP3) Signal Source Note Name Type DIS format List Lenze CMP3−IN1 C0694/1 dec [%] C0693/1 1000 − CMP3−IN2 C0694/2 dec [%] C0693/2 1000 − CMP3−OUT − − − −...
  • Page 133 Function library Function blocks 3.2.25 Comparator (CMP) 3.2.25.1 Function 1: CMP1−IN1 = CMP1−IN2 This function serves to compare two signals with regard to equality. Hence, the comparison "actual speed equals setpoint speed (n )" can be carried out. Via code C0682 the window of equality can be set. Via code C0681 a hysteresis can be set if the input signals are not stable and cause the output to oscillate.
  • Page 134 Function library Function blocks 3.2.25 Comparator (CMP) 3.2.25.2 Function 2: CMP1−IN1 > CMP1−IN2 This function is used, for example, to implement the comparison "Actual speed is higher than a limit value (n > n )" for a direction of rotation. If the value at input CMP1−IN1 exceeds the value at input CMP1−IN2, the output CMP1−OUT changes from LOW to HIGH.
  • Page 135 Function library Function blocks 3.2.25 Comparator (CMP) 3.2.25.6 Function 6: |CMP1−IN1| < |CMP1−IN2| This function is the same as function 2. Before signal processing the absolute value of input signals (without sign) is generated. This can be used to implement the comparison "|n | <...
  • Page 136: Signal Conversion (Conv)

    CONV1 C O N V 1 fb_conv1 Fig. 3−78 Function block CONV1 Signal Source Note Name Type DIS format List Lenze CONV1−IN C0943 dec [%] C0942 1000 CONV1−OUT − − − − − Limited to ±199.99 % CONV1−DFOUT...
  • Page 137 Function blocks CONV2 C O N V 2 FB_conv2 Fig. 3−79 Function block CONV2 Signal Source Note Name Type DIS format List Lenze CONV2−IN C0948 dec [%] C0947 1000 CONV2−OUT − − − − − Limited to ±199.99 % CONV2−DFOUT −...
  • Page 138 Function library Function blocks CONV4 C O N V 4 Fig. 3−81 Function block CONV4 Signal Source Note Name Type DIS format List Lenze CONV4−IN C0958 dec [rpm] C0957 1000 CONV4−OUT − − − − − Limited to ±199.99 % CONV4−DFOUT...
  • Page 139 Function library Function blocks CONV6 C O N V 6 Fig. 3−83 Function block CONV6 Signal Source Note Name Type DIS format List Lenze CONV6−IN C1173 dec [%] C1172 1000 CONV6−OUT − − − − − Limited to ±29999 rpm This function block is used to convert analog signals into speed signals.
  • Page 140: Analog/Digital Converter (Convad)

    Function library Function blocks 3.2.27 Analog/digital converter (CONVAD) 3.2.27 Analog/digital converter (CONVAD) Conversion of an analog value into individual digital signals. CONVAD1 CONVAD1.B0 CONVAD1.B1 CONVAD1.B2 CONVAD1.B3 CONVAD1.B4 CONVAD1.B5 CONVAD1.B6 CONVAD1-IN C1580 CONVAD1.B7 C1581 CONVAD1.B8 CONVAD1.B9 CONVAD1.B10 CONVAD1.B11 CONVAD1.B12 CONVAD1.B13 CONVAD1.B14 CONVAD1-SIGN Fig.
  • Page 141 Function library Function blocks CONVAD2 CONVAD2.B0 CONVAD2.B1 CONVAD2.B2 CONVAD2.B3 CONVAD2.B4 CONVAD2.B5 CONVAD2.B6 CONVAD2-IN C1582 CONVAD2.B7 C1583 CONVAD2.B8 CONVAD2.B9 CONVAD2.B10 CONVAD2.B11 CONVAD2.B12 CONVAD2.B13 CONVAD2.B14 CONVAD2-SIGN Fig. 3−86 Analog/digital converter (CONVAD2) Signal Source Note Name Type DIS format List CONVAD2IN C1583 C1582 −...
  • Page 142: Analog/Angle Converter (Convaph)

    Function library Function blocks 3.2.28 Analog/angle converter (CONVAPH) 3.2.28 Analog/angle converter (CONVAPH) Conversion of an analog value into a angle signal. CONVAPH1 CONVAPH1 ± 2 C1590 CONVAPH1-IN CONVAPH1-OUT C1593 C1591 C1594 Signal Source Note Name Type DIS format List CONVAPH1−IN C1594 C1593 −...
  • Page 143: Angle Conversion (Convpha)

    Function library Function blocks 3.2.29 Angle conversion (CONVPHA) 3.2.29 Angle conversion (CONVPHA) Purpose Converts a angle signal into an analog signal converts a angle difference signal into a speed signal. C O N V P H A 1 Fig. 3−87 Angle conversion (CONVPHA1) Signal Source...
  • Page 144 Function library Function blocks CONVPHA2 CONVPHA2 ± 199,99% CONVPHA2-IN CONVPHA2-OUT C1611 C1610 C1612 Fig. 3−88 Function block CONVPHA2 Signal Source Note Name Type DIS format List CONVPHA2−IN C1612 dec [inc] C1611 − Limited to ±199.99 %, remainder not considered CONVPHA2−OUT −...
  • Page 145 Function library Function blocks CONVPHA3 CONVPHA3 ± 199,99% CONVPHA3-IN CONVPHA3-OUT C1616 C1615 C1617 Fig. 3−89 Function block CONVPHA3 Signal Source Note Name Type DIS format List CONVPHA3−IN C1617 dec [inc] C1616 − Limited to ±199.99 %, remainder not considered CONVPHA3−OUT −...
  • Page 146: Position Signal Conversion (Convphaa)

    Function library Function blocks 3.2.30 Position signal conversion (CONVPHAA) 3.2.30 Position signal conversion (CONVPHAA) Purpose Simultaneous transfer of two position signals by means of a CAN object. CONVPHAA1 C O N V P H A A 1 Fig. 3−90 Angle conversion (CONVPHAA1) Signal Source Note...
  • Page 147 Function library Function blocks 3.2.30 Position signal conversion (CONVPHAA) If you want to transfer two position signals at the same time, the function block CONVPHAA1 or CONVPHAA2 must be linked with the CAN object (e.g. CAN−OUT2) as follows: CAN-OUT2 Bit0 C0864/2 CAN-OUT2.W1 C0860/4...
  • Page 148: Conversion Of Stretch Factor (Convphd)

    Function library Function blocks 3.2.31 Conversion of stretch factor (CONVPHD) 3.2.31 Conversion of stretch factor (CONVPHD) One function block (CONVPHD1) is available. Purpose Exact adaptation of the incremental encoder CONVPHD1 for the adjustment of the stretch factor via freely configurable inputs C O N V P H D 1 Signal Source...
  • Page 149 Function library Function blocks 3.2.31 Conversion of stretch factor (CONVPHD) 3.2.31.2 Encoder adaptation The encoder is adapted to the controller using the freely adjustable encoder constants C1480 in CONVPHD1 Using this function block, the encoder can be adapted in increments of one (1, 2, 3, 4... 32767) instead of in increments of 2 etc., when using DFIN.
  • Page 150: Angle Conversion (Convphph)

    Function library Function blocks 3.2.32 Angle conversion (CONVPHPH) 3.2.32 Angle conversion (CONVPHPH) Purpose Conversion of a angle signal with dynamic fraction. C O N V P H P H 1 Fig. 3−92 Angle conversion (CONVPHPH1) Signal Source Note Name Type DIS format List CONVPHPH1−IN...
  • Page 151: Conversion (Convphphd1)

    Function library Function blocks 3.2.33 Conversion (CONVPHPHD1) 3.2.33 Conversion (CONVPHPHD1) A angle change is converted into a speed (digital frequency). C O N V P H P H D 1 Signal Source Note Name Type DIS format List CONVPHPHD1−IN 1451/1 dec [inc] 1450/1 Angle input (ref.: 65536 inc = 1 motor revolution)
  • Page 152: Conversion (Convphphd2)

    C1454 C1455 FB_convphphd2 Fig. 3−93 Conversion (CONVPHPHD2) Signal Source Note Name Type DIS format List Lenze CONVPHPHD2−IN 1451/2 dec [inc] 1450/2 1000 Angle input (reference: 65536 inc = 1 revolution) CONVPHPHD2−RESET 1455 dec [inc] 14554 1000 As long as CONVPHPHD2−RESET = HIGH, the signal at CONVPHPHD2−OUT is set to n = 0.
  • Page 153 Function library Function blocks 3.2.34 Conversion (CONVPHPHD2) STOP! The function block can evaluate signal jumps at the input CONVPHPHD2−IN up to max. 2147483647 inc (2 −1). At higher signal jumps the sign of the output signal changes. A position loss occurs which cannot be compensated anymore. You must carry out a reset (CONVPHPHD2−RESET = HIGH).
  • Page 154: Speed Conversion (Convpp)

    Function library Function blocks 3.2.35 Speed conversion (CONVPP) 3.2.35 Speed conversion (CONVPP) Purpose Conversion of a speed signal with dynamic fraction. C O N V P P 1 Fig. 3−95 Speed conversion (CONVPP1) Signal Source Note Name Type DIS format List CONVPP1−IN C1253...
  • Page 155: Profile Selection (Csel)

    Function library Function blocks 3.2.36 Profile selection (CSEL) 3.2.36 Profile selection (CSEL) One function block (CSEL1) is available. Purpose Selection of one profile out of eight possible profiles. Selection of an event profile C S E L 1 Signal Source Note Name Type...
  • Page 156 Function library Function blocks 3.2.36 Profile selection (CSEL) 3.2.36.1 Change of the input bit pattern 1st input 2nd input 3rd input CSEL1−LOAD CSEL1−Event Output CSEL1−CAM*1 CSEL1−CAM*2 CSEL1−CAM*4 CSEL1−OUT ³ ³ ³ ³ ³ ³ ³ ³ Value in C1420 * − Signal status has no meaning Depending on the number of profiles used, not all inputs must be assigned for the profile selection.
  • Page 157: Characteristic Function (Curve)

    C h a r a c t e r i s t i c 3 CURVE1 Fig. 3−96 Characteristic function (CURVE1) Signal Source Note Name Type DIS format List Lenze CURVE1−IN C0968 dec [%] C0967 5001 − CURVE1−OUT − − −...
  • Page 158 Function library Function blocks 3.2.37 Characteristic function (CURVE) 3.2.37.1 Characteristic with two interpolation points Set C0960 = 1. CURVE1-OUT y100 C0964 C0961 -100% 100% CURVE1-IN -C0961 -C0964 Fig. 3−97 Line diagram of characteristic with 2 interpolation points 3.2.37.2 Characteristic with three interpolation points Set C0960 = 2.
  • Page 159 Function library Function blocks 3.2.37 Characteristic function (CURVE) 3.2.37.3 Characteristic with four interpolation points Set C0960 = 3. CURVE1-OUT y100 C0964 C0962 C0961 -100% C0963 -C0966 -C0965 -C0963 C0965 C0966 100% CURVE1-IN -C0961 -C0962 -C0964 Fig. 3−99 Line diagram of characteristic with 4 interpolation points 3−131 EDSVS9332K−EXT EN 4.0...
  • Page 160: Characteristic Function (Curvec)

    Function library Function blocks 3.2.38 Characteristic function (CURVEC) 3.2.38 Characteristic function (CURVEC) Purpose The function block serves to map analog profiles. C U R V E C 1 fb_curvec Fig. 3−100 Characteristic function (CURVEC) Signal Source Note Name Type DIS/selectio DIS format List CURVEC1−SEL−IN...
  • Page 161 Function library Function blocks 3.2.38 Characteristic function (CURVEC) Function Identical with FB CDATA, but with reduced functionality (cam position profile) General characteristic Selection between general cam position profile and characteristic function Via CURVEC1−SEL−IN you can select which input (−AIN or −IN) is to be processed. It is possible to change between a (quasi) analog input (16−bit input) and an input for angle signals (32 bit input).
  • Page 162 Function library Function blocks 3.2.38 Characteristic function (CURVEC) Profiles with relative feed Profiles with relative feed are used in continuous drives. The final value of such profiles is not identical with its initial position. Continuous drives are for instance: conveyor belts rotary tables with feed along the entire revolution.
  • Page 163 Function library Function blocks 3.2.38 Characteristic function (CURVEC) Max. permissible input value exceeded A fault is indicated for input values X>Xmax: CURVEC1−X > X = HIGH Furthermore, the output will show the y value which would result from the profile function for X=Xmax. Note! is already determined when the profile is generated (GDC).
  • Page 164: Dead Band (Db)

    The dead band element is used to set interfering influences around zero, e.g. interferences on analog input voltages, to digital zero. D B 1 Fig. 3−101 Dead band element (DB1) Signal Source Note Name Type DIS format List Lenze DB1−IN C0623 dec [%] C0622 1000 − DB1−OUT − − − −...
  • Page 165: Drive Control (Dctrl)

    C0876 DCTRL-STAT*8 C0878/4 DCTRL-INIT fb_dctrl Fig. 3−103 Control of the controller (DCTRL) Signal Source Note Designation Type DIS format List Lenze DCTRL−CINH1 C0878/1 C0870/1 1000 HIGH = inhibit controller DCTRL−CINH2 C0878/2 C0870/2 1000 HIGH = inhibit controller DCTRL−TRIP−SET C0878/3 C0871 HIGH = error message EEr DCTRL−TRIP−RESET...
  • Page 166 Function library Function blocks 3.2.40 Drive control (DCTRL) Function Quick stop (QSP) Operation inhibited (DISABLE) Controller inhibit (CINH) TRIP set TRIP reset Change of parameter set (PAR) Controller state 3.2.40.1 Quick stop (QSP) The drive is braked to standstill via the deceleration ramp C105 and generates a holding torque. The function can be controlled by three inputs –...
  • Page 167 Function library Function blocks 3.2.40 Drive control (DCTRL) 3.2.40.3 Controller inhibit (CINH) Note! When the controller changes to an LU message or an OU message, the signal DCTRL−CINH is not set. The power output stages are inhibited. All controllers are reset. The function can be controlled via seven inputs: –...
  • Page 168 Function library Function blocks 3.2.40 Drive control (DCTRL) Note! If one of the inputs is set to HIGH, it is not possible that a LOW−HIGH edge occurs at the resulting signal. 3.2.40.6 Controller state The status is binary coded via the outputs DCTRL−STAT*x. These outputs are connected with the STAT function block inside the device.
  • Page 169: Digital Frequency Input (Dfin)

    Function library Function blocks 3.2.41 Digital frequency input (DFIN) 3.2.41 Digital frequency input (DFIN) Purpose Converting and scaling a pulsed current at the digital frequency input X9 into a speed and angle setpoint. The digital frequency is transferred in a high−precision mode (without offset and gain errors). C0427 DFIN DFIN-OUT...
  • Page 170 Function library Function blocks 3.2.41 Digital frequency input (DFIN) C0427 = 1 Fig. 3−106 Control of direction of rotation via track B CW rotation Track A transmits the speed Track B = LOW (positive value at DFIN−OUT) CCW rotation Track A transmits the speed Track B = HIGH (negative value at DFIN−OUT) C0427 = 2 Fig.
  • Page 171 Function library Function blocks 3.2.41 Digital frequency input (DFIN) Signal adaptation Finer resolutions than the power−of−two format can be implemented by the downstream connection of an FB (e.g. CONV3 or CONV4). Example: The FB CONV3 converts the speed signal into a quasi−analog signal. Conversion according to formula: @ C0950 CONV3−OUT [%] + f [Hz] @...
  • Page 172: Digital Frequency Output (Dfout)

    Function library Function blocks 3.2.42 Digital frequency output (DFOUT) 3.2.42 Digital frequency output (DFOUT) Purpose Converts internal speed signals into frequency signals and outputs them to subsequent drives. The transmission is highly precise (without offset and gain errors). C0030 DFOUT C0540 DFOUT-OUT DFOUT-DF-IN...
  • Page 173 Function library Function blocks 3.2.42 Digital frequency output (DFOUT) 3.2.42.1 Output signals on X10 Fig. 3−110 Signal sequence for CW rotation (definition) The output signal corresponds to the simulation of an incremental encoder: – Track A, B and, if necessary, zero track as well as the corresponding inverted tracks are output with tracks shifted by 90 degrees.
  • Page 174 Function library Function blocks 3.2.42 Digital frequency output (DFOUT) 3.2.42.2 Output of an analog signal For this purpose, set code C0540 = 0. The value applied at input DFOUT−AN−IN is converted into a frequency. Transfer function No. of increments from C0030 @ C0011 f [Hz] + DFOUT * AN * IN [%] @ Example:...
  • Page 175 Function library Function blocks 3.2.42 Digital frequency output (DFOUT) 3.2.42.4 Encoder simulation of the resolver Set C0540 = 2 or C0540 = 3 (depending on the desired generation of the zero track) The function is used when a resolver is connected to X7. The encoder constant for output X10 is set in C0030.
  • Page 176: Digital Frequency Ramp Function Generator (Dfrfg)

    Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43 Digital frequency ramp function generator (DFRFG) Purpose The drive (motor shaft) is synchronised to a digital frequency (phase selection). The drive then performs a phase−synchronous operation with the digital frequency. D F R F G 1 FB_dfrfg1 Fig.
  • Page 177 Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43.1 Profile generator DFRFG-OUT C0751 C0751 C0755 DFRFG-IN C0752 DFRFG-SYNC Fig. 3−112 Synchronisation on DFRFG The profile generator generates ramps which lead the setpoint phase to its target position. Set acceleration and deceleration via C0751.
  • Page 178 Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43.2 Quick stop Removes the drive from the network and brakes it to standstill. Activate with DFRFG−QSP = HIGH. Set deceleration time via C0753. Store the setpoint phase detected at DFRFG−IN. Approach the setpoint phase via the profile generator after resetting the quick stop request.
  • Page 179 Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43.4 RESET DFRFG−RESET = HIGH: Resets setpoint phases which are internally added. Activates the profile generator. HIGH−LOW edge at DFRFG−RESET: Detecting the setpoint phase. 3.2.43.5 Detect phase difference Monitoring the phase difference between input DFRFG−IN and output DFRFG−OUT. Set limit value of monitoring via C0754.
  • Page 180 Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43.6 Start via touch probe initiator (terminal X5/E5) Stop! In the default setting the terminal X5/E5 is assigned to another function. Function Set C0757 = 1. The function is activated by simultaneously setting the inputs: –...
  • Page 181 Function library Function blocks 3.2.43 Digital frequency ramp function generator (DFRFG) 3.2.43.7 Correction of the touch probe initiator (terminal X5/E5) Delay times during the activation of the initiator cause a speed−dependent phase offset (e.g. during positioning, synchronising). In order to take this angular offset into account, the response time [ms] of the initiators as a function of the setpoint speed DFRFG−IN is converted to a phase angle correction and is then taken into consideration in the setpoint angle.
  • Page 182: Digital Frequency Processing (Dfset)

    Function library Function blocks 3.2.44 Digital frequency processing (DFSET) 3.2.44 Digital frequency processing (DFSET) Purpose Conditions the digital frequency for the controller. Input of the stretch factor, gearbox factor, and speed or phase trimming. DFSET DFSET-0-PULSE C0525 C0430/5 C0532 C0534 C0538/1 C0531 X5/E4...
  • Page 183 Function library Function blocks 3.2.44 Digital frequency processing (DFSET) Function Setpoint conditioning with stretch and gearbox factor Processing of correction values Synchronising to zero track or touch probe (for resolver feedback touch probe only) 3.2.44.1 Setpoint conditioning with stretch and gearbox factor Stretch factor Defines the ratio between the drive and the setpoint.
  • Page 184 Function library Function blocks 3.2.44 Digital frequency processing (DFSET) Phase trimming This adds a setpoint at DFSET−A−TRIM to the phase setpoint (see code C0536/3) and changes the rotor position to the setpoint with the number of increments provided in either direction (drive is leading or lagging).
  • Page 185 Function library Function blocks 3.2.44 Digital frequency processing (DFSET) Stop! When the synchronisation via the terminals X5/E4 and X5/E5 (C0532 = 2) is activated, no further control signals must be taken from these terminals. Changing the configuration via C0005 assigns the terminals with a basic setting.
  • Page 186: Delay Elements (Digdel)

    DIGDEL1 C0720 C0721 DIGDEL1-IN DIGDEL1-OUT C0723 C0724 Fig. 3−118 Delay element (DIGDEL1) Signal Source Note Name Type DIS format List Lenze DIGDEL1−IN C0724 C0723 1000 − DIGDEL1−OUT − − − − − − DIGDEL2 C0725 C0726 DIGDEL2-IN...
  • Page 187 Function library Function blocks 3.2.45 Delay elements (DIGDEL) 3.2.45.1 On−delay If the on−delay is set, a signal change from LOW to HIGH at the input DIGDELx−IN is passed on to the DIGDELx−OUT output after the delay time set under C0721 or C0726 has elapsed. DIGDEL1−IN C0721 C0721...
  • Page 188 Function library Function blocks 3.2.45 Delay elements (DIGDEL) 3.2.45.3 General delay A general delay causes any signal change at the input DIGDELx−IN to be passed onto the output DIGDELx−OUT only after the time set under C0721 or C0726 has elapsed. DIGDEL1−IN C0721 Î...
  • Page 189: Freely Assignable Digital Inputs (Digin)

    DIGIN2 DIGIN3 DIGIN4 DIGIN5 C0443 Fig. 3−123 Freely assignable digital inputs (DIGIN) Signal Source Note Name Type DIS format List Lenze DIGIN−CINH − − − − Controller inhibit acts directly on the DCTRL control DIGIN1 C0443 − − − −...
  • Page 190: Freely Assignable Digital Outputs (Digout)

    DIGOUT3 C0117/3 DIGOUT4 C0117/4 C0444/1 C0444/2 C0444/3 C0444/4 Fig. 3−124 Freely assignable digital outputs (DIGOUT) Signal Source Note Name Type DIS format List Lenze DIGOUT1 C0444/1 C0117/1 15000 − DIGOUT2 C0444/2 C0117/2 10650 − DIGOUT3 C0444/3 C0117/3 − DIGOUT4 C0444/4...
  • Page 191: First Order Derivative−Action Element (Dt1)

    ±199.99 % DT1-1-IN DT1-1-OUT C0652 C0654 fb_dt1−1 Fig. 3−125 First order derivative−action element (DT1−1) Signal Source Note Name Type DIS format List Lenze DT1−1−IN C0654 dec [%] C0652 1000 − DT1−1−OUT − − − − − Limited to ±199.99 % Function The gain is set under C0650.
  • Page 192: Extrapolation (Extpol1)

    Function library Function blocks 3.2.49 Extrapolation (EXTPOL1) 3.2.49 Extrapolation (EXTPOL1) Optimisation of running features E X T P O L 1 Signal Source Note Name Type DIS format List EXTPOL1−AIN 1371/1 1370/1 Speed input EXTPOL1−PHIN 1375/1 1374/1 Position input EXTPOL1−STAT 13451 −...
  • Page 193 Function library Function blocks 3.2.49 Extrapolation (EXTPOL1) Function block interconnection The function blocks must be connected in both drives (master and slave). CAN-OUT2 Bit0 C0864/2 CAN-OUT2.W1 C0860/4 C0868/4 CAN-OUT2.W2 C0860/5 C0868/5 Bit15 FDO-0 C0116/1 C0865/2 16 bits FDO-15 Low word C0116/16 FDO-16 C0116/17...
  • Page 194 Function library Function blocks 3.2.49 Extrapolation (EXTPOL1) Settings Note! FB EXTPOL1 does not require setting. It must however be ensured, that numerator (C0950) and denominator (C0951) are 1 in the function block CONV3 of the master. Status signal EXTPOL1−STAT = HIGH –...
  • Page 195: Extrapolation (Extpol2)

    Function library Function blocks 3.2.50 Extrapolation (EXTPOL2) 3.2.50 Extrapolation (EXTPOL2) Optimisation of running features (function like EXTPOL1) Smoothing of a low−resolution absolute value encoder (angle encoder) Position detection while line shaft" crosses zero E X T P O L 2 fb_extpol2 Signal Source...
  • Page 196 Function library Function blocks 3.2.50 Extrapolation (EXTPOL2) CAN-OUT2 Bit0 C0864/2 CAN-OUT2.W1 C0860/4 C0868/4 CAN-OUT2.W2 C0860/5 C0868/5 Bit15 FDO-0 C0116/1 C0865/2 16 bits Low word FDO-15 C0116/16 FDO-16 C0116/17 16 bits High word FDO-31 C0116/32 16 bits Bit31 Low word CAN-OUT2.D1 CDATA-XPOS C0861/2 Bit0...
  • Page 197 Function library Function blocks 3.2.50 Extrapolation (EXTPOL2) Please see figures Fig. 3−129 and Fig. 3−130 for the interconnections of master and slave. Differences to EXTPOL1: In the master only the X position (CDATA−X−POS) is sent The slave just receives the X position Settings Code C1379 –...
  • Page 198: Free Piece Counter (Fcnt)

    Function library Function blocks 3.2.51 Free piece counter (FCNT) 3.2.51 Free piece counter (FCNT) Purpose Digital up/down counter F C N T 1 Fig. 3−131 Free piece counter (FCNT1) Signal Source Note Name Type DIS format List FCNT1−CLKUP C1104/1 C1102/1 LOW−HIGH edge = counts up by 1 FCNT1−CLKDWN C1104/2...
  • Page 199: Free Codes (Fcode) Of The Measuring Systems

    Function library Function blocks 3.2.52 Free codes (FCODE) of the measuring systems 3.2.52 Free codes (FCODE) of the measuring systems A measuring system is described via the gearbox factor (numerator and denominator) and the feed constant. These scaling factors have an effect on the conversion of units into increments. The measuring systems have an effect on free codes.
  • Page 200: Free Digital Outputs (Fdo)

    Function library Function blocks 3.2.53 Free digital outputs (FDO) 3.2.53 Free digital outputs (FDO) Purpose This function block can be used to connect digital signals via C0151, the function block AIF−OUT and function block CAN−OUT to the connected fieldbus systems. FDO-0 C0116/1 FDO-1...
  • Page 201 Function library Function blocks 3.2.53 Free digital outputs (FDO) Signal Source Note Name Type DIS format List Lenze FDO−0 C0151 C0116/1 1000 FDO−1 C0151 C0116/2 1000 FDO−2 C0151 C0116/3 1000 FDO−3 C0151 C0116/4 1000 FDO−4 C0151 C0116/5 1000 FDO−5 C0151...
  • Page 202: Freely Assignable Input Variables (Fevan)

    Function library Function blocks 3.2.54 Freely assignable input variables (FEVAN) 3.2.54 Freely assignable input variables (FEVAN) Purpose Transfer of analog signals to any code. At the same time, the FB converts the signal into the data format of the target code. F E V A N 1 S &...
  • Page 203 Function library Function blocks 3.2.54 Freely assignable input variables (FEVAN) Function Conversion of the read data via: – Numerator, denominator. – Offset. Selection of a target code for the read data. Codes for the conversion of the read data and for the selection of the target code Selection of the target code Function block Numerator...
  • Page 204 Function library Function blocks 3.2.54 Freely assignable input variables (FEVAN) Conversion Conversion at the example of FB FEVAN1. The data format of the target code is important for the conversion (see attribute table). Adapt the input signal to the data format of the target code with: –...
  • Page 205 Function library Function blocks 3.2.54 Freely assignable input variables (FEVAN) Example 1 (only for FIX32 format with % scaling): F E V A N 1 S & H C T R L Fig. 3−137 Interconnection example of a circuit for FIX32 format with % scaling Task: C0472/1 = 1.05 %.
  • Page 206 Function library Function blocks 3.2.54 Freely assignable input variables (FEVAN) Example 2 (only for FIX32 format without % scaling): Task: C0473/1 = 1000. Write this value to C0011. Configuration: Connect FEVAN1−IN (C1096) with FCODE−473/1 (19551). Connect FEVAN1−LOAD (C1097/1) with FCODE−471.B0 (19521). Parameter setting: Set C1091 = 11 (¢...
  • Page 207: Fixed Setpoints (Fixset)

    C0564/4 Fig. 3−138 Fixed setpoint (FIXSET1) Signal Source Note Name Type DIS format List Lenze FIXSET1−AIN C0563 dec [%] C0561 1000 The input is switched to the output if a LOW level is applied to all selection inputs FIXSET−INx. FIXSET1−IN1*1...
  • Page 208 Function library Function blocks 3.2.55 Fixed setpoints (FIXSET) 3.2.55.1 Release of the FIXSET1 setpoints Number of the fixed setpoints required Number of inputs to be assigned at least 1 1 ... 3 at least 2 4 ... 7 at least 3 8 ...
  • Page 209: Flipflop Element (Flip)

    FLIP1-CLK C0771 C0773/2 FLIP1-CLR C0772 C0773/3 Fig. 3−139 Flipflop element (FLIP1) Signal Source Note Name Type DIS format List Lenze FLIP1−D C0773/1 C0770 1000 − FLIP1−CLK C0773/2 C0771 1000 Evaluates LOW−HIGH edges only FLIP1−CLR C0773/3 C0772 1000 Evaluates the input level only: input has highest priority FLIP1−OUT...
  • Page 210 C1060/2 C1061/2 FLIP3−CLR C1060/3 C1061/3 FB_flip3 Fig. 3−141 Flipflop element (FLIP3) Signal Source Note Name Type DIS format List Lenze FLIP3−D C1061/1 C1060/1 1000 − FLIP3−CLK C1061/2 C1060/2 1000 Evaluates LOW−HIGH edges only FLIP3−CLR C1061/3 C1060/3 1000 Evaluates the input level only: input has highest priority FLIP3−OUT...
  • Page 211 Function library Function blocks 3.2.56 Flipflop element (FLIP) Function FLIPx−D FLIPx−CLK FLIPx−OUT Fig. 3−143 Function sequence of a flipflop The input FLIPx−CLR always has priority. If a HIGH level is applied at the input FLIPx−CLR, the output FLIPx−OUT is set to and maintained at a LOW level al long as this input is at a HIGH level.
  • Page 212: Flipflop Element (Flipt)

    C1060/8 C1061/8 FLIPT1−CLR C1060/9 C1061/9 fb_flipt1 Fig. 3−144 Flipflop element (FLIPT1) Signal Source Note Name Type DIS format List Lenze FLIPT1−D C1061/7 C1060/7 1000 − FLIPT1−CLK C1061/8 C1060/8 1000 Evaluates LOW−HIGH edges only FLIPT1−CLR C1061/9 C1060/9 1000 Evaluates LOW−HIGH edges only FLIPT1−OUT...
  • Page 213 Function library Function blocks 3.2.57 Flipflop element (FLIPT) Function FLIPTx−D FLIPTx−CLK FLIPTx−CLR FLIPTx−OUT Fig. 3−146 Function sequence of the FLIPTx flipflop element Via a LOW−HIGH edge at input FLIPTx−CLK, the level at the input FLIPTx−D is switched to the output FLIPTx−OUT. The output FLIPTx−OUT is reset to LOW by means of a LOW−HIGH edge at input FLIPTx−CLR.
  • Page 214: Gearbox Compensation (Gearcomp)

    Function library Function blocks 3.2.58 Gearbox compensation (GEARCOMP) 3.2.58 Gearbox compensation (GEARCOMP) Purpose Compensates elasticities in the drive train (e.g. gearbox torsion). Implementation of an adaptive linkage of e.g. the phase setpoint (32 bits) and the torque feedforward control (14 bits). G E A R C O M P Fig.
  • Page 215: Limiting Element (Lim)

    C0630 LIM1-IN LIM1-OUT C0632 C0633 C0631 Fig. 3−148 Limiting element (LIM1) Signal Source Note Name Type DIS format List Lenze LIM1−IN1 C0633 dec [%] C0632 1000 − LIM1−OUT − − − − − − Function If the input signal exceeds the upper limit (C0630), the upper limit is effective.
  • Page 216: Limiting Element (Limphd1)

    C1084/2 fb_limphd1 Fig. 3−149 Limiting element (LIMPHD1) Signal Source Note Name Type DIS format List Lenze LIMPHD1−RESET C1081/1 C1080/1 1000 HIGH = overflow buffer is cleared Input has the highest priority LIMPHD1−NO−LIM C1081/2 C1080/2 1000 HIGH = The limitation set via C1084/1 and C1084/2 is switched off The overflow buffer is cleared.
  • Page 217 LIMPHD1−NO−LIM = HIGH is used to switch off the parameterisable limitation. The speed signal is limited to ±29999 rpm. – If C1085 = 0 (Lenze setting), the overflow buffer is cleared. The position gets lost. – If C1085 = 1, the overflow buffer is cleared. The increments at output LIMPHD1−DFOUT. The position is not lost.
  • Page 218: Internal Motor Control (Mctrl)

    Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61 Internal motor control (MCTRL) Purpose This function block controls the drive machine consisting of angle controller, speed controller, and motor control. MCTRL DCTRL-QSP > – MCTRL-QSP-OUT MCTRL-QSP C0900 C0042 MCTRL-NSET2 C0907/3 MCTRL-HI-M-LIM C0050...
  • Page 219 Function library Function blocks 3.2.61 Internal motor control (MCTRL) Signal Source Note Name Type DIS format List Lenze MCTRL−PHI−SET C0908 dec [inc] C0894 1000 Angle controller input for difference of setpoint angle to actual angle MCTRL−N−SET C0906/1 dec [%] C0890...
  • Page 220 Function library Function blocks 3.2.61 Internal motor control (MCTRL) Function Current controller Torque limitation Additional torque setpoint Speed controller Torque control with speed limitation Speed setpoint limitation Angle controller Quick stop QSP Field weakening Switching frequency changeover 3.2.61.1 Current controller Adapt current controller via C0075 (proportional gain) and C0076 (reset time) to the machine connected.
  • Page 221 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.3 Torque limitation Via the inputs MCTRL−LO−M−LIM and MCTRL−HI−M−LIM an external torque limitation can be set. This serves to set different torques for the quadrants "driving" and "braking". MCTRL−HI−M−LIM is the upper torque limit in [%] of the max. possible torque (C0057). MCTRL−LO−M−LIM is the lower torque limit in [%] of the max.
  • Page 222 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.4 Speed controller The speed controller is designed as an ideal PID controller. Parameter setting If you select a motor via C0086, the parameters are preset so that only a few (if any) adaptations to the application are necessary.
  • Page 223 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.5 Torque control with speed limitation This function is activated with MCTRL−N/M−SWT = HIGH. A second speed controller (auxiliary speed controller) is connected for the speed limitation. MCTRL−M−ADD acts as bipolar torque setpoint. The n−controller 1 is used to create the upper speed limit.
  • Page 224 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.7 Angle controller The angle controller is required to achieve angular synchronism and drift−free standstill. Note! Select a configuration with digital frequency coupling in C0005 since this serves to link all important signals automatically. On this basis the system can be optimised. Activating the angle controller 1.
  • Page 225 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.8 Quick stop QSP The QSP function is used to stop the drive within an adjustable time independently of the setpoint selection. The QSP function is active if the input MCTRL−QSP is triggered with HIGH. if the controller is triggered via the control words (DCTRL).
  • Page 226 Function library Function blocks 3.2.61 Internal motor control (MCTRL) 3.2.61.9 Field weakening The field weakening range does not need to be set if the motor type has been set in C0086. In this case all settings required are made automatically. The motor is operated in the field weakening mode the output voltage of the controller exceeds the rated motor voltage set in C0090, the controller cannot increase the output voltage with rising speed any more because of the mains voltage / DC−bus voltage.
  • Page 227: Mains Failure Control (Mfail)

    MFAIL-SET C0977 C0988/6 Fig. 3−151 Mains failure control (MFAIL) Signal Source Note Name Type DIS format List Lenze MFAIL−N−SET C0988/1 dec [%] C0970 1000 Speed setpoint in [%] of C0011 MFAIL−ADAPT C0988/2 dec [%] C0973 1000 Dynamic adaptation of the proportional...
  • Page 228 Function library Function blocks 3.2.62 Mains failure control (MFAIL) Range of functions Mains failure detection Mains failure control Restart protection Reset of the mains failure control Dynamic adaptation of the control parameters Fast mains recovery (auto reclosure) Application examples 3.2.62.1 Mains failure detection A failure of the controller’s power supply can be detected by evaluating the DC−bus voltage or...
  • Page 229 Function library Function blocks 3.2.62 Mains failure control (MFAIL) External system for mains failure detection (934x supply module) A digital output of the supply module 934x is connected to the function block MFAIL via the digital inputs DIGIN of the controller 93XX. In the example the input X5/E4 is used. For this purpose link the signals as follows: –...
  • Page 230 Function library Function blocks 3.2.62 Mains failure control (MFAIL) 3.2.62.2 Mains failure control Integration of the function block into the signal flow of the controller As an example, the function block is integrated into the basic configuration C0005 = 1000 (speed control).
  • Page 231 Function library Function blocks 3.2.62 Mains failure control (MFAIL) Activation MFAIL−FAULT = HIGH activates the mains failure control. MFAIL−FAULT = LOW triggers a timing element. After the time set under C0983 has elapsed, the mains failure control is completed/cancelled (see description of mains recovery, chapter 3.2.62.6).
  • Page 232 Function library Function blocks 3.2.62 Mains failure control (MFAIL) Parameter setting The parameters to be set depend strongly on the motor used, the inertia of the driven machine and the drive configuration (single drive, drive network, master/slave operation etc.). For this reason, this function must be adjusted to the prevailing application case.
  • Page 233 Function library Function blocks 3.2.62 Mains failure control (MFAIL) FB_mfail_7 Message LU Message OU Mains voltage range C0173 < 400 V 285 V 430 V 755 V 770 V 400 V 285 V 430 V 755 V 770 V 400 V ... 460 V 328 V 473 V 755 V...
  • Page 234 Function library Function blocks 3.2.62 Mains failure control (MFAIL) Commissioning The commissioning should be carried out with motors without load. 1. The drive can be started with a LOW−HIGH edge at X5/E5. 2. Set the acceleration time Tir: – Set speed setpoint to 100%, operate controller with maximum speed. –...
  • Page 235 Function library Function blocks 3.2.62 Mains failure control (MFAIL) Fine adjustment Fig. 3−157 Schematic representation with different brake torques t = t1 Mains failure t = t2 Zero speed with higher braking torque (short adjustment time) t = t3 Drive reaches the LU switch−off threshold with lower brake torque (higher adjustment time) without reaching speed 0 t >...
  • Page 236 Function library Function blocks 3.2.62 Mains failure control (MFAIL) 3. Increase of the deceleration time or reduction of the brake torque (see Fig. 3−157) is only possible with restrictions: – An increase of the acceleration time MFAIL T (C0982) reduces the initial brake torque and simultaneously increases the deceleration time.
  • Page 237 All controllers must be operated via the terminals +UG, −UG in the DC−bus connection. For this, the information in the "Dimensioning" chapter must be observed. Note! Further information and predefined configurations can be obtained from Lenze. 3−209 EDSVS9332K−EXT EN 4.0...
  • Page 238: Motor Phase Failure Detection (Mlp)

    Motor phase failure detection (MLP) Purpose Motor phase monitoring. MLP1 Fig. 3−158 Motor phase failure detection (MLP1) Code Possible settings Important Lenze Selection C0597 MONIT LP1 Trip Conf. LP1 Warning Configuration of motor phase failure monitoring C0599 LIMIT LP 1 {0.1}...
  • Page 239: Monitor Outputs Of Monitoring System (Monit)

    Function library Function blocks 3.2.64 Monitor outputs of monitoring system (MONIT) 3.2.64 Monitor outputs of monitoring system (MONIT) Purpose The monitoring functions output digital monitor signals. MONIT nErr FB_monit Fig. 3−159 Monitor outputs of the monitoring system (MONIT) Function The MONIT outputs switch to HIGH level if one of the monitoring functions responds. The digital monitor signals switches dynamically, i.e.
  • Page 240: Motor Potentiometer (Mpot)

    MPOT1-OUT C0268 CRTL C0269/3 C0263 MPOT1-DOWN C0261 C0267/2 C0269/2 Fig. 3−160 Motor potentiometer (MPOT1) Signal Source Note Name Type DIS format List Lenze MPOT1−UP C0269/1 C0267/1 1000 − MPOT1−INACT C0269/3 C0268 1000 − MPOT1−DOWN C0269/2 C0267/2 1000 − MPOT1−OUT −...
  • Page 241 Function library Function blocks 3.2.65 Motor potentiometer (MPOT) Function Control of the motor potentiometer: MPOT1−UP = HIGH – The motor potentiometer approaches its upper limit value. MPOT1−DOWN = HIGH – The motor potentiometer approaches its lower limit value. MPOT1−UP = LOW and MPOT1−DOWN = LOW or MPOT1−UP = HIGH and MPOT1−DOWN = HIGH: –...
  • Page 242 Function library Function blocks 3.2.65 Motor potentiometer (MPOT) C0264 = Meaning No further action; the value of output MPOT1−OUT remains unchanged The motor potentiometer returns to 0 % with the corresponding deceleration time The motor potentiometer approaches the lower limit value with the corresponding deceleration time (C0261) (Important for EMERGENCY−OFF function) The motor potentiometer immediately changes its output to 0%.
  • Page 243: Master Selection (Msel)

    Function library Function blocks 3.2.66 Master selection (MSEL) 3.2.66 Master selection (MSEL) Two function blocks (MSEL1 and MSEL2) are available Purpose Selection of a master value source from four possible master values MSEL1: FB for digital frequency or speed signals MSEL2: FB for angle signals MSEL1 M S E L 1...
  • Page 244 Function library Function blocks 3.2.66 Master selection (MSEL) MSEL2 M S E L 2 Fig. 3−164 Master selection (MSEL2) Signal Source Note Name Type DIS format List MSEL2−EN−M1 1395/6 1394/6 Activation of master value 1 MSEL2−EN−M2 1395/7 1394/7 Activation of master value 2 MSEL2−EN−M3 1395/8 1394/8...
  • Page 245 Function library Function blocks 3.2.66 Master selection (MSEL) Function 1 from 4 selection of the master value source Fixing the selection The description applies to both function blocks. Please consider this for the following functional description of the MSEL1. 3.2.66.1 1 from 4 selection of the master value source One master value source each can be connected to the inputs MSEL1−DFIN(1...4).
  • Page 246: Logic Not

    Logic inversion of digital signals. The inversion can be used to control functions or generate status information. NOT1 NOT1-IN NOT1-OUT C0840 C0841 Fig. 3−165 Logic NOT (NOT1) Signal Source Note Name Type DIS format List Lenze NOT1−IN C0841 C0840 1000 − NOT1−OUT − − − − − − NOT2 NOT2-IN NOT2-OUT...
  • Page 247 3.2.67 Logic NOT NOT5 NOT5-IN NOT5-OUT C0848 C0849 Fig. 3−169 Logic NOT (NOT5) Signal Source Note Name Type DIS format List Lenze NOT5−IN C0849 C0848 1000 − NOT5−OUT − − − − − − Function NOTx−IN1 NOTx−OUT The function corresponds to a change from an NO contact to an NC contact in a contactor control.
  • Page 248: Speed Setpoint Conditioning (Nset)

    Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) 3.2.68 Speed setpoint conditioning (NSET) Purpose This FB conditions the main speed setpoint and an additional setpoint (or other signals as well) for the following control structure via ramp function generators or fixed speeds. N S E T x / ( 1 - y ) Fig.
  • Page 249 Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) Signal Source Note Name Type DIS format List Lenze NSET−N C0046 dec [%] C0780 Intended for main setpoint, other signals are permissible NSET−NADD C0047 dec [%] C0782 5650 Intended for additional setpoint, other signals are permissible NSET−JOG*1...
  • Page 250 Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) 3.2.68.2 JOG setpoints Are fixed values which are saved in the memory. JOG values can be retrieved from the memory via the inputs NSET−JOG*x. The inputs NSET−JOG*x are binary coded so that 15 JOG values can be retrieved. The decoding for enabling the JOG values (retrieval from the memory) is carried out according to the following table: Output signal...
  • Page 251 Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) 3.2.68.3 Setpoint inversion The output signal of the JOG function is led to an inverter. The sign of the setpoint is inverted if the input NSET−N−INV is triggered with HIGH signal. Ramp function generator for the main setpoint The setpoint is then led to a ramp function generator with linear characteristic.
  • Page 252 Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) Priorities: CINH NSET−LOAD NSET−RFG−0 NSET−RFG−STOP Function RFG follows the input value via the set ramps The value at the output of RFG is frozen RFG decelerates to zero within the set deceleration time RFG accepts the value applied to input NSET−SET and passes it to its output RFG accepts the value applied to input CINH−VAL and passes it to its...
  • Page 253 Function library Function blocks 3.2.68 Speed setpoint conditioning (NSET) 3.2.68.6 Additional setpoint An additional setpoint (e. g. a correction signal) can be linked with the main setpoint via the input NSET−NADD. The input signal can be inverted via the input NSET−NADD−INV before affecting the ramp function generator.
  • Page 254: Or Operation (Or)

    C0830/1 C0831/1 OR1-IN2 OR1-OUT C0830/2 C0831/2 OR1-IN3 C0830/3 C0831/3 Fig. 3−173 OR operation (OR1) Signal Source Note Name Type DIS format List Lenze OR1−IN1 C0831/1 C0830/1 1000 − OR1−IN2 C0831/2 C0830/2 1000 − OR1−IN3 C0831/3 C0830/3 1000 − OR1−OUT −...
  • Page 255 C0834/1 C0835/1 OR3-IN2 OR3-OUT C0834/2 C0835/2 OR3-IN3 C0834/3 C0835/3 Fig. 3−175 OR operation (OR3) Signal Source Note Name Type DIS format List Lenze OR3−IN1 C0835/1 C0834/1 1000 − OR3−IN2 C0835/2 C0834/2 1000 − OR3−IN3 C0835/3 C0834/3 1000 − OR3−OUT −...
  • Page 256 C0838/6 C0839/6 OR6-IN4 C0838/7 C0839/7 OR6-IN5 C0838/8 C0839/8 fb_or6 Fig. 3−178 OR operation (OR6) Signal Source Note Name Type DIS format List Lenze OR6−IN1 C0839/4 C0838/4 1000 − OR6−IN2 C0839/5 C0838/5 1000 − OR6−IN3 C0839/6 C0838/6 1000 − OR6−IN4 C0839/7...
  • Page 257 Function library Function blocks 3.2.69 OR operation (OR) Function of OR1 ... OR5 ORx−OUT = ORx−IN1 Ú ORx−IN2 Ú ORx−IN3 Equivalent network: ORx-IN1 ORx-IN2 ORx-IN3 ORx-OUT 9300kur071 Fig. 3−180 Equivalent network of the OR operation for OR1 ... OR5 Note! Connect inputs that are not used to FIXED0.
  • Page 258: Oscilloscope Function (Osz)

    C0735 C0741 C0744 C0736 C0737 C0749 fb_osz Fig. 3−182 Oscilloscope function (OSZ) Signal Source Note Name Type DIS format List Lenze OSZ CHANNEL1 − − C0732/1 − − OSZ CHANNEL2 − − C0732/2 − − OSZ CHANNEL3 − − C0732/3 −...
  • Page 259 Function library Function blocks 3.2.70 Oscilloscope function (OSZ) Functional description Function Code Selection Description OSZ mode Controls the measurement in the controller · C0730 Starts the recording of the measured values · Cancels a running measurement OSZ status Displays five different operating states ·...
  • Page 260 Function library Function blocks 3.2.70 Oscilloscope function (OSZ) Function Code Selection Description Trigger delay The trigger delay defines when to begin with the saving of the measured values with regard to the trigger time. −100.0 % ... 0 % · C0737 Negative trigger delay (pre−triggering) –...
  • Page 261 Function library Function blocks 3.2.70 Oscilloscope function (OSZ) Function Code Selection Description Memory size C0744 0 ... 6 Set memory depth of the data memory – Max. size of the data memory: 8192 measured values ¢ 16384 bytes (C0744 = 6) –...
  • Page 262: Process Controller (Pctrl1)

    Fig. 3−185 Process controller (PCTRL1) Signal Source Note Name Type DIS format List Lenze PCTRL1−SET C0808/1 dec [%] C0800 1000 Input of the process setpoint. Possible value range: ±200%. The time characteristic of step−change signals can be affected via the ramp function generator (C0332 for the acceleration time;...
  • Page 263 Function library Function blocks 3.2.71 Process controller (PCTRL1) 3.2.71.1 Control characteristic In the default setting, the PID algorithm is active. The D−component can be deactivated by setting code C0224 to zero. Thus, the controller becomes a PI−controller (or P−controller if the I−component is also switched off). The I−component can be switched on or off online via the PCTRL−I−OFF input.
  • Page 264 Function library Function blocks 3.2.71 Process controller (PCTRL1) 3.2.71.2 Ramp function generator The setpoint PCTRL−SET is led via a ramp function generator with linear characteristic. Thus, setpoint step−changes at the input can be transformed into a ramp. RFG−OUT 100 % t ir t if T ir...
  • Page 265: Angle Addition Block (Phadd)

    C1200/2 C1201/2 PHADD1−IN3 C1200/3 C1201/3 FB_phadd1 Fig. 3−189 Angle addition block (PHADD1) Signal Source Note Name Type DIS format List Lenze PHADD1−IN1 C1201/1 dec [inc] C1200/1 1000 Addition input PHADD1−IN2 C1201/2 dec [inc] C1200/2 1000 Addition input PHADD1−IN3 C1201/3 dec [inc]...
  • Page 266: Angle Comparator (Phcmp)

    PHCMP1-OUT C0697/1 C0698/1 PHCMP1-IN2 C0697/2 C0698/2 Fig. 3−190 Angle comparator (PHCMP1) Signal Source Note Name Type DIS format List Lenze PHCOMP1−IN1 C0698/1 dec [inc] C0697/1 1000 Signal to be compared PHCOMP1−IN2 C0698/2 dec [inc] C0697/2 1000 Comparison value PHCOMP1−OUT −...
  • Page 267 Function library Function blocks 3.2.73 Angle comparator (PHCMP) Function Function block Code Function Note · If PHCMPx−IN1 < PHCMPx−IN2, PHCMPx−OUT switches to HIGH PHCMP1 C0695 = 1 · If PHCMPx−IN1 ³ PHCMPx−IN2, PHCMPx−OUT switches to LOW PHCMP2 C1207 = 1 PHCMP3 C1272 = 1 ·...
  • Page 268: Actual Angle Integrator (Phdiff)

    Function library Function blocks 3.2.74 Actual angle integrator (PHDIFF) 3.2.74 Actual angle integrator (PHDIFF) Purpose Selective addition of a angle signal to the setpoint angle. It is also possible to compare setpoint and actual angle signals. P H D I F F 1 Fig.
  • Page 269: Signal Adaptation For Angle Signals (Phdiv)

    PHDIV1-OUT C0996 C0995 C0997 Fig. 3−195 Signal adaptation for angle signals (PHDIV1) Signal Source Note Name Type DIS format List Lenze PHDIV1−IN C0997 dec [inc] C0996 1000 PHDIV1−OUT − − − − − 65536 inc = one encoder revolution Function Arithmetic function: PHDIV1−OUT + PHDIV1−IN...
  • Page 270: Angle Integrator (Phint1, Phint2, Phint3)

    Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) Integrates a speed or a velocity to a angle (distance). The integrator can accept max. ±32000 encoder revolutions. PHINT3 can recognise a relative distance. P H I N T 1 Fig.
  • Page 271 Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) Signal Source Note Name Type DIS format List PHINT3−IN C1157 dec [rpm] C1153 1 revolution = 65536 increments PHINT3−LOAD C1158 C1154 HIGH = sets the angle integrator to the input signal of PHINT3−IN and PHINT3−STATUS = LOW PHINT3−SET C1159...
  • Page 272 Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) 3.2.76.1 Constant input value (PHINT1 and PHINT2) Fig. 3−199 Function of PHINTx with constant input value The FB integrates speed or velocity values at PHINTx−IN to a angle (distance). PHINTx−OUT outputs the counter content of the bipolar integrator. –...
  • Page 273 Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) C1150 = 0 C1150 = 1 The input PHINT3−LOAD is state−triggered (HIGH level). The input PHINT3−LOAD is edge−triggered (LOW−HIGH edge). · · PHINT3−LOAD = HIGH PHINT3−LOAD = LOW−HIGH edge – The integrator is loaded with the input value at PHINT3−SET. –...
  • Page 274 Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) 3.2.76.3 Input value with sign reversal (PHINT3) C1150 = 2 The input PHINT3−LOAD is state−triggered (HIGH level). PHINT3−LOAD = HIGH – The integrator is loaded with the input value at PHINT3−SET. –...
  • Page 275 Function library Function blocks 3.2.76 Angle integrator (PHINT1, PHINT2, PHINT3) 3.2.76.4 Scaling of PHINTx−OUT Mathematic description of PHINTx−OUT: PHINTx * OUT[inc] + PHINTx * IN[rpm] @ t[s] @ 65536[inc rev.] t = integration time Example: You want to determine the counter content of the integrator at a certain speed at the input and a certain integration time.
  • Page 276: Angle Integrator (Phint4)

    Function library Function blocks 3.2.77 Angle integrator (PHINT4) 3.2.77 Angle integrator (PHINT4) The function block simulates the basic function of the integrator in the CDATA function block. P H I N T 4 P H I N T 4 - H - V A L U E C 1 1 8 2 / 1 C 1 1 8 3 / 1 P H I N T 4 - R E S E T...
  • Page 277: Phase Integrator (Phint5)

    Function library Function blocks 3.2.78 Phase integrator (PHINT5) 3.2.78 Phase integrator (PHINT5) The PHINT5 function block is a master phase integrator without remainder considered and contains an integrated mark synchronisation. PHINT5 PHINT5-X-OFFSET C1182/7 C1183/7 PHINT5-H-VALUE C1182/5 C1183/5 PHINT5-SET C1182/4 C1183/4 PHINT5-LOAD C1180/4 C1181/4...
  • Page 278 Function library Function blocks 3.2.78 Phase integrator (PHINT5) Signal Source Note Name List format PHINT5−X−OFFSET ph C1183/7 dec [inc] C1182/7 Selection of an offset for the X direction PHINT5−H−VALUE ph C1183/5 dec [inc] C1182/5 Upper limit value of the integrator Only positive input values are permissible.
  • Page 279 Function library Function blocks 3.2.78 Phase integrator (PHINT5) Range of functions Select touch probe mode (¶ 3−251) Evaluate touch probe signal edge (¶ 3−251) Activate touch probe evaluation (¶ 3−252) Compensate for a detected deviation(¶ 3−252) Example of a mark synchronisation (¶ 3−254) Note! For a faultless homing with the REFC function block you have to deactivate the touch probe function with PHINT5−TP−ENABLE = LOW during homing.
  • Page 280 Function library Function blocks 3.2.78 Phase integrator (PHINT5) 3.2.78.3 Activate touch probe evaluation Via the input PHINT5−ENABLE−TP you can activate or inhibit the evaluation of the touch probe signals. PHINT5−ENABLE−TP = HIGH – The touch probe signal is evaluated. – The evaluated signal is output at PHINT5−TP−DIFF, PHINT5−TP−DIST and PHINT5−X−DIFF. PHINT5−ENABLE−TP = LOW –...
  • Page 281 Function library Function blocks 3.2.78 Phase integrator (PHINT5) RFGPH function block as profile generator for the compensation speed PHINT5 DFIN-OUT DFIN FIXED100% TP-DIFF FIXED100% DENOM TP-DIST X-DIFF CDATA-ACTLEN H-VALUE DFOUT FCODE C1476/1 TP-POS TP-SYNC-BUSY X-OFFSET TP-RECOGN RESET RFGPH2, RFGPH3 LOAD DFOUT-INIT RESET RFG-I=0...
  • Page 282 Function library Function blocks 3.2.78 Phase integrator (PHINT5) 3.2.78.5 Example of a mark synchronisation 3 AC / PE / xxx V / xx HZ fb_phint5_1 Fig. 3−206 Principle of the mark synchronisation Transmission of the master angle via system bus (CAN) or digital frequency Register Speed of the material path v2, v3...
  • Page 283: Position Memory (Psave)

    Function library Function blocks 3.2.79 Position memory (PSAVE) 3.2.79 Position memory (PSAVE) One function block (PSAVE1) is available. Purpose Storage (mains−failure protected) of positions (master value and/or actual value) and comparison to the actual values. After mains connection it can be checked whether the master value position or the actual value position have changed.
  • Page 284 Function library Function blocks 3.2.79 Position memory (PSAVE) 3.2.79.2 Compare actual position with values stored PSAVE−ON = HIGH: – The inputs PSAVE−MPOS and PSAVE−ACTPOS are compared with the stored values. The deviations are output at PSAVE−M−DIFF or PSAVE−ACT−DIFF. PSAVE−M−DIFF + stored value * { PSAVE−MPOS } PSAVE−ACT−DIFF + stored value * { PSAVE−ACTPOS } –...
  • Page 285: Delay Element (Pt1−1)

    PT1-1 C0640 PT1-1-IN PT1-1-OUT C0641 C0642 Fig. 3−207 Delay element (PT1−1) Signal Source Note Name Type DIS format List Lenze PT1−1−IN C0642 dec [%] C0641 1000 − PT1−1−OUT − − − − − − Function The delay time T is set under C0640.
  • Page 286: Delay Element (Pt1−2)

    PT1-2-RESET C0647/2 C0648/2 fb_pt1−2 Fig. 3−209 Delay element (PT1−2) Signal Source Note Name Type DIS format List Lenze PT1−2−DFIN C0645/1 dec [rpm] C0644/1 1000 − PT1−2−DISABLEFILTER C0648/1 C0647/1 1000 LOW = filter is on HIGH = filter is off PT1−2−RESET...
  • Page 287 Function library Function blocks 3.2.81 Delay element (PT1−2) Setting the filter time constant C0643 serves to set the filter time constant T (delay time). The proportional coefficient is predefined as K = 1. Setting information The higher the value set, the greater the filter effect. The higher the value set, the greater the phase displacement between input and output signal.
  • Page 288: Cw/Ccw/Qsp Linking (R/L/Q)

    R/L/Q C0889/1 R/L/Q-QSP R/L/Q-R C0885 R/L/Q-R/L R/L/Q-L C0886 C0889/2 Fig. 3−211 CW/CCW/QSP linking (R/L/Q) Signal Source Note Name Type DIS format List Lenze R/L/Q−R C0889/1 C0885 − R/L/Q−L C0889/2 C0886 − R/L/Q−QSP − − − − − − R/L/Q−R/L −...
  • Page 289: Homing Function (Refc)

    Function library Function blocks 3.2.83 Homing function (REFC) 3.2.83 Homing function (REFC) Purpose The homing function is used to bring the drive shaft to a specific position. Note! First, select a predefined configuration in C0005 which already includes the REFC function block.
  • Page 290 Function library Function blocks 3.2.83 Homing function (REFC) 3.2.83.1 Homing There are different possibilities of homing the drive: "Setting the reference once" is carried out for commissioning. For this, you enter the current distance [s−units] of the tool to the machine zero point in C1367/1. This proecedure is reasonable for machines with risk of collision).
  • Page 291 Function library Function blocks 3.2.83 Homing function (REFC) 3.2.83.2 Reference run modes The home position is defined by: the homing mode C0932 the signal edge of the zero pulse or touch probe signal C0933 the home position offset C0934 Note! For position feedback via resolver, the zero position (depending on the rotor attached to the motor) applies instead of the zero pulse, and, accordingly, the touch probe phase for homing via touch probe.
  • Page 292 Function library Function blocks 3.2.83 Homing function (REFC) Homing with homing switch to zero pulse/zero position Behind the negative edge of the homing switch REFC−MARK, the home position is at the next zero pulse/zero position plus the home position offset: Mode 0 (C0932 = 0): –...
  • Page 293 Function library Function blocks 3.2.83 Homing function (REFC) Homing with home switch and touch probe (TP) Behind the negative edge of the homing switch REFC−MARK, the home position is at the touch probe signal (terminal X5/E4) plus the home position offset: Mode 6 (C0932 = 6): –...
  • Page 294 Function library Function blocks 3.2.83 Homing function (REFC) Direct homing The home position is on the home position offset. Mode 20 (C0932 = 20): – The drive moves from the actual position (REF−ACTPOS) to the home position immediately after the activation (REFC−ON = HIGH). –...
  • Page 295 Function library Function blocks 3.2.83 Homing function (REFC) 3.2.83.4 Output of status signals REFC−BUSY = HIGH: the homing function is active. – The profile generator is connected to the outputs REFC−PSET and REFC−N−SET. REFC−BUSY = LOW: the homing function is not active or completed –...
  • Page 296: Ramp Function Generator (Rfg)

    C0676/1 RFG1-SET C0674 C0676/2 RFG1-LOAD C0675 C0677 Fig. 3−219 Ramp function generator (RFG1) Signal Source Note Name Type DIS format List Lenze RFG1−IN C0676/1 dec [%] C0673 1000 − RFG1−SET C0676/2 dec [%] C0674 1000 − RFG1−LOAD C0677 − C0675 1000 −...
  • Page 297 Function library Function blocks 3.2.84 Ramp function generator (RFG) 3.2.84.1 Calculation and setting of the times T and T The acceleration time and deceleration time refer to a change of the output value from 0 to 100 %. The times T and T to be set can be calculated as follows: RFG1−OUT...
  • Page 298: Ramp Function Generator For Angle Signals (Rfgph1)

    Function library Function blocks 3.2.85 Ramp function generator for angle signals (RFGPH1) 3.2.85 Ramp function generator for angle signals (RFGPH1) Purpose Path or time controlled (jump) application to change position/angle (e.g. offset) relative to the master drive. RFGPH1 RFGPH1-DFIN C1404/1 RFGPH1-RFG-I=0 C1405/1 CTRL...
  • Page 299 Function library Function blocks 3.2.85 Ramp function generator for angle signals (RFGPH1) Description of functions by means of an example The function block "ramp function generator for phase signals" serves to adjust the path compared to the master drive. Before, it must be defined if the drive is to take the desired position at a predefined speed (RFGPH1−T/DIST = LOW) or after a certain distance (RFGPH1−T/DIST = HIGH) depending on the master drive speed.
  • Page 300 Function library Function blocks 3.2.85 Ramp function generator for angle signals (RFGPH1) 3.2.85.1 Change phase/position through a defined speed Inputs for parameter setting: FCODE C1476/1 = 5 m−units (position) C1408/1 = 200.0 rpm: the drive travels to the target position with a master value speed of 200 rpm.
  • Page 301 Function library Function blocks 3.2.85 Ramp function generator for angle signals (RFGPH1) The following modes can be set with C1409 for this input: C1409 Mode Explanation Absolute value generation The output RFGPH1−OUT always reaches its end value (with negative and positive speeds). (Default setting) Forward/backward movement The output RFGPH1−OUT with positive values (speeds) at input RFGPH1−DFIN reaches its final value...
  • Page 302 Function library Function blocks 3.2.85 Ramp function generator for angle signals (RFGPH1) 3.2.85.3 Status signals RFGPH1−RFG−I=0 = HIGH indicates that the output RFGPH1−OUT has reached the end value selected (the output is not adjusted any more). R F G P H 1 - I N R F G P H 1 - O U T R F G P H 1 - R F G - I = 0 R F G P H 1 - R F G - 0...
  • Page 303: Ramp Function Generator For Angle Signals (Rfgph2 And Rfgph3)

    Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) Purpose Easy positioning via linear profile generator Note! With RFGPH2 and RFGPH3 "easy" positionings can be performed. Compared to the 9300 servo position controller, the following restrictions apply: No programmable positioning No positioning with velocity changeover...
  • Page 304 Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) RFGPH3 R F G P H 3 Fig. 3−224 Ramp function generator for angle signals (RFGPH3) Signal Source Note Name Type DIS format List RFGPH3−RESET 1071/5 bin 1400/4 2 HIGH: Sets RFGPH3−OUT = 0 (jump) LOW: RFGPH3−PHOUT is set according to the input values RFGPH3−SET and...
  • Page 305 Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) 3.2.86.1 Description of functions by means of an example Defining an offset for the Y axis The following travel profile is to be implemented with RFGPH2: R F G P H x - S E T R F G P H x - P H O U T R F G P H x - N O U T...
  • Page 306 Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) End switch off The function blocks provide two modes. They are set via C1075 for RFGPH2 and C1076 for RFGPH3. Without limit stop – In this operating mode the outputs always follow the setpoint at RFGPHx−SET. With limit stop –...
  • Page 307 Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) Relative positioning In order to implement a relative positioning, the input RFGPHx−REL−SEL must be set to HIGH. This serves to process the value at RFGPH2−SET as feed". This means, the profile generator continues running by the position value applied at RFGPH2−PHIN.
  • Page 308 Function library Function blocks 3.2.86 Ramp function generator for angle signals (RFGPH2 and RFGPH3) Status signals RFGPH2−RFG−I=0 = HIGH indicates that the output RFGPH2−OUT has reached the final value selected (the output is not adjusted any more). RFGPH2-SET RFGPH2-PHOUT RFGPH2-RFG-I=0 (Status) RFGPH2-RFG-0 (Control)
  • Page 309: Sample And Hold Function (S&H)

    S&H C0570 C0572 S&H1-LOAD C0571 C0573 Fig. 3−227 Sample and hold function (S&H1) Signal Source Note Name Type DIS format List Lenze S&H1−IN C0572 dec [%] C0570 1000 S&H1−LOAD C0573 C0571 1000 LOW = save S&H1−OUT − − − −...
  • Page 310: Angle Value Selection (Selph)

    Function library Function blocks 3.2.88 Angle value selection (SELPH) 3.2.88 Angle value selection (SELPH) Two FBs (SELPH1, SELPH2) are available. Purpose Select one angle value from nine angle values and switch it to the output. SELPH1 SELPH1 FIXED0INC SELPH1-IN1 C1662/1 C1664/1 SELPH1-IN2 C1662/2...
  • Page 311 Function library Function blocks 3.2.88 Angle value selection (SELPH) SELPH2 SELPH2 FIXED0INC SELPH2-IN1 C1667/1 C1669/1 SELPH2-IN2 C1667/2 C1669/2 SELPH2-IN3 C1667/3 C1669/3 SELPH2-IN4 C1667/4 C1669/4 SELPH2-OUT SELPH2-IN5 C1667/5 C1669/5 SELPH2-IN6 C1667/6 C1669/6 SELPH2-IN7 C1667/7 C1669/7 SELPH2-IN8 C1667/8 C1669/8 SELPH2-SELECT C1666 C1665 C1668 Fig.
  • Page 312: Position Switch Points (Spc)

    Function library Function blocks 3.2.89 Position switch points (SPC) 3.2.89 Position switch points (SPC) Two function blocks (SPC1, SPC2) are available. Purpose Switches an output signal if the drive is within a defined position range (implementation of a cam group, control of injection nozzles). SPC1 S P C 1 V T P O S C...
  • Page 313 Function library Function blocks 3.2.89 Position switch points (SPC) SPC2 S P C 2 V T P O S C F C O D E C 1 4 7 6 / X F C O D E C 1 4 7 7 / X F C O D E C 0 4 7 4 / X V T P O S C...
  • Page 314 Function library Function blocks 3.2.89 Position switch points (SPC) 3.2.89.1 Switching points Switching points can be set in two ways: – Mode 1: Start and end position – Mode 2: Centre with switching range The switching points are selected by means of the variable table VTPOSC. –...
  • Page 315 Function library Function blocks 3.2.89 Position switch points (SPC) Mode 2: Centre with switching range C1645 = Set 1 (SPC1) C1655 = Set 1 (SPC2) SPx-STATx INx-1 HIGH SPx-L-IN INx-2 INx-2 Fig. 3−234 Centre with switching range INx−1 determines the centre INx−2 determines the switching range with centre 3.2.89.2 Hysteresis...
  • Page 316 Function library Function blocks 3.2.89 Position switch points (SPC) 3.2.89.3 Dead time This function is only available for FB SPC2. Purpose Delayed activation of downstream components (e.g. injection nozzles). Function The dead time is selected under C1657. – This setting is only possible for SPC2−STAT1 ... SPC2−STAT4. Assignment of codes and outputs: Code Subcode...
  • Page 317 Function library Function blocks 3.2.89 Position switch points (SPC) Negative dead time Fig. 3−237 Function of the negative dead time With a negative dead time, the switching of the output is delayed by the time set. 3.2.89.4 Filter time constant This function is only available for FB SPC2.
  • Page 318: S−Shaped Ramp Function Generator (Srfg)

    Function library Function blocks 3.2.90 S−shaped ramp function generator (SRFG) 3.2.90 S−shaped ramp function generator (SRFG) Purpose The function block serves to direct the input signal via a jerk−limited ramp generator (S shape) in order to avoid setpoint step−changes. C1040 SRFG1 C1041 SRFG1-OUT...
  • Page 319 Function library Function blocks 3.2.90 S−shaped ramp function generator (SRFG) Function The maximum acceleration and the jerk can be set separately. SRFG1-IN SRFG1-OUT SRFG1-DIFF (Beschleunigung) C1040 C1040 C1041 Ruck Fig. 3−239 Line diagram Max. acceleration: – C1040 applies to both the positive and the negative acceleration. –...
  • Page 320: Output Of Digital Status Signals (Stat)

    Statusword DCTRL-WARN DCTRL-MESS STAT.B14 C0156/6 STAT.B15 C0156/7 Fig. 3−240 Output of digital status signals (STAT) Signal Source Note Name Type DIS format List Lenze STAT.B0 − C0156/1 2000 STAT.B2 − C0156/2 5002 STAT.B3 − C0156/3 5003 STAT.B4 − C0156/4 5050 STAT.B5...
  • Page 321: Control Of A Drive Network (State−Bus)

    − − Function The STATE−BUS is a device−specific bus system which is designed for Lenze controllers only. The function block STATE−BUS acts on the terminals X5/ST or reacts on a LOW signal at these terminals (multi−master capable). Every connected controller can set these terminals to LOW.
  • Page 322: Storage Block (Store1)

    S T O R E 1 - L O A D 1 fb_store1 Fig. 3−242 Storage block (STORE1) Signal Source Note Name Type DIS format List Lenze STORE1−IN C1216/1 dec [rpm] C1211/1 1000 − STORE1−RESET C1215/1 C1210/1 1000 HIGH = resets all functions STORE1−ENTP...
  • Page 323 Function library Function blocks 3.2.93 Storage block (STORE1) Function Control via TP input X5/E5 Saving the angle signal 3.2.93.1 Control via TP input X5/E5 The triggering signal STORE1−TP−INH indicates by means of a HIGH signal a triggering effected via the TP input E5 (LOW−HIGH edge on X5/E5). At the same time STORE1−TP−INH signalises that the triggering is deactivated and has to be reset to the active state.
  • Page 324 Function library Function blocks 3.2.93 Storage block (STORE1) Outputting the difference of the two angle signals saved A two−stage counter controls the output at STORE1−PHDIFF. Every second triggering via the TP input E5 results in a new output at STORE1−PHDIFF. STORE1−LOAD0 = HIGH resets the counter.
  • Page 325: Storage Block (Store2)

    R e g 2 fb_store2 Fig. 3−243 Storage block (STORE2) Signal Source Note Name Type DIS format List Lenze STORE2−RESET C1223/1 C1220/1 1000 HIGH = resets all functions STORE2−ENTP C1223/2 C1220/2 1000 HIGH = enables the triggering process via the TP input E4 STORE2−ACT...
  • Page 326: Shift Register (Store3)

    Fig. 3−244 Shift register (STORE3) Signal Source Note Name Type DIS format List Lenze STORE3−OFFSET C1719 dec [%] C1718 1000 Selects the memory to be output Memory location = SEL−IN−OFFSET The value is internally set to the correct memory location in the ring buffer STORE3−INIT...
  • Page 327 Function library Function blocks 3.2.95 Shift register (STORE3) Name Type DIS format List Lenze STORE3−INIT−POS C1723/1 C1722/1 1000 Value for initialising all memory locations. The value is accepted via a LOW−HIGH edge at STORE3−INIT. STORE3−IN−POS C1723/2 C1722/2 1000 Value for the transfer to the memory location which has been selected via STORE3−SEL−IN.
  • Page 328 Function library Function blocks 3.2.95 Shift register (STORE3) Initialising all memory locations with default values Before starting, all memory locations with default values (e. g. set register lengths) have to be initialised. Mains power−up initialises all memory locations with the value "0". Data on the memory locations is not saved with mains failure protection (C0003).
  • Page 329 Function library Function blocks 3.2.95 Shift register (STORE3) Writing data to a memory location (teaching) STORE3-IN-POS STORE3-SEL-IN 9 10 11 12 13 14 15 fb_store3_3 Fig. 3−246 Writing data to a memory location 1. Apply a value to STORE3−IN−POS. STORE3−SEL−IN shows the memory location which is to be written to (in Fig.
  • Page 330 Function library Function blocks 3.2.95 Shift register (STORE3) Application example fb_store3_1 Fig. 3−249 Automatic detection of the formats via cutting marks Format length Window for cutting mark Cutting mark Print image Mark recognition (sensor) The distance between two cutting marks is the format length. STORE3 supports the automatic measurement of the format length.
  • Page 331: Angle Signal Changeover Switch (Swph1 And Swph2)

    Function library Function blocks 3.2.96 Angle signal changeover switch (SWPH1 and SWPH2) 3.2.96 Angle signal changeover switch (SWPH1 and SWPH2) Changeover switch for selecting between two angle signals S W P H 1 S W P H 1 - I N 1 S W P H 1 - O U T S W P H 1 - I N 2 S W P H 1 - S E T...
  • Page 332: Digital Frequency Changeover Switch (Swphd)

    Function library Function blocks 3.2.97 Digital frequency changeover switch (SWPHD) 3.2.97 Digital frequency changeover switch (SWPHD) Two function blocks (SWPHD1, SWPHD2) are available Purpose Changeover switch for selecting between two speed signals S W P H D 1 Signal Source Note Name Type...
  • Page 333: Multi−Axis Synchronisation (Sync1 And Sync2)

    Synchronises the control program cycle of the drives to the cycle of a master control. STOP! Do not use both function blocks together for cam applications S Y N C 1 Signal Source Note Name Type DIS format List Lenze SYNC1−IN1 C1127 dec [inc] C1124 1000 − SYNC1−IN2 C1128 dec [inc] C1125 1000 −...
  • Page 334 S Y N C 2 X 5 - E 5 Signal Source Note Name Type DIS format List Lenze SYNC2−STAT − − − − − After completion of the synchronisation SYNC2−STAT switches to HIGH. If the synchronity is quit, SYNC2−STAT switches to LOW.
  • Page 335 Function library Function blocks Function Possible axis synchronisations (chapter 3.2.98.1) Cycle times (chapter 3.2.98.2) Phase displacement (chapter 3.2.98.3) Synchronisation window for synchronisation via terminal (SYNC WINDOW) (chapter 3.2.98.4) Correction value of phase controller (SYNC CORRECT) (chapter 3.2.98.5) Fault indications (chapter 3.2.98.6) Configuration examples (chapter 3.2.98.7) Scaling (chapter 3.2.98.8) 3.2.98.1...
  • Page 336 Function library Function blocks Axis synchronisation via system bus (CAN) The system bus (CAN) transmits the sync telegram and the process signals. Application examples: Selection of cyclic, synchronised position setpoint information for multi−axis positioning via the system bus (CAN). C A N - I N 3 S Y N C 1 Fig.
  • Page 337 Function library Function blocks 3.2.98.2 Cycle times Sync cycle time (SYNC CYCLE) The master (e. g. PLC) sends the periodic sync telegram (sync signal The controllers (slaves) receive the sync telegram and compare the time between two LOW−HIGH edges of the signal with the selected cycle time (1121/1). The cycle time is entered in integers (1 ms, 2 ms, 3 ms, ...).
  • Page 338 Function library Function blocks Interpolation cycle time (INTPOL. CYCLE) The FB interpolates the input signals (C1124, C1125, C1126) between the sync telegrams or sync signals and transmits them to the corresponding output. This ensures an optimum signal course with regard to the internal processing cycle (e. g. minimising signal jumps in the output variable when operating with high sync cycles).
  • Page 339 Function library Function blocks 3.2.98.3 Phase displacement Phase displacement for synchronisation via system bus (SYNC TIME) Code Value Function · 0 ...10.000 ms C1122 C1120 = 1 – Phase displacement between the sync telegram and the start of the internal control program. –...
  • Page 340 Function library Function blocks 3.2.98.5 Correction value of the phase controller Code Value Function · C0363 1 ... 5 Correction values for C0363 = 1 ® 0.8 ms 2 ® 1.6 ms 3 ® 2.4 ms 4 ® 3.2 ms 5 ®...
  • Page 341 Function library Function blocks 3.2.98.7 Configuration examples Configuration example CAN−SYNC Observe the following order for commissioning: Step Where Operation − Commission controller and system bus without FB SYNC1 − Inhibit controller CAN master Define the sequence of the telegrams 1. Send new setpoint to all slaves 2.
  • Page 342: Edge Evaluation (Trans)

    This function is used to evaluate digital signal edges and convert them into pulses of a defined duration. C0710 C0711 TRANS1 TRANS1-IN TRANS1-OUT C0713 C0714 Fig. 3−253 Edge evaluation (TRANS1) Signal Source Note Name Type DIS format List Lenze TRANS1−IN C0714 C0713 1000 − TRANS1−OUT − − − − − − TRANS2 C0715 C0716 TRANS2-IN TRANS2-OUT...
  • Page 343 Function library Function blocks 3.2.99 Edge evaluation (TRANS) Function This FB is an edge evaluator which can be retriggered. This FB can react to different events. The following functions can be selected under code C0710 or C0716: Positive edge Negative edge Positive or negative edge 3.2.99.1 Evaluate positive edge...
  • Page 344 Function library Function blocks 3.2.99 Edge evaluation (TRANS) 3.2.99.3 Evaluate positive or negative edge TRANS1−IN C0711 C0711 TRANS1−OUT Fig. 3−259 Evaluation of positive and negative edges (TRANS1) The output TRANSx−OUT is set to HIGH as soon as a HIGH−LOW edge or a LOW−HIGH edge is sent to the input.
  • Page 345: Virtual Master (Vmas)

    Function library Function blocks 3.2.100 Virtual master (VMAS) 3.2.100 Virtual master (VMAS) Generation of a virtual digital frequency Contents Generation of a virtual master value (digital frequency) (chapter 3.2.100.1) Digital frequency input (chapter 3.2.100.2) Switch to alternative master value (chapter 3.2.100.3) Inching mode (chapter 3.2.100.4) Ramp function generator (chapter 3.2.100.5) STOP function with VMAS1−RFG=0 (chapter 3.2.100.6)
  • Page 346 Function library Function blocks 3.2.100 Virtual master (VMAS) 3.2.100.1 Generation of a virtual master value If, for instance, no master system is available, a virtual master value (potentiometer setpoint) can be applied to the input VMAS1−AIN. This can be the case when the drive is not operated in a system and thus no synchronous operation is required.
  • Page 347 Function library Function blocks 3.2.100 Virtual master (VMAS) 3.2.100.4 Inching mode Activate: VMAS1−EN−AIN = LOW Activate inching speed from C1461/1: VMAS1−CW = HIGH and VMAS1−CCW = LOW Parameter setting for inching speed: C1461/1 Activate inching speed from C1461/2: VMAS1−CCW = HIGH and VMAS1−CW = LOW Set inching speed n = 0: VMAS1−CCW = LOW and VMAS1−CW = LOW With VMAS1−CCW = HIGH and VMAS1−CW = HIGH the status remains the same.
  • Page 348 Function library Function blocks 3.2.100 Virtual master (VMAS) 3.2.100.6 STOP function with RFG=0 The STOP function (VMAS1−RFG=0 =HIGH) serves to decelerate the digital frequency setpoint (output VMAS1−DFOUT) to n=0 in a controlled way. For this, the "braking time" of the ramp can be adjusted with code C1462/3.
  • Page 349: Positioning Control (Vtposc)

    Function library Function blocks 3.2.101 Positioning control (VTPOSC) 3.2.101 Positioning control (VTPOSC) One function block (VTPOSC) is available. Purpose The FB is similar to the FB VTPOSC of the servo position controller (see System Manual Servo Position Controller). Changes were made to adapt the FB to the cam profiler. It is used to provide the switching point positions for the switching point function blocks (SPC1/2).
  • Page 350 Function library Function blocks 3.2.101 Positioning control (VTPOSC) Function 52 table positions are available. Enter fixed position values in m_units under C1476/x – 16 table positions (VTPOSC−No1 ... VTPOSC−No16) are available. Enter fixed position values in s_units under C1477/x – 16 table positions (VTPOSC−No17 ... VTPOSC−No32) are available. Enter fixed position values in [inc] under C0474.
  • Page 351: Welding Bar Control (Weld1)

    Function library Function blocks 3.2.102 Welding bar control (WELD1) 3.2.102 Welding bar control (WELD1) Purpose This function block is used for the implementation of a welding bar control. Note! If you use the function block WELD1: Profiles must be created in a relative data model. The data model can be set in GDC (parameter menu ®...
  • Page 352 Generation of a cam profile for welding bar control Because of the motion sequences described above a welding bar control can usually be divided into 3 or more sections (max. 5 for Lenze controllers). Example for 3 sections: Phase 1 = Welding bar moves down on material (section 1)
  • Page 353 Function library Function blocks 3.2.102 Welding bar control (WELD1) 3.2.102.2 Power−controlled welding bar This function is available from software version 3.4. The welding bar is controlled by an external control. This control determines the welding current and welding time. After the welding time has elapsed, the opening of the welding bar is forced by setting WELD1−BREAK = HIGH via the external control.
  • Page 354 Function library Function blocks 3.2.102 Welding bar control (WELD1) Phase 4 Add a standstill phase at the end of the motion profile. Fig. 3−262 Profile characteristic after entering the profile data at corresponding line speed The selected welding time is converted to a distance. Due to the welding time set (WELD1−TIME) the opening phase (WELD1−LEN−O) is automatically delayed by the preselected welding time.
  • Page 355 Function library Function blocks 3.2.102 Welding bar control (WELD1) 3.2.102.4 Weld1 mode: Time (C1446 = 0) The value at the input WELD1−TIME is interpreted as a time value. Output of status information WELD1−T−ERR = HIGH: The total length and the sum of times of the three sections WELD1−LEN−C (close), WELD1−TIME (weld) and WELD1−LEN−O (open) do not agree.
  • Page 356 Function library Function blocks 3.2.102 Welding bar control (WELD1) 3.2.102.5 Weld1 mode: Distance (C1446 = 1) The value at the input WELD1−TIME is interpreted as a distance. Output of status information WELD1−T−ERR = HIGH: The total length of the three sections WELD1−LEN−C (close), WELD1−TIME (weld) and WELD1−LEN−O (open) do not agree.
  • Page 357 Function library Function blocks 3.2.102 Welding bar control (WELD1) 3.2.102.6 Weld1 mode: Distance with saving (C1446 = 2) The value at the input WELD1−TIME is interpreted as a distance. WELD1−TIME is saved for the further cycle when phase 2 of the profile is started (see basics of welding bar control). Output of status information WELD1−T−ERR = HIGH: The total length and the sum of times of the three sections WELD1−LEN−C (close), WELD1−TIME (weld) and WELD1−LEN−O (open) do not agree.
  • Page 358: Stretching, Compression, Offset In Y Direction (Yset1)

    YSET1-RESET C1354/1 C1355/1 FB_yset1 Fig. 3−264 Stretching, compression, offset in Y direction (YSET1) Signal Source Note Name Type DIS format List Lenze YSET1−IN 1359/1 dec [inc] 1358/1 1000 Input in [rpm] YSET1−IN−SYNCH 1359/2 dec [inc] 1358/2 1000 Input in [rpm] YSET1−FACT...
  • Page 359 Function library Function blocks 3.2.103 Stretching, compression, offset in Y direction (YSET1) 3.2.103.1 Stretching/compression YSET1−FACT Stretching/compression Direction reversal +100 % −100% Yes, in Y position >100 % Stretching <100 % Compression FIXED100% Synchronised stretching/compression of drive motion Synchronised stretching/compression of the drive motion is required for the following: If master value and cam drive must run absolutely synchronously and the factor must be changed during operation.
  • Page 360 Reset of the offset The function "OFFS−RESET mode" has the following effect on the output signal YSET1−OUT: C1364/1 = 0: (Lenze setting). Output YSET1−OUT is not affected by – signal at input YSET1−RESET, – signal at YSET1−OFFS, as long as YSET1−RESET = HIGH.
  • Page 361: Mark−Controlled Cam Profile Start

    Application examples Application examples Contents Replacement of a mechanical cam ..........4−3 Welding bar .
  • Page 362 Application examples 4−2 EDSVS9332K−EXT EN 4.0...
  • Page 363 Application examples Replacement of a mechanical cam Replacement of a mechanical cam Select the basic configuration C0005 = 10000 for this application example. 9300kur052 Fig. 4−1 Principle of the mechanical and electronic cam Mechanical cam Electronic cam Master angle Setpoint position Camshaft controller L2 L3 +UG -UG...
  • Page 364 Application examples Replacement of a mechanical cam Digital signals Terminal Function X5/28 Controller enable X5/E1 Selection of event profile (C1420) X5/E2 Profile selection (see table for terminal layout) X5/E3 Profile selection (see table for terminal layout) X5/E4 Profile selection (see table for terminal layout) X5/E5 Error reset (TRIP reset) / profile acceptance X5/A1...
  • Page 365 Application examples Welding bar Welding bar Select the basic configuration C0005 = 14000 for this application example. 9300kur043 Fig. 4−3 Schematic diagram of a welding bar Welding bar drive Feed drive ‚ ƒ „ …  ‡ ˆ † 9300kur044 Fig.
  • Page 366 Application examples Welding bar ±10V 1 X6 93XX 93XX DC 24V DC 24V 9300kur046 Fig. 4−5 Wiring principle for the controllers Controller for welding bar drive Controller for feed drive Speed setpoint Virtual master value Resolver Features Speed−independent welding time Adjustable welding time Easy changeover in the event of material changes Material−specific feed...
  • Page 367 Application examples Welding bar Terminal layout for profile selection Profile No. X5/E2 X5/E3 X5/E4 Application−specific codes Code Function C1420 Selection of the event profile (X5/E1 = HIGH) C1380/1 Hysteresis of following error evaluation C1380/2 Hysteresis of following error warning C0250 Activation of the master value reduction (C0250 = 1 =>...
  • Page 368 Application examples Filling process Filling process Select the basic configuration C0005 = 13000 or C0005 = 13300 for this application example. 9300kur047 Fig. 4−6 Schematic diagram of a filling device Pump drive (cam drive) Feed drive ‚ ƒ  9300kur045 Fig.
  • Page 369 Application examples Filling process L2 L3 +UG -UG ±10V 1 X6 93XX 28 E1E2E3 E4E5 A1A2A3 A4 DC 24V 9300kur048 Fig. 4−8 Wiring principle for the controller Controller for pump drive Speed setpoint Resolver Features Product−specific filling with minimum bubble generation Virtual master value Product changes possible at every clock pulse Option: Switching point for handshake with conveyor belt...
  • Page 370 Application examples Filling process Terminal layout for profile selection (C0005 = 13000) Profile No. X5/E2 X5/E3 X5/E4 Application−specific codes (C0005 = 13000) Code Function C1420 Selection of the event profile (X5/E1 = HIGH) C1380/1 Hysteresis of following error evaluation C1380/2 Hysteresis of following error warning C0250 Activation of the master value reduction (C0250 = 1 =>...
  • Page 371 Application examples Mark−controlled cam profile start Mark−controlled cam profile start Select the basic configuration C0005 = 10800 for this application example. 9300kur049 Fig. 4−9 Schematic diagram of a cutting drive Cutting drive Mark sensor Master value encoder ‚ ƒ ƒ ...
  • Page 372 Application examples Mark−controlled cam profile start L2 L3 +UG -UG 93XX 28 E1E2E3 E4E5 A1A2A3 A4 DC 24V 9300kur051 Fig. 4−11 Wiring principle for the controller Controller for cutting drive Mark sensor Master value encoder Resolver Features Mark−controlled start for the correct position for the cut Offset selection for the fine adjustment of the position Easy changeover in the case of format changes 4−12...
  • Page 373 Application examples Mark−controlled cam profile start Digital signals Terminal Function X5/28 Controller enable X5/E1 Selection of event profile (C1420) X5/E2 Profile selection (see table for terminal layout) X5/E3 Profile selection (see table for terminal layout) X5/E4 Error reset (TRIP reset) / profile acceptance X5/E5 Mark signal touch probe X direction X5/A1...
  • Page 374 Application examples Mark−controlled cam profile start 4−14 EDSVS9332K−EXT EN 4.0...
  • Page 375: Appendix

    Appendix Appendix Contents Glossary ..............5−14 5.1.1 Terminology and abbreviations used...
  • Page 376 Appendix 5−2 EDSVS9332K−EXT EN 4.0...
  • Page 377: Glossary

    (e. g. C0404/2 = subcode 2 of code C0404) DC current or DC voltage Deutsches Institut für Normung(German Institute for Standardization) Drive Lenze controller in combination with a geared motor, a three−phase AC motor, and other Lenze drive components Electromagnetic compatibility European standard...
  • Page 378 Appendix Glossary Controller output power [kVA] DC supply voltage Underwriters Laboratories Output voltage Mains voltage mains Verband deutscher Elektrotechniker (Association of German Electrical Engineers) Xk/y Terminal y on terminal strip Xk (e. g. X5/28 = terminal 28 on terminal strip X5) 5−4 EDSVS9332K−EXT EN 4.0...
  • Page 379: Index

    Appendix Index Index Clutch (CLUTCH 3), 3−91 − disengaging immediately, 3−93 Absolute value generator (ABS), 3−37 − engaging the clutch, 3−100 − fault messages, 3−93 Actual angle integrator (PHDIFF), 3−240 − minimum speed, 3−94 Addition block (ADD), 3−38 − selection of the disengaging position, 3−96 −...
  • Page 380 Appendix Index Digital status signals (STAT), 3−292 Fieldbus module, 3−40 Fixed setpoints (FIXSET), 3−179 Drive control (DCTRLC), 3−137 Flipflop (FLIP), 3−181 Flipflop element (FLIPT), 3−184 Following error monitoring (CERR), 3−82 Edge evaluation (TRANS), 3−314 Free codes (FCODE) of the measuring systems, 3−171 Extrapolation (EXTPOL1), 3−164 Free control codes, overview, 3−17...
  • Page 381 Appendix Index − digital frequency input (DFIN), 3−141 3−118 − Digital frequency output (DFOUT), 3−144 − position switch points (SPC), 3−284 − Digital frequency processing (DFSET), 3−154 − Positioning control (VTPOSC), 3−321 − digital frequency ramp function generator (DFRFG), 3−148 −...
  • Page 382 Appendix Index Multi−axis synchronisation (SYNC1, 2), 3−305 Internal motor control (MCTRL), 3−190 − Additional torque setpoint, 3−192 Nameplate, 1−4 − Angle controller, Influence of angle controller, 3−196 − Current controller, 3−192 Notes, definition, 1−5 − Quick stop (QSP) Field weakening, 3−198 Switching frequency changeover, 3−198 −...
  • Page 383 Appendix Index Restart protection, 3−208 Speed controller, 3−194 − Setting the integral component, 3−194 Speed conversion (CONVPP), 3−126 Speed feedforward control S ramp, PT1 element, 3−224 − CCTRL function block, 3−73 S−shaped ramp function generator (SRFG), 3−290 − CCTRL2 function block, 3−81 Speed setpoint conditioning (NSET), 3−220 Safety instructions −...
  • Page 384 Appendix Index Virtual clutch (CLUTCH2), 3−89 Virtual master (VMAS), 3−317 Preface, 1−1 Welding bar control (WELD1), 3−323 5−10 EDSVS9332K−EXT EN 4.0...
  • Page 386 © 06/2011 Lenze Automation GmbH Service Lenze Service GmbH Hans−Lenze−Str. 1 Breslauer Straße 3 D−31855 Aerzen D−32699 Extertal Germany Germany +49 (0)51 54 / 82−0 00 80 00 / 24 4 68 77 (24 h helpline) Ê Ê +49 (0)51 54 / 82 − 28 00 +49 (0)51 54 / 82−11 12...

Table of Contents