122
About External Communication Functions
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
For a command from the TERUFUSION Communication Rack System: 0x80-0xFE
The following sequence numbers are reserved: 0xFF and 0x7F
• Command:
For details, see page 123 “Data Format”.
• SubCommand:
For details, see page 123 “Data Format”.
• Data:
Data is sent according to Command or SubCommand.
For details, see page 123 “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.
• Execution result:
When the pump has received a request command and successfully processed it, the pump sends “0x00” indicating that
execution is successful.
If the request command failed due to an error, the pump sends a value between 0x11 and 0x15 as the execution result.
The following table lists the execution results.
Item
Size
Details
Execution result
1
0x00: Successfully processed
0x11: Command or SubCommand cannot be identified or is undefined.
0x12: The command is invalid, being unable to be executed.
0x13: Short message
0x14: Long message
0x15: The parameter is outside the range.
• Data:
If the execution is successful (0x00), the pump sends the processing results according to the requested command and the sub
command.
If the execution failed due to errors (0x11, 0x12, 0x14, 0x15), the pump sends the requested command and the sub command.
If the execution failed due to the error (0x13), the pump sends 0x000000.
Summary of Contents for TERUFUSION TE-SS830P
Page 163: ...163 Memo ...