
7.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
.
7.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
or
.
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 function
number 4, see Chapter
Set the
ResetError
bit (for function
number 121, see Chapter
).
The
ResetError
bit is reset.
The
CmdError
bit is reset.
7.2.5
Function numbers
Function numbers are written to MOSI by the master (SPS) and reflected in MISO by the
PR 5211.
-
Funktionsnummer 0: I/O status bits (read), see Chapter
-
Function number 1: scale status (read), see Chapter
-
Function number 4: calibration information, error byte (read), see Chapter
-
Function number 5: device type and software version (read), see Chapter
-
Function number 6: serial number of the weighing point (read), see Chapter
-
Function numbers 8 to 15: weight data (read), see Chapter
Transmitter Series PR 5211
7 ProfiBus interface
Minebea Intec
EN-66
Содержание PR 5211 Series
Страница 95: ......