CC640 Digital Camera
Refer to Figure 7 Camera connections for CS I/O port (page 13) for an illustration
of the connections between the camera and the CR1000 datalogger.
13.4 CR1000 RS-232 Port Communications
The camera can be connected to the 9 pin RS-232 port of the CR1000. A Null
modem cable or adapter must be used between the camera and the CR1000. The
Null modem cable is required because both the camera and the CR1000 are DCE
type devices.
The camera can be left at its default RS-232 BAUD rate of 115200.
Figure 3
Camera to Datalogger RS-232 port (DCE) connection
(page 5) illustrates the
camera connection required for interfacing to the CR1000.
13.5 CR1000 COM Port (control port) Communications
On the CR1000 the control ports can be configured to function as RS-232
communication ports. Any of these 4 COM ports can be configured as PakBus
ports and used to communicate with the camera.
The COM ports can be activated as PakBus ports using the Device Configuration
utility or by using the SerialOpen instruction in the CR1000 program. The
following SerialOpen instruction configures COM port 2. (BAUD rate 115200,
PakBus Port - 4, transmit delay - 0, Buffer size - 1000.
SerialOpen (Com2,115200,4,0,1000)
To facilitate the RS-232 connection from the camera to the CR1000 terminal
block an adapter board can be used (Part number C2006). As illustrated in Figure
4 (page 10), terminal 2 is the RS-232 output from the camera and terminal 3 is the
RS-232 input to the camera. The C2006 adapter terminal block numbers
corresponds with the DB-9 pin numbers. For example pin 1 on a DB9 corresponds
with terminal #1 and pin 9 corresponds with terminal #9.
14. Remote Image Retrieval
Once the camera has transferred an image to a datalogger, existing
communications can be used to retrieve the image remotely from the datalogger
memory. For practical purposes it is recommended that the communication link
used for image retrieval maintain a speed of 9600 BAUD or more.
14.1 LNCMD.EXE
Loggernet (Version 3.1.3 or newer) includes the executable LNCMD.EXE that
facilitates the image file retrieval from dataloggers. LNCMD.EXE is an
executable file that can be used to retrieve images from a datalogger. The file is
normally placed in the directory C:\Program Files\Campbellsci\LoggerNet. The
current command lines for the LNCMD.EXE executable are as follows:
• List_Stations
Lists the names of the stations available to call.
• List_Files <Station>
Lists the names of the files stored at a particular station.
32