2 profibus nodes, Application examples – Lenze Engineer v2.21 User Manual

Page 230

Advertising
background image

Application examples

PROFIBUS nodes

230

Lenze · Engineer · 2.13 EN - 10/2014

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

10.2

PROFIBUS nodes

Four data words are to be received from a PLC and processed in the FB Editor.

• Data structure:

• PW 0: Setpoint
• PW 2: Status
• PW 4: Max. value
• PW 6: Min. value
• Station address: 3

How to process the received data words in the FB editor:

1. Create the following project tree in the project view:

2. Select the 9400 HighLine project element in the project tree, change to the Ports tab and

create a "PROFIBUSPort" input port of the type "Record".

• Click the New button in the Port Definition to create the following element variables.

3. Select the following interface and process data object for the port definition.

4. Select the project element PROFIBUS [Slot 1] in the project tree and change to the Settings

tab.

5. Select Station address 3 from the selection field.
6. Select 9400 HighLine in the project tree and execute the menu command ToolsBuild

project.

Advertising