Fairbanks X SERIES PR 5410 Process Indicator User Manual

Page 132

Advertising
background image

Section 7: Fieldbus Interface

10/08 132

51207 Revision 1

7.2.3 Reading and Writing Register via Fieldbus


Reading Data: Read_Value, Read_Value_Select, Read_Value_Selected
When the master has to read from the instrument, the register number is transmitted in

Read_Value_Select

in the input area. The result is specified with

Read_Value_Selected in the output

area

.


Action of the master

Response of PR 5410

Writing register no. in

Read_Value_Select

Writing the selected register in

Read_Value

Copying Read_Value_Select

into

Read_Value_Selected

Waiting, until

Read_Value_Selected = Read_Value_Select

Reading Read_Value



Writing data: Write_Value, Write_Value_Select, Write_Active
When the master has to write into the instrument, the required action is transmitted into the input
area with

Write_Value_Select

together with the data. Execution is indicated by bit

Write_Active

in the

output area.

Action of the master

Response of PR 5410

Writing value in

Write_Value

Writing the register number in

Write_Value_Select

Writing Write_Value

in the selected register

Setting bit

Write_Active

Waiting, until

Write_Active

was set

Writing 0 in

Write_Value_Select

Resetting bit

Write_Active



Setting Bit: Action_Select, Write_Active
Single bits can be set or reset directly with

Write_Value_Select

.

For setting, the bit number (80.. 127) is written in

Write_Value_Select

.

For resetting, the bit number + 128 (208..255) is written in

Write_Value_Select

.


Action of the master

Response of PR 5410

Writing register number in

Write_Value_Select

Writing Write_Value

in the selected register

Setting the

Write_Active bit

Waiting, until

Write_Active was set

.

Writing 0 in

Write_Value_Select

Resetting the

Write_Active bit


Reading Bit
Single bits can be read only by reading a register. The procedure is described in Chapter 0.

Advertising