The text of a manual · part 16 of 18
Placer GPS 450/455 Installation and Operations Manual, pages 151 to 160
Pages 151 to 160 of 178
The original document is the PDF (2.1 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Trimble Placer GPS 450 and Trimble Placer GPS 455
Page 151
PLACER.BK : AppendixA Page 29 Monday, February 24, 1997 9:30 AM
TAIP Protocol
PC Protocol Configuration This message allows configuration of options specific to the Placer 450 communications protocol. Note that this message is not supported or required for Placers that do not have built-in radio protocols (e.g., MAP27, CPDP). The format of the data string is as follows: Item
# of Char
Units
Format (Value)
Protocol Type
1 n/a
A protocol ID (‘M’ for MAP27, “C” for CDPD)
Enable Flag
1 n/a
B protocol enable (“E”) or disable (“D”)
Protocol configuration string
C string varies by comm. protocol
The protocol enable/disable option(not available for CDPD) allows the Placer radio/comm port to be switched between network communications port and straight TAIP port. NOTE: Protocol enable/disable is currently not supported for CDPD.
MAP27
For the MAP27 protocol, the fomat of the Protocol Configuration string is: C
= MAP27 support mode = 1 for MAP27 SST support only = 2 for MAP27 MST support only = 3 for SST and MST support = 4 for MAP27 non-prescribed data support = 5 for non prescribed data and SST support = 6 for non-prescribed data and MST support = 7 for non-prescribed data, MST and SST support
A-29
Page 152
PLACER.BK : AppendixA Page 30 Monday, February 24, 1997 9:30 AM
PLACER GPS INSTALLATION AND OPERATOR’S MANUAL
For the MAP27 protocol, the protocol configuration option allows restriction of the message support that will be employed by the Placer. For each message to be transmitted, the Placer selects the ‘lowest level’ of support according to the message length. If the Placer message is short enough to be transmitted as a MAP27 SST message (1-23 characters) and SST support is enabled, then SST will be used. If too long for SST but short enough for MST (1-88 characters), and MST support is enabled, then MST will be used. Otherwise, if non-prescribed data support is enabled, this message type will be used. Configuration of the MAP27 support mode allows the user to match Placer MAP27 message use with any restrictions that may be imposed on the MAP27 network. CDPD
For the CDPD protocol, the format of the Protocol Configuration string is as follows: Item Protocol Option
# of Char
Units
Format (Value)
1 n/a
C
0 = normal (default setting) 1 = all TCP 2 = all UDC
The Protocol Option is currently the only configurable part of this messages. It can be set to any of the three values shown; any other value will be ignored. The Placer 450/CDPD stores this configuration in battery backed RAM so it will be preserved while the unit is powered off. The Placer 450/CDPD normally operates in mode 0. In this mode, all TAIP messages are sent out via their regular predefined protocol. In mode 1, all TAIP messages that are generated autonomously, periodic location reports and alarm triggered messages, will be sent out over the reliable TCP channel. In mode 2, all TAIP messages that are generated autonomously will be sent out over the unreliable UDP channel.
A-30
Page 153
PLACER.BK : AppendixA Page 31 Monday, February 24, 1997 9:30 AM
TAIP Protocol
PR Protocol The protocol (PR) message is used to control which I/O protocols are active on each of the data streams. Each protocol can be configured as follows: off, input only, output only, or both input and output. The data string format is as follows: >aPR [;TAIP = wxy] [;TSIP = wxy] [;NMEA = wxy] [;RTCM = wxy] [;ID=dddd] [;*hh]< Where: ■ a = S, Q, or R
■ w, x, y, z = T for input and output, I for input only, O for output only, and F for off w, x, y, and z set or display the protocol status on ports 0 and 1, respectively. If a protocol is not implemented within the application, it will not appear in the output messages, and any “set message” for that protocol is ignored. If the application has two streams (Placer 450) instead of four (Placer 455), only two fields, wx, will appear. It is possible to turn off all input processing on a stream. In this situation, neither TAIP nor TSIP can be used to change the active protocols. The break sequence detected on the asynchronous interface will provide an escape in this situation by reestablishing a default protocol as input and output.
A-31
Page 154
PLACER.BK : AppendixA Page 32 Monday, February 24, 1997 9:30 AM
PLACER GPS INSTALLATION AND OPERATOR’S MANUAL
PT Port Characteristic The format of the data string is as follows: AAAA,B,C,D Item
# of Char
Units
Format (Value)
Baud Rate
4 n/a
AAAA (3840, 1920, 9600, 4800)
# of data bits
1 n/a
B (7 or 8)
# of stop bits
1 n/a
C (1 or 2)
Parity
1 n/a
D
Total
(N = None) (O = Odd) (E = Even)
10 (including commas)
This message defines the characteristics for the currently connected TAIP communications port. Most TAIP using sensors use the following default port characteristics (consult the Installation and Operator’s Manual): 9600 baud, 8 data bits, 1 stop bit and no parity. NOTE: The PT command uses commas between data fields.
A-32
Page 155
PLACER.BK : AppendixA Page 33 Monday, February 24, 1997 9:30 AM
TAIP Protocol
PV Position/Velocity Solution The format of the data string is as follows: AAAAABBBCCCCCDDDDEEEEEFFFGGGHI Item
# of Char
Units
Format (Value)
GPS Time of day
5
Sec
AAAAA
Latitude
8
Deg
BBB.CCCCC
Longitude
9
Deg
DDDD.EEEEE
Speed
3
MPH
FFF
Heading
3
Deg
GGG
Source
1 n/a
H (0 = 2D GPS) (1 = 3D GPS) (2 = 2D DGPS) (3 = 3D DGPS) (6 = DR) (8 = Degraded DR) (9 = Unknown)
Age of Data Indicator
1 n/a
I
Total
(2 = Fresh, <10 sec) (1 = Old, 10 sec) (0 = Not available)
30
Position is in latitude (positive north) and longitude (positive east) WGS84. Heading is in degrees from True North increasing eastwardly. The GPS time of day is the time of fix rounded to the nearest second. NOTE: The data in this message is to be considered invalid and should not be used, if the “Age of Data Indicator” is equal to 0 (signifying data not available).
A-33
Page 156
PLACER.BK : AppendixA Page 34 Monday, February 24, 1997 9:30 AM
PLACER GPS INSTALLATION AND OPERATOR’S MANUAL
RM Reporting Mode The format of the data string is as follows: [;ID_FLAG=A][;CS_FLAG=B][;EC_FLAG=C] [;FR_FLAG=D] [;CR_FLAG=E] Item
# of Char
Units
Format (Value)
ID Flag
1 n/a
A (T = True, F = False)
CS Flag
1 n/a
B (T = True, F = False)
EC Flag
1 n/a
C (T = True, F = False)
FR Flag
1 n/a
D (T = True, F = False)
CR Flag
1 n/a
E (T = True, F = False
ID Flag dictates whether the unit is to include the vehicles ID with each report. CS Flag dictates whether the unit is to include a checksum as part of each message. EC Flag, when set, will cause the unit to echo back all complete and properly formatted set commands, except for DC and DD, with a “Response” qualifier. This provides an easy way to verify that the unit did in fact receive the intended data. FR Flag indicates whether the unit is to report messages automatically per their individually scheduled frequency. When set to false, the unit will only respond when queried for a specific message. CR Flag, when set to True, will cause the sensor to append a carriage return and line feed [CR] [LF] to the end of each message output. This is useful when viewing the unencoded sensor responses on a terminal or a PC. The default value at start-up for the CR, CS, EC, and ID flags are false. The default for FR is true. A-34
Page 157
PLACER.BK : AppendixA Page 35 Monday, February 24, 1997 9:30 AM
TAIP Protocol
Example:
The following command will turn checksums off and carriage return on: >SRM;CS_FLAG=F;CR_FLAG=T< NOTE: Note the use of semicolon before the flag name.
A-35
Page 158
PLACER.BK : AppendixA Page 36 Monday, February 24, 1997 9:30 AM
PLACER GPS INSTALLATION AND OPERATOR’S MANUAL
SS Signal Status Data String Format: AAABCDDDD Item
# of Char
Units
Format (Value)
Signal ID
3 n/a
AAA (see notes)
Instantaneous Status
1 n/a
B ( 0-1 )
Register Status
1 n/a
C ( 0-1 )
Toggle Time
4
1/10 sec
Total
5
DDDD (1-599.9 sec)
The SS message allows for the inspection of all signal states and the setting of certain signals. The Placer 450 supports two discrete input signals with Signal Ids IP0 & IP1. Two discrete outputs are supported with Signal Ids XP0 & XP1. Any additional signals supported will be listed in the release notes for the Placer. When Signal ID refers to a discrete input line, Instantaneous Status represents the current state of the input. If the input is low, as 0 will be returned. If the input is driven by a pulsing or periodic signal, the Register status should be examined instead. For all other Signal IDs this character is identical to the register status (see Note 2). The Register Status field represents the internally stored value of the signal. A 1 indicates the signal is active, 0 indicates the signal is inactive. In the case of discrete outputs, the status is 1 when the driver is enabled (i.e. driving low), 0 when the driver is disabled. For discrete inputs the status represents the debounced register state of the input (see Note 2).
A-36
Page 159
PLACER.BK : AppendixA Page 37 Monday, February 24, 1997 9:30 AM
TAIP Protocol
The S prefix is supported for only the discrete outputs. When the S prefix is used, the instantaneous status and register status values must be identical and the Toggle Time field (if present) represents the amount of time the output is to remain in the state specified. At the end of the Toggle time period the output will be reset to its previous state. The toggle field is optional, so omitting the toggle time field or passing a zero value will cause the output to be set to the value specified by the Register Status and not toggled. The maximum toggle time possible is 600 seconds. Examples:
Query for the state of discrete input 2: >QSSIP2<
Set output driver 1 to inactive: >SSSXP10<
Set output driver 0 to active for 2.3 secs, then return to current state: >SSSXP0110023< NOTE: 1. The Q qualifier may be used to inspect the state of any signal output. The signal or input name must be supplied (e.g., >QSSIP0< ). If the signal or input is undefined or unsupported, the following string will be returned:>RSS???<. 2. The Placer 450 makes no distinction between Instantaneous status and Register status for either Discrete Inputs or Discrete Outputs. The Placer provides only 1-sec sampled (not de-bounced) signal input values. 3. For Placer 450, any change in status for a Discrete Input signal can trigger the output of a position report message (either XT or XS) containing the status values for the Discrete Inputs. This report message can be selected using a ‘;MSG=xx’ qualifier string to the SS message, where xx= XT, XS, or XX (XX for no report). For example, to select XS message on input state change, enter >SSS;MSG=XS< ; to disable reporting on input state change, enter >SSS;MSG=XX<; to query for currently selected message, enter >QSS;MSG<. By default, XT message is selected.
A-37
Page 160
PLACER.BK : AppendixA Page 38 Monday, February 24, 1997 9:30 AM
PLACER GPS INSTALLATION AND OPERATOR’S MANUAL
ST Status The format of the data string is as follows: AABCDDEFGG
This message provides information about the satellite tracking status and the operational health of the sensor. This information is contained in five status bytes which are output as five 2 digit hexadecimal values. The data format and the meanings of the hex characters are given in the following tables. Item
# of Char
Units
Format (Value)
Tracking Status Code
2 n/a
AA (see table below)
Error Codes - Nibble 1
1 n/a
B (not currently used)
Error Codes - Nibble 2
1 n/a
C (see table below)
Machine ID
2 n/a
DD
Error Codes - Nibble 3
1 n/a
E (not currently used)
Error Codes - Nibble 4
1 n/a
F (see table below)
(reserved)
2 n/a
GG (not currently used)
Tracking Status Code Machine Id
The machine Id (DD) specifies the Placer GPS product: 84 (54 Hex) for Placer 450, 85 (55 Hex) for Placer 455.
A-38