- ページ 6
ラボラトリー機器 Dolomite MitosのPDF プログラミング説明書をオンラインで閲覧またはダウンロードできます。Dolomite Mitos 15 ページ。 Automated product collector
Dolomite Mitos にも: クイック・スタート・マニュアル (3 ページ)

The Dolomite Centre Ltd.
2. A first in first out (FIFO) command queue
3. A "Response Pending" counter/flag
4. An interrupt driven response procedure
An interrupt based timer function is used to continually send "s" commands to the pump every
•
Check for ERROR states first and handle as required. Some errors can be reset
programmatically, some physical errors cannot and will require user intervention. See
section 6.4 below.
•
Check the command acknowledgment character to make sure this command was
correctly interpreted by the pump and handle accordingly.
3600051 - P-Pump API - programming instructions - v 1.3
Responses are also conveniently received from the pump using an
interrupt routine. The exact procedure and sequence for handling
responses is not important but your application needs to take the
second. This will keep the remote
control session alive and provides a
continuous stream of current state and
pressure information from the pump
back to your application.
New control commands are simply
added to the tail of the FIFO command
queue and the timer interrupt sends
them on the next tick.
Having sent a command, the timer sets
the "Response pending" flag and won't
send another command from the FIFO
queue until the flag is cleared. Thus
the Pending Response flag can be used
as a watchdog to ensure
communication with the pump is not
lost.
following steps:
• Handle only
complete responses.
A complete
response starts with
"#" and ends with
the <CR><LF>
terminator. In some
systems longer
responses may not
all appear
simultaneously –
you may need to
wait for the
response to be
completed.
Page 6 of 15