Watson Industries, Inc.
SPS-P230 Rev A 10/17/2017
13
RS-232 Output Format
The nominal RS-232 output consists of a string of decimal ASCII characters sent asynchronously at
regular intervals at about 10 strings per second. The string is set to be sent at 9600 baud with eight
data bits, one stop bit, no parity, and no handshaking. The factory settings for the contents of the
string is formed as follows:
1.
A six character string representing the tilt angle starting with a space, then a “+” or a “-“,
followed by two digits, a decimal point, and one digit for up to ±89.9 degrees.
2.
A six character string representing the pan angle starting with a space, then a “+” or a “-“,
followed by three digits, a decimal point, and one digit for up to ±179.9 degrees.
3.
A six character string representing the tilt axis angular rate starting with a space, then a “+”
or a “-“, followed by two digits, a decimal point and one digit for up to ±99.9
degrees/second.
4.
A six character string representing the pan axis angular rate starting with a space, then a “+”
or a “-“, followed by two digits, a decimal point and one digit for up to ±99.9
degrees/second.
5.
A five character string representing the power supply voltage starting with a space,
followed by two digits,
a decimal point, and one digit for up to 35.0 VDC.
6.
.A six character string representing the tilt axis motor current starting with a space, then a
“+” or a “-“, followed by one digit, a decimal point and two digits for up to ±9.99 Amps.
7.
A six character string representing the pan axis motor current starting with a space, then a
“+” or a “-“, followed by one digit, a decimal point and two digits for up to ±9.99 Amp.
8. A four character string representing the Status Bits starting with a space, followed by three
ASCII characters representing Octal digits.
9. A seven character string representing the Flag Bits starting with a space, followed by two
ASCII characters (Flag Bits1) representing Octal digits, a space, followed by three ASCII
characters (Flag Bits2) representing Octal digits.
10. The string is terminated by a carriage return. There will then be a short interval with no data
transmission before the next string begins.
Example:
+02.5 -001.5 +02.5
-05.0
24.5
+0.25
-0.22
064
04 000 <CR>
Tilt
Angle
(1)
Pan.
Angle
(2)
Tilt
Rate
(3
Pan
Rate
(4)
Power
Supply
Voltage
(5)
Tilt
Current
(6)
Pan
Current
(7)
Status
Bits
(8)
Flag
Bits
(9)
(10)
↑
↑
↑
↑
↑
↑
↑
↑
space
space
space
space
space
space
space
space