PP610/612 LED lighting controllers - User Manual
10
PP610 command structure
The PP610 and PP612 can be programmed through 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
). 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 as follows:
Time is defined in milliseconds:
0.02
= 20µs
8
= 8ms
9.32
= 9.32ms
Current is in milliamps, rounded up to the next multiple of 0.25mA:
0.2
= 0.25mA
25.7
= 25.7mA
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 PP610 and PP612 are terminated with a
>
character to indicate that the transaction is complete.
If a command is invalid, one of the following error codes is returned as well
as being displayed on the LEDs.
—
38
—