For reset, the bit 128 (208
255) is written to
Write_Value_Select
.
Action of the master
Reaction of the PR 5230
Write register number to
Write_Value_Select
.
Write
Write_Value
to the selected re-
gister.
Write
Write_Value
to the selected re-
gister.
Set the
Write_Active
bit.
Wait until
Write_Active
has been set.
Write 0 to
Write_Value_Select
.
Reset the
Write_Active
bit.
12.2.4.4
Reading bit
Single bits can be read only by reading a register. The procedure is described in
Chapter
12.2.4.5
Control byte
Some device functions can be executed by setting bits in the input area directly.
Action of the master
Reaction of the PR 5230
Bits in
Control Byte
set.
The operation is processed.
Reset bits in the
Control Byte
.
Copy
Read_Value_Select
to
Read_Value_Selected
.
12.2.4.6
Waiting for the result of the action
When an action taking a longer time was started, the end of execution can be waited for
after starting (see Chapters
and
).
Action of the master
Reaction of the PR 5230
For setting bits, see Chapters
and
Acknowledge the "set bit" (see Chap-
ter
Set the
CmdBusy
bit.
The operation is processed.
In the event of an error: Set the
CmdError
bit and the
LastError
byte.
Reset the
CmdBusy
bit.
Wait until
CmdBusy
has been reset.
Check the
CmdError
bit.
Transmitter in field housing PR 5230
12 Fieldbus interface
Minebea Intec
EN-262