3 cs i/o communication, 4 rs-232 port communication, 5 com port (control port) communication – Campbell Scientific CC640 Digital Camera User Manual

Page 36

Advertising
background image

CC640 Digital Camera

drive (memory card) this can be larger. When communications are used to
retrieve images, it is suggested to limit the number of files in the ring
memory to 200 in order to avoid long communication delays.

An example Files Manager setting is as follows:
(55,USR:SkySouth.JPG,3)

• Camera PakBus address is 55
• The files will be stored in the USR: director with a name

SkySouth####.JPG where #### is an incrementing number. Entering a
zero for this parameter will disable the automatic numbering and produce a
fixed file name.

• The 3 most recent files will be kept. A new incoming file will cause the

oldest to be deleted.

12.3 CS I/O Communication

The camera can connect directly to the CS I/O port to transfer images to it. In
addition to setting up the Memory (refer to Section 12.1 Memory Setup) and
the Files Manager (refer to Section 12.2 Files Manager) the datalogger’s SDC7
and SDC8 BAUD rates must be changed from the default 115200 BAUD to
57600 BAUD.

If desired, a control port on the datalogger can be configured to pulse a control
port that is connected to the Ext. Input of the camera to initiate image
acquisitions.

Refer to 4.3 for a discussion of the connections between the camera and the
datalogger CS/IO port.

12.4 RS-232 Port Communication

The camera can be connected to the 9 pin RS-232 port of the datalogger.
Section 4.2 describes the connection kit #19504 to make the connection.

The camera can be left at its default RS-232 BAUD rate of 115200. TABLE 3.
Camera to Datalogger RS-232 port
illustrates the camera connection required
for interfacing to the datalogger.

12.5 COM Port (control port) Communication

On the CR800, CR850, CR1000, and CR3000, the control ports can be
configured to function as RS-232 communication ports. Any of these 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)

Refer to Section 4.3 for a discussion of the RS-232 COM port connections.

30

Advertising