Appendix B – CnC interfACe protoCol
HPR130XD Auto Gas – 806330 Revision 1 b-5
Multi-drop addressing
The power supply control has DIP switches to set the power supply ID.
DIP switches 2, 3, 4 are used to set the ID.
2 3 4 ID
Off Off Off 0
On Off Off 1
Off On Off 2
On On Off 3
Off Off On Reserved
On Off On Reserved
Off On On Reserved
On On On Reserved
Systems with ID 0 power-up with the serial interface enabled. Systems with any other ID power-up with the serial
interface disabled.
To implement the multi-drop interface, the CNC must send the SLEEP command (086) which will put all systems on
the line into sleep mode. The WAKE command (085) with specific system ID will wake the system that the CNC wants
to communicate with. Any command can now be sent to that power supply, while all other systems will ignore the
communications. When the CNC is finished communicating with that power supply the SLEEP command must be sent,
then the WAKE command is used to communicate with the next system.
Serial commands
Format
ASCII-based protocol
Baud 19200
8 Data bits
1 Stop bit
No parity
No flow control
Framing
> = Start of message
3 byte command ID
Data
2 byte checksum
< = End of message
Sample: >0011C2<
Commands
Responses will echo the ID of the command, unless there is an error in the command.