9. Fieldbus interface | 9.2 - Scale protocol | 155
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 ChapterWrit
ing bits or Writing control bits.
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 number4, see ChapterFunc
tion number 4: adjustment infor
mation, error byte (read))
Set the ResetError bit (for func
tion number121, see Chap
terFunction number 112–124:
transition-controlled action bits
(write)).
The ResetError bit is reset.
The CmdError bit is reset.