Dolomite Mitos Інструкція з програмування - Сторінка 7

Переглянути онлайн або завантажити pdf Інструкція з програмування для Водяний насос Dolomite Mitos. Dolomite Mitos 15 сторінок. Automated product collector
Також для Dolomite Mitos: Посібник із швидкого старту (3 сторінок)

Dolomite Mitos Інструкція з програмування
The Dolomite Centre Ltd.
Parse the actual response.
o For "s" commands, parse out all the pump data and present to your application
GUI for display, logging etc. See section 6.3 for details.
o OK acknowledgments of other commands probably require no further action.
After receiving a response, it is safe to check the FIFO queue for any commands waiting
and send them.
Finally, set the "Pending Response" flag as required.
These are the basic steps required to control the pump. Exact implementations will vary
depending on the operating system and programming languages utilised.

6 Command/Response syntax

6.1 Response syntax

The pump responds to commands sent with a response that is always constructed the same way.
A standard response is of the form "#Ln" where L is the previous command and n is the command
acknowledgment value.
Command acknowledgment values are:
CMD_ACCEPTED
CMD_REJECT_pump_BUSY
CMD_REJECT_pump_ERROR
CMD_REJECT_MANUAL
CMD_REJECT_INVALID_ARG
CMD_REJECT_WRONG_NUM_ARGS
CMD_REJECT_UNKNOWN_CMD
CMD_REJECT_INVALID
Simply put, command acknowledgments where n is 0 have been accepted and actioned by the
pump. All other endings indicate some form of problem that your application will need to
address.

6.2 Command List

The tables below show a complete list of commands and responses available to control the pump.
All commands and responses are terminated with <CR><LF>.
Command Description
Enter remote control mode.
A1
Response "#A0"
A0
Leave remote control mode. If the pump is
controlling this will return the pump to IDLE and
vent.
3600051 - P-Pump API - programming instructions - v 1.3
Response description
Value (n)
0
1
2
3
4
5
6
8
Pump State
Control Mode
(before after)
(before after)
ANY
Man. Remote
ANY IDLE
Remote Man.
Page 7 of 15