79
About External Communication Functions
• Reply packet data format
The following shows the reply packet data format used when the pump replies to a request packet.
Reply packet data format
<?xml version="1.0"?>
<REP>
<DEVID></DEVID>
<CMD></CMD>
</REP>
•
REP tag:
This tag indicates the reply from the pump to the request command sent by the network system.
•
DEVID tag:
This tag indicates the device ID of the pump.
•
CMD tag:
This tag indicates the command and data from the pump to the request command.
For details on the element commands and data, see this page “Command Format <Reply>”.
The element is converted using Base64.
Command Format
<Request>
The following shows the format of a request command received by the pump.
The request command is used as the element of the CMD tag of a request packet format.
Request command format
Sequence
Command
SubCommand
Data
• Sequence:
For a command from the network system: 0x00-0x7E
The following sequence numbers are reserved: 0x7F-0xFF.
• Command:
For details, see page 80 “Data Format”.
• SubCommand:
For details, see page 80 “Data Format”.
• Data:
Data is sent according to Command or SubCommand.
For details, see page 80 “Data Format”.
<Reply>
The following shows the format of a reply command the pump sends.
The reply command is used as the element of the CMD tag of the reply packet format.
Reply command format
Sequence
Command
SubCommand
Execution result
Data
• Sequence:
The pump sends the same value as the sequence number of the request command received.
• Command:
The pump sends the same value as that of Command of the request command received.
• SubCommand:
The pump sends the same value as that of SubCommand of the request command received.