9. Fieldbus interface | 9.2 - Scale protocol | 115
9.2.3.2 Writing control bits
Some device functions can be executed by setting bits directly in bytes 6 and
7 (control bytes) of the write window.
Action of the master
Slave reaction
Set bits in the
control byte
.
Function is executed.
Reset bits in the
control byte
.
9.2.4 Waiting for the result of the action
When an action requiring more time is started, the end of execution can also
be waited for.
Action of the master
Slave reaction
For setting bits, see Chapter
.
Set the
CmdBusy
bit.
Function is executed.
In the event of an error: Set the
CmdError
bit and the
LastError
byte.
If the function is executed or
timeout:
reset the
CmdBusy
bit.
Wait until
CmdBusy
= 0.
Check the
CmdError
bit.
If
CmdError
is set:
Evaluate the
LastError
(for func
tion number 4: adjustment infor
mation, error byte (read)
)