Varec 4000 manual Character Data

Models: 4000

1 78
Download 78 pages 61.23 Kb
Page 59
Image 59

4000

Modbus Implementation

 

 

9.5.2Integer Data

Hexadecimal representation

4124Decimal equivalent: 16,676

The data returned for data address 56 is 16,676 (4124 Hex). This value must be scaled using the following formula to give it meaning.

If a variable goes out-of-bounds (outside the minimum or maximum scale points), a value equal to the maximum Modbus integer + 1 is returned. Writing to dynamically calculated parameters has no effect on those parameters.

9.5.3Character Data

Character data, such as software version, are returned in registers in ASCII data format. Each Modbus register represents two ASCII characters.

The following communication example shows the character data "ATT-" read from the ATT.

Host Request

 

 

 

 

 

 

Address

Function

Start Reg

Start Reg

# of Reg

# of Reg

Error

 

 

Code

H

L

H

L

Check

 

 

 

 

 

 

 

 

 

01

03

00

1E

00

02

XX

 

 

 

 

 

 

 

 

 

ATT Response

 

 

 

 

 

 

Address

Function

Byte

Data

Data

Data

Data

Error

 

code

Count

MSB

LSB

MSB

LSB

Check

 

 

 

 

 

 

 

 

01

03

04

41

54

54

2D

XX

 

 

 

 

 

 

 

 

Hexadecimal representation 41 54 54 2D

ASCII representation: ATT-

49

Page 59
Image 59
Varec 4000 manual Character Data