
18
Preset Position Control
There are 64 preset positions, numbered 0 to 63, available in the controller’s non-
volatile memory. The information stored in a preset location does not include the
camera to which the preset corresponds. Therefore, it is up to the host application to
select the proper camera to be used prior to preset operations
The normal method for preset control is as follows:
•
Read and store preset position with the ‘E’ command.
•
Recall position using the ‘C’ command.
The host can also store presets in its own memory by reading the position of the
camera and using a variant of the recall command to recall the position:
•
Read position using commands.
•
Store data reported by controller.
•
Recall position using ‘CX’ command with stored data.
There are two additional commands related to presets. The ‘e’ command, whose
parameter is a preset number, which reports to the host the position data stored in that
preset number, in pan, tilt, zoom, focus order. The ‘EX’ command is a variant of the
enter command. It stores external data in the controller’s preset storage. Its first
parameter is the preset number in which to store the data, followed by the position data
to be stored.
The detailed descriptions of preset related commands follow in the next three sections.
Preset Storing Commands
The ‘E’ command stores the position of the currently selected camera. Its single
parameter is the preset number into which to store the position For example, to store
the current position into preset number 23:
‘E 23 <CR>‘
The ‘EX’ variant of the enter preset command allows host supplied data to be stored
into a preset. The first parameter of this command is the preset number into which to
store the data. This parameter is followed by position data corresponding to be stored
into the preset. These data range varies from parameter to parameter. Here’s an
example of this command:
‘EX 5 123 456 789 123 456 789 123 456 <CR>‘
Stores a pan position of 123, tilt position of 456, zoom position of 789
, focus position of 123, trolley position of 456, iris position of 789, master
pedestal position of 123 and dolley position of 456 into preset number 5.