VEGA Modbus-TCP, ASCII protocol User Manual

Page 28

Advertising
background image

28

2 ASCII protocol

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

30768-EN-130701

T3: "#" (1 character)

Unit: Unit as text (0 … n unit)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: Number*(14 characters+Unit character)
Enquiry:

$001L003
Answer:

=001# 67.3 #kg

=002# 824.3 #%

=003#-67.3 #m

$ Block enquiry with range

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

reply to the range enquiry. The measured value is transmitted with 11

positions as floating point and with unit.

Number of bytes

Character

Identifier

1

$

Begin

1 … 3

001 … 030 or 1 … 30

Separator

1

-

End

1 … 3

001 … 030 or 1 … 30

End identification

1

CR

Identifier: "$" (1 character)

Start: Start no. of the requested PC/DCS output (1 … 3 charac-

ters)

Separator: "-" (1 sign)

End: End no. of the requested PC/DCS output (1 … 3 characters)

End identification: Carriage Return CR (1 sign)

Total length of the telegram: 5 … 9 characters

(End-Start+1)-times repetition of the following telegram

Number of bytes

Character

T1

1

=

DCS no.

3

001 … 030

T2

1

#

Value

11

-824.6

T3

1

#

Unit

0 … n

xxx

End identification

1

CR

T1: "=" (1 character)

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

T2: "#" (1 character)

Value: Numerical value of the PC/DCS output or with interferred

measured value the error code "Exxx"

Example:

Enquiry of the control

system

Reply from the signal

conditioning instrument

Advertising