beautypg.com

7 measured value enquiry with command – VEGA Modbus-TCP, ASCII protocol User Manual

Page 16

background image

16

2 ASCII protocol

Modbus-TCP, ASCII protocol • VEGAMET 391/624/625, VEGASCAN 693, PLICSRADIO C62

30768-EN-130701

Character

Meaning

5

".": Decimal point

6

1-digit number (after the decimal point)

T3: "%" (1 character)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: (End-Start+1)*12 … 13
Note:

The % sign is a separator, not the unit %
Enquiry:

%002-004
Answer:

=002# 067.3%

=003# 824.6%

=004#-067.3%

2.7 Measured value enquiry with command &

& Single enquiry

As answer to the individual enquiry, the PC/DCS value stated in the

enquiry is deThe PC/DCS value stated in the enquiry is delivered as

reply to the individual enquiry. The measured value is transmitted with

six decimal places without decimal point and unit.

Number of bytes

Character

Identifier

1

&

Begin

1 … 3

001 … 030 or 1 … 30

End identification

1

CR

Identifier: "&" (1 character)

Start: No. of the requested PC/DCS output (1 … 3 characters)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: 3 … 5 characters

Number of bytes

Character

T1

1

=

DCS no.

3

001 … 030

T2

1

#

Value

7

-000673

T3

1

%

End identification

1

CR

T1: "=" (1 character)

DCS no.: No. of the PC/DCS output as 3-digit decimal number

T2: "#" (1 character)

Example:

Enquiry of the control

system

Reply from the signal

conditioning instrument