5 creating a step7 project, 1 overview of the step7 blocks, Overview of the step7 blocks – Lenze Drive Server Bus server S7 getting started User Manual

Page 23: 5creating a step7 project, Busserver s7

Advertising
background image

Busserver S7

L

84

Busserver S7 DE/EN 1.0

5

Creating a STEP7 project

5.1

Overview of the STEP7 blocks

The following figure gives you an overview of the different STEP7 blocks:

FB DRIVE

DB OPC

PROFIBUS-DP

PA

PE

DB S7PAR

S7

PA

PE

Parameter data channel

Process data channel

Drive 1

OPC via

S7 protocol

FC

parameter

FC

process

data

Symbolic

block name

Block number Function

FB DRIVE

FB 90

Call one instance of

FB DRIVE for each drive.

Allocate one instance data block to each instance.
Each instance checks cyclically whether a command for the corresponding

drive is available in the data block

DB OPC or DB S7PAR and executes this

command, if necessary.

DB OPC

DB 80

The data block

DB OPC is used for data exchange between the bus server

and the drives.
A list of the commands for the individual drive controllers is saved in

DB

OPC.

DB S7PAR

DB 81

The data block

DB S7PAR is used to write parameter data from the PLC. The

function

FC Parameter is used to write the parameter data jobs to DB

S7PAR .

In this description, symbolic names are used for the blocks. If you want to use these names instead

of the individual block numbers in the STEP7 project, you first have to create them in the symbol table.
In the following sub-chapter, this program structure will be explained in detail.

Show/Hide Bookmarks

Advertising