4 register set, Egister set – K-Patents SeedMaster 2 User Manual

Page 86

Advertising
background image

11 COMMUNICATION

86

86


Exponent:

Bit30..Bit23

the value is the exponent of the number+127. The range is -126…127

Mantissa :

Bit22..Bit0

normalized, highest bit means ½, the next one ¼ and so on.

Value of the real number can be calculated using the formula below:

Value= (-1)*S * (1+Bit22*2

-1+Bit21

*2

-2+Bit20

*2

-3+…...+Bit0

*2

-23)

*2

Exponent-127

Remark: The -0 is „not a number”.

11.4 Register set

SeedMaster 2 can handle 2 crystallizers simultaneously.

There are dedicated “read” and “write” data tables for both crystallizers, using two identical register sets for
communication. One table (read only, or RO) stores measured and calculated data. The other table (read
and write, RW) serves for writing parameters or to input data into SeedMaster 2.

The register sets are identical, so the addresses can be calculated as follows:

Address= base address + offset address

SeedMaster 2 register set

Base addresses

(decimal)

Type

Name

0

Crystallizer 1 Read only

O1 RO

128

Crystallizer 1 Read-Write

O1 RW

256

Crystallizer 2 Read only

O2 RO

384

Crystallizer 2 Read-Write

O2 RW


Offset address

(decimal)

Register name

Type

O1 RO

O1 RW

O2 RO

O2 RW

0

Concentration (syrup, m. l.)

Real

0

128

256

384

2

Temperature

Real

2

130

258

386

4

Massecuite density

Real

4

132

260

388

6

Massecuite solids content

Real

6

134

262

390

8

Motor consumption

Real

8

136

264

392

10

Crystal content (laboratory)

Real

10

138

266

394

12

Level

Real

12

140

268

396

Advertising