4plc functionality – Lenze E94AxPExxxx User Manual

Page 53

Advertising
background image

Lenze · 9400 Servo PLC· Reference manual · DMS 4.0 EN · 11/2013 · TD05/06

53

4

PLC functionality

4.4

Use of function blocks

_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _

How to create the codes for function block instances:

1. Open the Parameter manager in the Resources tab.
2. Use the menu command InsertList to open the dialog window Insert list.
3. Activate the Instance field
4. Enter list names (example: "ramp generator").

After being imported into Engineer, the list name appears as pulldown menu in the "All

parametersIEC 1131 parameter" register.

5. Confirm with OK
6. Go to the Template selection field and enter the name of the L_SdRampGenerator function

block

7. Go to the Base variable and enter the name of the instanced POU using the function key

<F2>. Enter 0 in the base index and subindex fields.

8. Select Apply . The following image appears:

9. Import new codes as described in section "

Import in the »Engineer« project

".

( 65)

In the All parameters tab, the Ramp generator category is displayed.

Advertising