2 fb91 (fb drive cp), Fb91 (fb drive cp), Busserver s7 – Lenze Drive Server Bus server S7 getting started User Manual

Page 40

Advertising
background image

Busserver S7

L

101

Busserver S7 DE/EN 1.0

6.3.2

FB91 (FB DRIVE CP)

Function block

For every drive one instance is to be created.

The function block is based on the functions SFC58/59.

Parameters

Data type

Possible values/meaning

Tag

IN: STRING

Special identifier; do not change

PB_Address

IN: BYTE

0...31 PROFIBUS address of the drive (hexadecimal)

Address 1 = 1, address 15 = F

FirstDriveDW

IN: INT

Byte offset of the first drive data word in the data
exchange DB (decimal)

DriveSend_DB

IN: BLOCK_DB

Data exchange DB for send jobs to the external PROFIBUS
communication processor (CP)

DriveRecv_DB

IN: BLOCK_DB

Data exchange DB for read jobs from the external
PROFIBUS communication processor (CP)

DriveServer_DB IN: BLOCK_DB

Data block with parameter data job list via OPC

e.g.

DB80

DrivePar_DB

IN: BLOCK_DB

Data block with parameter data job list of the PLC

e.g.

DB81

TimerNo

IN: TIMER

Timer for monitoring the drive

e.g.

T1

TimeOut

IN: S5TIME

Timeout for monitoring.

If not indicated, pre-setting ”S5T#1S” (= 1 s) is used.

Busy

OUT: BYTE

Status of the function:

usy

OU

0x00 Not active (jobs have been processed)
0x01 Active (jobs are still being processed)
0x10 Incorrect identifier in the data block, incorrect data block

indicated or overwritten: Reload data block

0x11 PB_Address incorrect (permissible values: 1 ... 123)
0x40 Count outside the range 0 ... 31
0xF0 No module configured under PB_Address
0xF1 Length of source range <> Length of configured user

data

0xFF General I/O access error

Show/Hide Bookmarks

Advertising