beautypg.com

VEGA VEGACOM 557 Profibus DP User Manual

Page 29

background image

VEGACOM 557 Profibus DP

29

Data image in VEGACOM 557

Enquiry of measured value from the DP Master with control command 0xCC to DISBUS

In the 2 Byte output section of the VEGACOM 557 DP-Gateway , the DP Master enquir es with

the control command 0xCC and a block no. 1 … 32, one block with eight measured values

each fr om the DP-Gateway .

DP-Master:

Control command:

0xCC

Block no.:

0x01...0x20

2 Byte

output section

Byte 1

Byte 2

control

command Block no.

0xCC

0x01

...0x20

Enquiry of measured value from Profibus-Master

8 PC/DCS values

Control word

PC/DCS value no. 1 of VEGAMET no.1

PC/DCS value no. 2...7

Byte1 Byte2 Byte3 Byte4 Byte5 Byte6 Byte7 Byte8 Byte9 Byte10

Byte50

...

Control Block no. Index

Status

High-HI

High-LO Low-HI

Low-LO Index

Status

Low_LO

...

0xCC 0x02

0x11

0x00

0x00

0x00

0xXX 0xXX

0x12

0x00

0xXX

...

Image of measured value on Profibus DP with control command 0xCC on DISBUS

VEGACOM 557 answers with the block no. (0 … 31) decremented by the value 1

Answer of VEGACOM 557 to the enquiry of measured value from the Profibus-Master (here enquired block

no. = 3)

Index byte

PC/DCS

number

VEGAMET

address

BIT 4...7

BIT 0...3

1...15

1...7

Example:

If the enquired measured value is the PC/DCS value no. 3
of VEGAMET no. 2, the value 0x23 (hex) is delivered in the

index byte.

Note:

The index delivered via the DISBUS on enquiry of measured value, is structured as follows:

Structure of the index byte on enquiry of measured value via DISBUS

Example:

Enquiry telegram to VEGACOM 557 (2 Byte):

0xCC 0x03

Block no. 3 is enquired

Answering telegram of VEGACOM 557 (50Byte):

0xCC 0x02 0x11 0xYY 0x00 0x00 0xHH 0xLL 0x12 0xYY 0x00 0x00 0xHH ...

control word

PC/DCS value no. 1, VEGAMET no. 1 PC/DCS value-no. 2, VEGAMET no. 1

0xYY

= Index-Byte

0xHH

= High-Byte measured value

0xLL

= Low-Byte measured value