![Campbell CC5MPXWD Instruction Manual Download Page 88](http://html1.mh-extra.com/html/campbell/cc5mpxwd/cc5mpxwd_instruction-manual_3741587088.webp)
CC5MPX Digital Camera
76
8.4.8.1.1 Example Program – Adding GPS Coordinates to Image Banner
The following example illustrates the use of the
CC5MPXGPSLatitude
and
CC5MPXGPSLongitude
instructions, which can be used with CR800 series,
CR1000, or CR3000 dataloggers.
Public sendGps As Boolean
Public gpsLat, gpsLong As Float
public sendVarResult
BeginProg
sendGps =
false
gpsLat = 50.0
gpsLong = -139.0
SerialOpen (Com1,115200,4,0,2000)
Scan (1,Sec,0,0)
If sendGps Then
sendGps =
false
SendVariables
(sendVarResult,Com1,0,55,0000,0,"Public","CC5MPXGPSLatitude",gpsLat, 1)
SendVariables
(sendVarResult,Com1,0,55,0000,0,"Public","CC5MPXGPSLongitude",gpsLong, 1)
EndIf
NextScan
EndProg
8.5 Internal Jumpers
There are two sets of jumpers that are internal to the camera. One set is used to
select either RS-232 or RS-485 communications on the Power and I/O cable.
The other set is used to select a pull-up or a pull-down resistor on the External
Trigger input line.
(p. 100)
, for details to
remove the backplate to access the internal jumpers of the camera.
8.5.1 RS-232/RS-485 Jumpers
Jumper locations are shown in FIGURE
. There are three jumpers that can
be moved from either the left or the right 2 x 3 jumper posts. When the jumpers
are on the right 2 x 3 jumper posts, the RS-232 output is selected (Factory
Default position). To change the serial output format from RS-232 to RS-485,
move all three jumpers from the right to the 2 x 3 jumper posts located on the
left position. Always move all three jumpers and never install additional
jumpers.
The available communication interfaces can be configured with the cameras
web interface or via
DevConfig
. RS-232 and RS-485 interfaces can be
configured to a range of baud rates between 9600 and 115200. Both interfaces
support only the PakBus protocol.
Summary of Contents for CC5MPXWD
Page 2: ......
Page 6: ......
Page 12: ...Table of Contents vi...
Page 74: ...CC5MPX Digital Camera 62 FIGURE 8 34 External Trigger Setup Page...
Page 118: ...CC5MPX Digital Camera 106...
Page 125: ......