
H07401-R08
9
5. Protocol specifications
1) String transmitted from host computer
Command (or command + parameter) + carriage return (0dh) is one unit. Use capital
letters for commands, and use capital letters or digits for parameters. No break mark is
needed between the command and the parameter.
To set two or more parameters, insert a space after each parameter.
2) String that host computer receives
Parameter (or “#” + error code) + carriage return (0dh) is one unit.
3) Sum check
The CRC method is used for checking sums (refer to the following for details). Transmit
“SCC1” from the host computer to check. Transmit “SCC0” with CRC code (*1) to end.
The power supply will send “#06” to host computer, if a CRC error has occurred.
(*1) The CRC code equivalent to "SCC0" is "b89a". In the event that CRC
communication is abnormally functioning, transmit "SCC0b89a" without the CRC
code.
<Details of the CRC method>
Make the CRC code in right-transmission with 0x8408 (in hexadecimal notation) witch is
generated from the Checking Polynomial(x16+x12+x5+1) 0x11021 (in hexadecimal notation) by
reversing right and left, according to CCITT(X.25) recommendations. To send a string, attach
the generated code (or command + parameter) as 4 byte data after the command. When
receiving, the 4byte data before the carriage return (0dh) is the CRC code.Samples of CRC code
are shown below.
Samples of CRC code
Without CRC code With CRC code
RRS RRS70ce
35 35f5a3
SCC0 SCC0b89a
6. Commands
6-1. Operation commands
Operation commands allow you to set the CRC configuration, to start/stop the pump, and
to confirm these operations.
Example
Command Parameter Returned
value Function command returned
value
SCC0b89a! $!SCC [0,1] - CRC setting
[0]---Set CRC to null
[1]---Set CRC
effective SCC1! $975e!
SCC! 0!SCC - [0,1] Read CRC setting
SCCb6da! 1d072!
SDR [0,1] - Start/stop pump
[0]---stop pump
[1]---start pump
SDR0! $!