Campbell Scientific GPS16-HVS Garmin GPS Receiver User Manual

Page 16

Advertising
background image

Appendix A. CR23X/CR10X Programs

P15 parameters 4, 5, and 10 are somewhat variable. When using a CR23X,

parameter 4 can be set to 05, 06 or 07 depending on what control ports are

used. A CR10X can use control ports 1 through 6. Wiring of the

communication cable depends on the selection for parameter 4. With a CR23X

the GPS transmit wire is connected to the control port selected in parameter 4.

With a CR10X, the GPS transmit wire is connected to the control port 1 higher

then the control port listed in parameter 4.

P15 is executed when the PPS signal drives control port 8 high. P15 will wait

until one of three conditions is met: the time-out listed in parameter 9 has

expired, the maximum number of characters in parameter 8 have been read, or

the termination character listed in parameter 7 has been read.

P15 parameter 10 is the first input location you wish to store GPS data in.

Fifteen sequential input locations will be used to store time and position.

Example A-1. Program Instruction 15 (P15) for CR23X

Port Serial I/O (P15)
1: 1

Reps

2: 61

-- ASCII/RS-232, 1200 Baud, decimal delimiter

3: 1

Delay (units = 0.01 sec)

4: 5

Control Ports

5: 1

Output Loc [ Bulk ]

6: 0

No. of Locs to Send

7: 42

Termination Character

8: 100

Maximum Characters

9: 80

Time Out Delay (units = 0.01 sec)

10: 1

Loc [ Raw_time1 ]

11: 1

Mult

12: 0

Offset

Example A-2. Program Instruction 15 (P15) for CR10X

8: Port Serial I/O (P15)
1: 1

Reps

2: 61

ASCII/RS-232, 1200 Baud, decimal delimiter

3: 1

Delay (units = 0.01 sec)

4: 1

First Control Port

5: 1

Output Loc [ Bulk ]

6: 0

No. of Locs to Send

7: 42

Termination Character

8: 100

Maximum Characters

9: 80

Time Out Delay (units = 0.01 sec)

10: 1

Loc [ Raw_time1 ]

11: 1.0

Mult

12: 0.0

Offset

Communication cable wiring for:

CR23X/Example A-1 — PPS to C8, GPS transmit to C5.

CR10X/Example A-2 — PPS to C8, GPS transmit to C2.

NOTE

A-2

Advertising