Instruction manual

CC5MPX Digital Camera
71
x CC5MPXStillBanner2
x CC5MPXVideoBanner1
x CC5MPXVideoBanner2
The variable for controlling the window defroster is numeric and needs to be
declared as a Long in CRBasic. The variable for controlling camera power is a
Boolean, which needs to be declared in CRBasic. The names of the camera
variables are:
x CC5MPXDefroster
x CC5MPXShutdown
11.3.1 PakBus Control of Window Defroster Function
PakBus will temporarily (one shot) override the existing window defroster control
state. Users are advised to only use one type of control to avoid unexpected
operation of the defroster. Options include the Automatic mode set via the webpage
or the DevConfig Utility, or PakBus SendVariables command.
To turn on the defroster, the numeric value should be set to a non-zero value (i.e.
1). To turn the defroster off, the value should be set to zero. When a non-zero value
is sent to the camera, the heater will turn on and a 65 second countdown timer will
start. After 65 seconds, the defroster will automatically turn off (this should
override settings already in place). If an additional non-zero is sent before the
defroster is turned off, then the timer will be reset to zero and will begin the
countdown again.
The defroster commands should be sent to the camera every 60 seconds or more to
ensure continuous operation.
The defroster will be allowed to turn on only once for 65 seconds at internal
temperatures between 25°C and 50°C. This flag will only be reset again once the
internal temperature drops below 25°C, or the camera is reset. Full, continuous
operation is only allowed at temperatures of 25°C or less. At internal temperatures
above 50°C, the defroster will not turn on.
11.3.2 PakBus Control of CC5MPX Power
The ability to shutdown the camera safely using a PakBus command is available in
the CC5MPX. By writing a value of 1 (or any value not equaling zero) to the public
Boolean variable “CC5MPXShutdown” the camera initiates a shutdown and power
down cleanly. The shutdown process can take up to 30 seconds. The camera will
turn back on after 10 minutes, or can be externally triggered.
Following is an example of the CRBasic command that will shut down a camera
with PakBus address 55:
SendVariables (SendVarResult,Com1,0,55,0000,400, “Public”, “CC5MPXShutdown”,1,1)
11.3.3 Example Program SendVariable Instruction
The following example illustrates the use of the “SendVariable” instruction to alter
Still Image Banner #2, as well as toggle the camera window defroster.