beautypg.com

Fairbanks X SERIES PR 5220 ETHERNET TRANSMITTER User Manual

Page 81

background image

Section 7: Fieldbus Interface

05/11 82

51209 Revision 2

7.2 Description of the I/O Area (Read / Write Window)

7.2.1

Input Area


Data transmission from the master to the PR 5220 (slave) is via the input area.
Weight or data requests are transmitted to the slave by the master.
The master has write access; the slave has read access.

Byte

Name

Description

0

Write_Value (MSB)

e.g. limit value

1

:::

"

2

:::

"

3

Write_Value (LSB)

"

4

Read_Value_Select

e.g. gross weight

5

Write_Value_Select

Write:

Limit 1 On

6

free

free

free

free

free

outp. 3

outp. 2

outp. 1

Free / digital

outputs

7

Get
FixTare

Set
FixTare

Res
Power

Res
Test

Set
Test

Res
Tare

Set
Tare

Set
Zero

Control byte,
response to

0->1

transition

Bit 7

Bit 6

Bit 5

Bit 4

Bit 3

Bit 3

Bit 1

Bit 0


The

control byte

activates the corresponding action in the instrument with a set bit.

After execution of the operation, the bit should be reset.

Variable

Function

Write_Value

The weight value is transmitted as a binary 32-bit value with plus or
minus sign.
Data type:

DINT

Read_Value_Select

For selecting the value sent by the instrument

Write_Value_Select

For selecting the function to be executed by the instrument

GetFixTare

The gross weight is copied into the fixtare memory.

SetFixTare

Taring is performed using the value stored in the fixtare memory.

ResPower

The

Power_Fail

bit in the output area is deleted.

ResTest

The test operating mode is finished.

SetTest

The test operating mode is started. Now the test value can be read
out by reading out the gross weight.

ResTare

Tare is reset.

SetTare

The instrument is tared.

SetZero

The instrument is set to zero.