
Remote Control Fundamentals
NRP2
183
User Manual 1173.9140.02 ─ 07
5.8 Device Model and Command Processing
was prepared from the point of view of the pro-
cessing of remote control commands. The individual components operate independ-
ently of each other and simultaneously. They communicate with each other by means
of messages.
Fig. 5-2: Device model for remote control
5.8.1 Input Unit
The input unit receives the commands in the form of characters from the remote con-
trol interface and collects them in the input buffer. The input unit sends a message to
the command identification as soon as the input buffer is full or as soon as it receives a
delimiter. The received data is processed in the parser (command identification).
5.8.2 Command Identification (Parser)
The parser analyzes the data received from the input unit. Data is processed in the
sequence in which it was received. Syntax errors in the command are recognized and
passed on to the status reporting system. Following the syntax test, the value range of
the data is verified and the setting is adapted. Only after the command has been com-
pletely executed will the next command be processed.
5.8.3 Data Base and Device Hardware
The term "device hardware" refers to that part of the device which performs the mea-
surement function.
The data base contains all parameters required for setting the device hardware. Set-
ting commands cause a modification of the data set. Before the data is entered in the
data set, it is verified for compatibility both with the other data and with the device hard-
ware. If the setting is not possible, an error message will be sent to the status reporting
system and the setting will be ignored. After successful completion of the verification,
the setting will immediately be performed.
If the setting influences the result calculation, the
MEAS
uring bit is set in the status
operation register until new measured values are available. The
MEAS
uring bit is
described in more detail in the Status Reporting System section that follows. This bit
may be used for the synchronization of command processing. Queries cause the data-
set management to send the desired data to the output unit.
Device Model and Command Processing
北京海洋兴业科技股份有限公司(证券代码:839145)
电话:010-62176775
网址:www.hyxyyq.com