22
10
PP610F and PP612F
10.1
Command Structure
The PP610F and PP612F can be programmed via a serial communications link
either from within the user’s custom code using MSCOMMS32.OCX or using
the PP600COM DLL or OCX provided by Gardasoft Vision (see
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 9600 baud, 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.
Some commands need the output or input channel to be specified. For these the
channel number, either 1 or 2, immediately follows the two letter command.
Where more parameters are needed, they consist of a single upper case letter
defining the parameter, followed by a numeric value.
The numeric values are single digits, with the exception of time and current,
which are formatted thus:
Time is defined in milliseconds:
0.02
20us
8
8ms
9.32
9.32 ms
Current is in milliAmps, rounded up to the next multiple of 0.25mA
0.2
0.25mA
25.7
25.75mA
1000
1 Amp
10000
10 Amps
The command codes and their meaning are described below. The single upper
case letter codes for the parameters are also shown, followed by lower case
letters denoting the numeric argument.
All responses from the PP610F are terminated with a ‘>’ character to indicate
that the transaction is complete.