5 process data transfer, Process data transfer, Busserver s7 – Lenze Drive Server Bus server S7 getting started User Manual

Page 58

Advertising
background image

Busserver S7

L

119

Busserver S7 DE/EN 1.0

6.6.5

Process data transfer

FC3, network 1

The following call is used to transmit two process data words (2PZD).

•

Process data word 1 is always the DRIVECOM control word.

•

Process data word 2 can be freely selected.

CALL FC 94
FirstDriveDW

:=8

DriveSend_DB

:=”DriveSend_DB”

DriveRecv_DB

:=”DriveRecv_DB”

Enable

:=”Enable”

QSP

:=”QSP”

Reset

:=”Reset”

Setpoint1

:=”Setpoint1”

ControlWord

:=”ControlWord”

RDY

:=”RDY”

TRIP

:=”TRIP”

ActualValue1

:=”ActualValue1”

StatusWord

:=”StatusWord”

•

The parameter FirstDriveDW defines the byte position of the first data word of the connected

drive controller.

–

For each drive controller, 8 data words are reserved in the data blocks

DriveSend_DB and /

or

DriveRecv_DB. The first 4 data words are needed for parameter access and the last 4

data words for process data access.

–

The drive controllers must have successive I/O addresses.

•

The inputs Enable, QSP and Reset are set to enable the controller:

–

Enable = TRUE

–

QSP = FALSE

–

Reset = FALSE

•

The second process data word is assigned to the setpoint input.

•

Control word and status word conform to the DRIVECOM specification.

•

The DRIVECOM status machine has already been implemented in

FC94.

•

The outputs RDY and TRIP provide information about the controller status.

•

ActualValue1 is the value read out.

Tip!

Detailed information about the parameters of

FC94 can be found in chapter 6.3.7.

(

^ 107)

Use function block

FC93 to transmit three process data words.

(

^ 106)

Show/Hide Bookmarks

Advertising