VEGA Modbus-TCP, ASCII protocol User Manual

Page 18

Advertising
background image

18

2 ASCII protocol

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

30768-EN-130701

Formatting of the value:

Character

Meaning

1

"- ": Minus with negative numbers
" ": Space with positive numbers

2 … 7

6-digit number after the decimal point

T3: "%" (1 character)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: N*14 characters
Note:

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

&
Answer:

=001# 000673%

=002# 008246%

=003#-000673%

=004#-008246%

& Block enquiry with length

The range stated in the enquiry with PC/DCS values is delivered as

reply to the range 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

Separator

1

L or I

Quantity

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)

Separator: "L" or "I" (1 sign)

Quantity: Number of requested PC/DCS outputs (1 … 3 signs)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: 5 … 9 characters

"N"-times repetition of the following telegram

Number of bytes

Character

T1

1

=

DCS no.

3

001 … 030

T2

1

#

Value

5 … 6

-000673

Example:

Enquiry of the control

system

Reply from the signal

conditioning instrument

Advertising