L Manual Global Drive PLC Developer Studio Global Drive Function library Lenze9300Servo.
The function library Lenze9300Servo.lib can be used for the following Lenze PLCs: 9300 Servo PLC 9300 Servo PLC ECSxA Type from hardware version from software version EVS93XX−xI EVS93XX−xT 2K 2K 10 10 ECSxAxxx 1C 7.0 Important Note: The software is made available to the user in the currently existing form. All risks with regard to the quality and the results arising from its use remain the responsibility of the user.
Function block library Lenze9300Servo.lib Contents 1 Preface and general information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1−1 1.1 About this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.1 Conventions in this Manual . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.1.2 Pictograms in this Manual . . . . . . .
Function block library Lenze9300Servo.lib Contents ii Lenze9300Servo.lib EN 1.
Function block library Lenze9300Servo.lib Preface and general information 1 Preface and general information 1.1 About this Manual This Manual contains information on the function blocks that are included in the function block library Lenze9300Servo.lib for the Drive PLC Developer Studio . · These function blocks can be used, for instance, in the 9300 Servo PLC automation system. · The function blocks are based on the functions that are available in the 9300 servo controller( V2.0).
Function block library Lenze9300Servo.lib Preface and general information 1.1.3 1−2 Terminology used Term FB In the following text used for Function block SB Parameter codes GDC System block Codes for setting the functionality of a function block Global Drive Control (parameterization program from Lenze) Lenze9300Servo.lib EN 1.
Function block library Lenze9300Servo.lib Preface and general information 1.2 Lenze software guidelines for variable names The previous concepts for Lenze controllers were based on codes that represented the input and output signals, and the parameters of function blocks. · For the sake of clarity, names were defined for the codes in the documentation. · In addition, the signal types were defined by graphical symbols. The user could see at a glance which kind of signal (analog, phase−angle etc.
Function block library Lenze9300Servo.lib Preface and general information Examples of the data−type entry Examples of a data−type b by Meaning Bool Byte n w Integer Word dn dw s Double integer Double word String f sn t Real (float) Short integer Time un udn Unsigned integer Unsigned double integer usn Unsigned short integer Identifier (the proper variable name) · An identifier begins with a capital letter.
Function block library Lenze9300Servo.lib Preface and general information 1.2.1.2 Designation of the signal type in the variable name The inputs and outputs of the Lenze function blocks each have a specific signal type assigned. These may be: digital, analog, position, or speed signals. For this reason, each variable name has an ending attached that provides information on the type of signal.
Function block library Lenze9300Servo.lib Preface and general information 1.3 Version identifiers of the function library The version of the function library can C_w[Function library name]Version . be found under the global constant Version identifiers as of PLC software version 7.
Function block library Lenze9300Servo.lib Special functions Holding brake (L_BRK) 2.1.1 2 Function blocks 2.1 Special functions 2.1.1 Holding brake (L_BRK) This FB controls a holding brake. You can use it, for instance, for hoists and traversing drives, as well as for active loads. wReleaseTime L_BRK nNx_a bQSP_b t DCTRL_bCInh_b MCTRL_nNAct_a MCTRL_nNSet2_a MCTRL_nMAct_a 0 bOut_b bMStore_b CTRL wActivationTime bSet_b bCInh_b t 0 nMSet nSign_a Abb.
Function block library Lenze9300Servo.lib 2.1.1 Special functions Holding brake (L_BRK) Range of functions · Close brake · Open the brake (release) · Set controller inhibit 2.1.1.1 Close brake bSet_b t bQSP_b t MCTRL_nNSet2_a |nNx_a| t bOut_b wActivationTime t bCInh_b t Abb. 2−2 Signal sequence when the brake is closed Functional sequence 1. Select the constant FIXED0% (selection number 1000) using bSet_b = TRUE, the function close brake" is activated.
Function block library Lenze9300Servo.lib Special functions Holding brake (L_BRK) 2.1.1 2.1.1.2 Open the brake (release) bSet_b t bCInh_b t bQSP_b t bMStore_b t MCTRL_MAct_a MCTRL_MAct_a = nMSet t bOut_b MCTRL_nNSet2_a wRelease Time t t Abb. 2−3 Signal sequence when the brake is opened (released) Functional sequence 1. Select the constant FIXED0% (selection number 1000) using bSet_b = FALSE, then bCInh_b switches = FALSE immediately.
Function block library Lenze9300Servo.lib 2.1.1 2.1.1.3 Special functions Holding brake (L_BRK) Set controller inhibit The controller inhhibit can, for instance, be set in the event of a fault (LU, OU). DCTRL_bCInh_b t MCTRL_nNAct_a |nNx_a| t bOut_b t bQSP_b t BMStore_b MCTRL_MAct_a wRelease Time t MCTRL_MAct_a = nMSet t Abb. 2−4 Operate brake by controller inhibit Functional sequence 1. By setting the controller inhibit (DCTRL_bCInh_b = TRUE) bOut_b switches immediately = TRUE.
Function block library Lenze9300Servo.lib Special functions Holding brake (L_BRK) 2.1.1 bSet_b wReleaseTime bQSP_b t t bM−Store_b t MCTRL_MAct_a MCTRL_MAct_a = nMSet t bOut_b bCInh_b wActivation Time t t MCTRL_nNSet2_a |nNx_a| t Abb. 2−5 L Switching cycle when braking Lenze9300Servo.lib EN 1.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 2.1.2 Supply−failure control (L_MFAIL) If the supply voltage via L1, L2, L3 or +UG, −UG fails, then the drive (drive network) can be decelerated (braked) in a controlled manner. Without this function, the drive (drive network) would coast down.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 Range of functions · Supply−failure detection · Supply−failure control · Restart protection · Reset of the supply failure control · Dynamic adaptation of the control parameters · Fast supply recovery (KU) · Application example 2.1.2.1 Supply failure detection The type of the supply−failure detection to be used depends on the drive system used.
Function block library Lenze9300Servo.lib 2.1.2 Special functions Supply−failure control (L_MFAIL) Supply−failure detection of the supply module · A digital output of the supply module 934x is switched to the function block L_MFAIL via the digital inputs DIGIN of the 93XX controller. In the example, input X5/E4 is used. L_MFAIL1 L_MFAIL nAdapt_a nNout_a nConst_a bStatus_b nDcSet_a bIReset_b nNSet_a DIGIN_bIn5_b bFault_b bReset_b nThreshold_a nAct_a nSet_a Abb.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 2.1.2.
Function block library Lenze9300Servo.lib 2.1.2 Special functions Supply−failure control (L_MFAIL) Activation of the supply−failure control · bFault_b TRUE = activates the supply−failure control · bFault_b = FALSE triggers a timing element. After elapse of the preset time in wRetriggerTime the supply−failure control is ended/cancelled. (^ 2−15: fast return of supply power) – The drive is accelerated to the speed setpoint if the restart protection is not active.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 Parameterization of the supply−failure control The parameters to be set are strongly dependent on the motor used, the inertia of the driven machine and the drive configuration (single drive, drive network, master−slave operation, etc.). This function must therefore be adapted to the individual application in every case. The following specifications refer to Chapter 2.1.2.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 Commissioning of the supply−failure control The commissioning should be carried out with motors without any load. 1. Start the drive with a FALSE−TRUE trasnsition at X5/E5 (when DIGIN_bIn5_b is connected to bReset_b ). 2. Setting the acceleration time nTi : – Set speed setpoint to 100%, operate controller with maximum speed.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 Fine setting of the supply−failure control For the fine setting, you will have to repeat the following points several times. 1. Obtain a very low final speed without the controller reaching the undervoltage threshold LU: – Increase the proportional gain nVp . – Reduce the integral−action time nTn . 2.
Function block library Lenze9300Servo.lib 2.1.2 Special functions Supply−failure control (L_MFAIL) Reset of the supply failure control · The supply−failure control is reset with bReset_b = TRUE (in the example, through X5/E5 (when DIGIN_bIn5_b is connected to bReset_b ). · The reset pulse is always required if: – The restart protection is active. – The restart protection is used and the supply (supply or DC supply) was switched on. 2.1.2.
Function block library Lenze9300Servo.lib Special functions Supply−failure control (L_MFAIL) 2.1.2 2.1.2.5 Fast supply power recovery (KU) The fast supply recovery causes a restart of the controller, unless the restart protection is active. The drive accelerates to its setpoint. If this is not wanted, you can delay the restart by wRetriggerTime or prevent it in combination with the restart protection.
Function block library Lenze9300Servo.lib 2.1.2 2−16 Special functions Supply−failure control (L_MFAIL) Lenze9300Servo.lib EN 1.
Function block library Lenze9300Servo.lib Appendix 3 Appendix 3.1 Code table How to read the code table: Column Code Abbreviation C0039 1 2 … 14 15 Meaning Code C0039 Subcode 1 of code C0039 Subcode 2 of code C0039 … Subcode 14 of code C0039 Subcode 15 of code C0039 [C0156] Parameter value of the code can only be modified when the controller is inhibited Keypad LCD · DIS: ... display only · all others are parameter values Factory setting of the code LCD Lenze Choice IMPORTAN T * 1 {1 %} − 3.
Function block library Lenze9300Servo.lib Appendix 3−2 Lenze9300Servo.lib EN 1.
Function block library Lenze9300Servo.