beautypg.com

2 profibus characteristics of vegacom 557, Object directory (ov) – VEGA VEGACOM 557 Profibus FMS User Manual

Page 19

background image

VEGACOM 557 Profibus FMS

19

Setup

6 Integrate S5 program (on diskette), which reads in measured values, into your own

application

- Enquire in OB21 and OB22 the functional component FB249 (SYNCHRONOUS)
- Transfer data component DB240 to your own application
- Initialise measured value data components (standard: DB220-235)
- Transfer functional component FB210 or FB211 and/or FB212 into your own application

Note:
The applied functional components must be called up in every program cycle

7 Transfer components to AG

4.2 PROFIBUS characteristics of VEGACOM 557

VEGACOM 557 PROFIBUS supports PROFIBUS-FMS. FMS describes the communication
objects, the application services and the resulting models from the user's point of view. The
function of VEGACOM 557 is that of the slave. E.g. a communication processor CP5431 can
be used as PROFIBUS master.

Object directory (OV)

All communication objects are entered in the local object directory (OV). The OV contains the
description of the structure, the data types and the internal address assignment. The master
(here CP5431) has access to the entered objects. The static OV is as follows:

Object

Type

Length

Number of

Password

Access

Access Rights

Symbol

index

elements

Group

(Hex)

1000

Octett-String

6

16

0

0

READ_ALL

MESSWERT-01

1001

Octett-String

6

16

0

0

READ_ALL

MESSWERT-11

1002

Octett-String

6

16

0

0

READ_ALL

MESSWERT-21

1003

Octett-String

6

16

0

0

READ_ALL

MESSWERT-31

1004

Octett-String

6

16

0

0

READ_ALL

MESSWERT-41

1005

Octett-String

6

16

0

0

READ_ALL

MESSWERT-51

1006

Octett-String

6

16

0

0

READ_ALL

MESSWERT-61

1007

Octett-String

6

16

0

0

READ_ALL

MESSWERT-71

1008

Octett-String

6

16

0

0

READ_ALL

MESSWERT-81

1009

Octett-String

6

16

0

0

READ_ALL

MESSWERT-91

100A

Octett-String

6

16

0

0

READ_ALL

MESSWERT-A1

100B

Octett-String

6

16

0

0

READ_ALL

MESSWERT-B1

100C

Octett-String

6

16

0

0

READ_ALL

MESSWERT-C1

100D

Octett-String

6

16

0

0

READ_ALL

MESSWERT-D1

100E

Octett-String

6

16

0

0

READ_ALL

MESSWERT-E1

100F

Octett-String

6

16

0

0

READ_ALL

MESSWERT-F1

In the OV you can see that 16 groups with 16 elements each are available. They represent the
256 measured values. Each measured value consists of 6 octets (including index and status
information). For access to the first 16 measured values, the master has to send a READ serv-
ice with index = 1000 hex to the slave.

The indices are required in the S5 program for placing the order to the CP.