9. Fieldbus interface | 9.2 - Scale protocol | 153
9.2.2.3 Writing bits
In addition to the control bits in bytes 6/7, further bits can be set and, if
necessary, reset directly with Write_Value_Select.
To set bits 80 to 124, the corresponding function number is written to
Write_Value_Select (see ChapterFunction numbers).
To reset bits 80 to 89, the corresponding function number +128 (208 to 217) is
written to Write_Value_Select.
Action of the master Slave reaction
Writing the bit address as a func
tion number to Write_Value_S
elect.
The bit from Write_Value_Select
is set and the corresponding
function carried out.
Set the Write_Active bit.
Wait until Write_Active has been
set.
Write 0 in Write_Value_Select.
Reset the Write_Active bit.
9.2.2.4 Reading bits
Reading individual bits which are not contained directly in the read window
is only possible with a corresponding function number and the data in
Read_Data (Byte 0-3) of the read window. In those bytes, the bits must be
evaluated individually.
The procedure is the same as that described in ChapterReading data.
9.2.3 Reading and writing bits directly
For reading status bits and for writing direct control bits, no procedure is re
quired. The general status bits are always provided and need not be request
ed. The direct control bits are also available continuously.
9.2.3.1 Reading status bit
The status bits in bytes 5-7 of the read window are always available and can
be read directly by the master.