A SERVICE OF

logo

5.5 Reading the status register
Although the information about the status register is sent back by the
RCS as part of the acknowledge, it
might be useful to ask it directly.
Command “o”: read status register
Description: Via this command the RCM tells the RCS of class m to read the status register.
The
RCS executes the command and sends the acknowledge which informs about the
contents of the status register.
Example: The command
o is sent to the second RCS:
Message
<STX> <TYPE> <ADDRH> <ADDRL> <Body> <STATH> <STATL <CHKH> <CHKL> <ETX>
m0 2 o 3e
Assumption: H
ERMES DXD is operated in the default configuration (DIGITAL INPUT 1
connected to DIGITAL OUTPUT 1, DIGITAL INPUT 2 connected to DIGITAL OUTPUT 2,
auto switch enabled)
Status Auto Switch Out2
true
Out1
true
Reserved Out2
target
Out1
target
Prsnt2 Prsnt1
0100 1011
Acknowledg
e
<STX> <TYPE> <ADDRH> <ADDRL> <Body> <STATH> <STATL <CHKH> <CHKL> <ETX>
m0 2 o 6bd6
Result: The status register is read and the value is sent back to the
RCM.