PR 5211 Instrument Manual ProfiBus Interface
Sartorius EN-59
6.1.5 Register Read and Write via ProfiBus
6.1.5.1 Data Read: Read_Value, Read_Value_Select, Read_Value_Selected
If the master shall read from the transmitter, then the register number is transferred in Read_Value_Select
in the input area. The result will be indicated in the output area with Read_Value_Selected .
Master Transmitter
Write registerno. to Read_Value_Select
Write selected register in Read_Value
Copy Read_Value_Select to Read_Value_Selected
Wait until
Read_Value_Selected = Read_Value_Select
Read Read_Value
6.1.5.2 Write Data: Write_Value, Write_Value_Select, Write_Active
If the master shall write to the transmitter, then the required action will be transferred with
Write_Value_Select together with the data in the input area. The execution will be indicated with the bit
Write_Active in the output area.
Master action Transmitter action
Write value in Write_Value
Register number in Write_Value_Select
Write Write_Value to selected register
Set bit Write_Active
Wait until Write_Active is set
Write 0 in Write_Value_Select
Reset bit Write_Active
6.1.5.3 Set/Reset Bit: Write_Value_Select, Write_Active
Single bits can be set or reset directly with Write_Value_Select.
To set, the bit number (80.. 127) is written to Write_Value_Select.
To reset, the bit number + 128 (208…255) is written to Write_Value_Select.
The Write_Value itself is not relevant.
Master Transmitter
Register number in Write_Value_Select
Write Write_Value to selected register
Set bit Write_Active
Wait until Write_Active is set
Write 0 in Write_Value_Select
Reset bit Write_Active