12
10
Serial Commands
10.1
Command Structure
The PP860 can be programmed via a serial communications link either from
within the user’s custom code using MSCOMMS32 or using a Gardasoft
demonstration
program
(check
availability
then
download
from
www.gardasoft.com ) . Alternatively a utility such as HyperTerminal running
on a PC can be used to program an individual unit.
The communications port should be set to 115Kbaud, no parity, 8 data bits, 1
stop bit.
The commands comprise a code of two upper case letters followed by the
parameters (if any) needed for the command. Spaces in the commands are
ignored. A carriage return character should be sent to terminate the command.
Time is defined in microseconds:
20
20us
1500
1.5ms
Current is in amps
0.2
0.2A
1.5
1.5A
20
20A
All responses from the PP860 are terminated with a ‘>’ character to indicate
that the command is complete.
If a command is invalid, one of the following error codes from Appendix A
returned.
Commands take effect immediately they are issued. Because of this, if the
settings are being changed from high current Pulsed Output mode to a
Continuous Output mode, it is advisable to set the current values to 0
using the RC command before changing mode. This prevents overload
conditions occurring.
Any changes made using RS232 commands are not saved permanently
until the AW command has been issued.