Programming. AMX AXB-CAM

Add to My manuals
52 Pages

advertisement

Programming. AMX AXB-CAM | Manualzz

Programming

Programming

The AXB-PT10 and AXB-PT30 control capabilities for camera functions include:

• Pan

• Tilt

• Focus (servomotor; speed)

• Focus (motor drive)

• Zoom (servomotor; positional) • Iris (servomotor; positional)

• Zoom (servomotor; speed) • Iris (servomotor; speed)

• Iris (motor drive) • Zoom (motor drive)

• Focus (servomotor; positional)

The PosiTrack Controllers are controlled with device-specific channel settings and Axcess

Send_Commands. You create the software programs with the Axcess programming software. Use the programming information in this section, with the Axcess Programming Guide to create a program to control the PosiTrack Camera Controllers. The program resides in the Axcess Central

Controller.

The commands for ZOOM, FOCUS, and IRIS output to servomotor or motor mode

MUST be configured to match the switch settings.

Configuration Commands

The following table lists in detail the different variables used in the Configuration Commands.

These variables consist of parameters which the commands must adhere to.

Variables for the Configuration Commands

Parameters

Outputs

Level

Time (optional)

Position

Description

1—PAN

2—TILT

3—ZOOM

4—FOCUS

5—IRIS

0 (lowest) to 255 (highest) or 0% to 100%

On pan, tilt, and PWM drives for zoom, focus, and iris, level 128 will be OFF.

Level 129 and above are for the forward direction. Level 127 and below are for the reverse direction.

If specified, 0 to 255 in tenths of a seconds; if not specified, at current rate.

0 to 255; value of POT input. Corresponds to a position of the unit. 0 is one end of the POT and 255 is the other end. Not directly related to an output level voltage.

25 AXB-PT10/30 PosiTrack Camera Controllers

Programming

26

Variables for the Configuration Commands (Cont.)

Parameters

Time (optional)

Position

Speed

Deviation

Distance

Ramp Time

Description

If specified, 0 to 255 in tenths of a seconds; if not specified, at current rate.

0 to 255; value of POT input. Corresponds to a position of the unit. 0 is one end of the POT and 255 is the other end. Not directly related to an output level voltage.

0 to 65535 when using the 'AD MODE x 10' command, or for pan/tilt commands. Corresponds to a position of the unit. 0 is one end of the POT and

65,535 is the other end. Not directly related to an output level voltage.

0 to 127; where 0 is the slowest and 127 is the fastest (default).

0 to 127; where 0 is most accurate but can have some jitter. Default is 2, meaning the position can be within + 2 from the specified position.

0 to 127; distance from the specified position.

1 to 255; time in 10ms increments it takes the motor drives to ramp up to speed.

All presets are cleared when any limits are set.

Configuration commands configure the manner in which the PosiTrack operates.

Configuration Commands

AD MODE

Sets the AD reported 8 bit levels. This is the default value.

Syntax:

"’AD MODE <output 3-4> 8’"

Variables (See Variables for the Configuration Commands section on page 25):

output = 3 - 4

Examples:

SEND_COMMAND CAM,"’AD MODE 4 8’"

Sets Focus POT input to 8-bit level reporting (0-255).

AD MODE

Sets the AD reported

10 bit levels extended to 16 bits.

Syntax:

"’AD MODE <output 3-4> 10’"

Variables (See Variables for the Configuration Commands section on page 25):

output = 3 - 4

Examples:

SEND_COMMAND CAM,”’AD MODE 4 10’"

Sets Focus POT input to 8-bit level reporting (0-65535).

BUTTON PRESS

Executes a series of preset 10-degree movements for both directions of pan/tilt.

CHAN PRESET=ON

Enables preset recalls by turning ON the preset channels 101-

228.

CHAN PRESET=OFF

Switches back channels 101-228 to feedback only mode.

(default).

Syntax:

SEND_COMMAND CAM,"’BUTTON PRESS’"

The PosiTrack moves up, home (stops), left, then stops at home. This is designed to test the functionality of the PosiTrack’s field of movement.

Syntax:

SEND_COMMAND CAM,"’CHAN PRESET=ON’"

The default mode of operation for these channels is feedback ONLY.

Syntax:

SEND_COMMAND CAM,"’CHAN PRESET=ON’"

AXB-PT10/30 PosiTrack Camera Controllers

Programming

Configuration Commands (Cont.)

CLEAR ERRORS

Clears all of the error messages obtained by using the DEVICE

STATUS command in the Terminal Emulator mode within the

AxcessX program.

Syntax:

SEND_COMMAND CAM,"’CLEAR ERRORS’"

Refer to the Diagnostic error values section on page 39 for detailed information.

CLEAR HOME

Clears the current home position and goes to the default setting and clears presets.

CLEAR LIMIT ALL

Clears all of the limits given and goes to the default values.

Syntax:

SEND_COMMAND CAM,"’CLEAR HOME’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

SEND_COMMAND CAM,"’CLEAR LIMIT ALL’"

This command is used within the AxcessX program.

CLEAR LIMIT DOWN

Clears the tilt limit down given and goes to the default value.

Syntax:

SEND_COMMAND CAM,"’CLEAR LIMIT DOWN’"

This command is used within the AxcessX program.

CLEAR LIMIT LEFT

Clears the pan limit left given and goes to the default value.

CLEAR LIMIT RIGHT

Clears the pan limit right given and goes to the default value.

Syntax:

SEND_COMMAND CAM,"’CLEAR LIMIT LEFT’"

This command is used within the AxcessX program.

Syntax:

SEND_COMMAND CAM,"’CLEAR LIMIT RIGHT’"

This command is used within the AxcessX program.

CLEAR LIMIT UP

Clears the tilt limit up given and goes to the default value.

Syntax:

SEND_COMMAND CAM,"’CLEAR LIMIT UP’"

This command is used within the AxcessX program.

CURRENT SPEED

PRIORITY=CHANNEL

Changes the operational mode of channels

31, 32, 35, and 36.

Syntax:

SEND_COMMAND CAM,"’CURRENT SPEED PRORITY=CHANNEL’"

Does NOT allow pan/tilt movement from levels until these channels are turned

Off.

Setting this priority puts the unit in CaMatrix compatible mode. The CaMatrix is an RS232 control program that runs on a PC.

CURRENT SPEED

PRIORITY=LEVEL

Changes the operational mode of channels

31, 32, 35, and 36.

Syntax:

SEND_COMMAND CAM,"’CURRENT SPEED PRORITY=LEVEL’"

Allows pan/tilt movement from levels even if these channels are still On.

Setting this priority makes the move at current speed channels operate like the other axis movement channels.

DEFAULT ACCEL

Sets the Pan and Tilt acceleration to the default value of 90 degrees/(second squared).

Syntax:

SEND_COMMAND CAM,"’DEFAULT ACCEL’"

This command is issued from the Terminal Emulator mode of the AxcessX program.

AXB-PT10/30 PosiTrack Camera Controllers 27

Programming

Configuration Commands (Cont.)

FIND HOME

Runs a series of pan/tilt movements to recalibrate its mechanical home.

It then goes to the "Home offset" if it has been defined, if not it goes to the mechanical "Home".

Syntax:

SEND_COMMAND CAM,"’FIND HOME’"

This command is used within the AxcessX program.

FOCUS PRESET=POS

Sets the FOCUS voltage output to recall positional presets

(default).

This is applicable only if the FOCUS SIGNAL=S command is in effect, and the

FOCUS switch is set to the S position (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’FOCUS PRESET=POS’"

The command for FOCUS output to servomotor mode or motor mode MUST be configured to match the switch settings.

FOCUS

PRESET=SPEED

Sets the FOCUS voltage output to recall speed presets.

This is applicable only if the FOCUS SIGNAL=S command is in effect, and the

FOCUS switch is set to the S position (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’FOCUS PRESET=SPEED’"

The command for FOCUS output to servomotor mode or motor mode MUST be configured to match the switch settings.

FOCUS SIGNAL=M

Sets the FOCUS output to be a motor output.

This setting corresponds to the M position (motor mode) setting on the FOCUS switch.

Syntax:

FOCUS SIGNAL=POS

Sets the Focus voltage output to recall positional presets

(default).

SEND_COMMAND CAM,"’FOCUS SIGNAL=M’"

The command for FOCUS output to servomotor mode or motor mode MUST be configured to match the switch settings.

This is applicable only if the FOCUS SIGNAL=S command is in effect, and the

FOCUS switch is set to the S position (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’FOCUS SIGNAL=POS’"

The command for FOCUS output to servomotor mode or motor mode MUST be configured to match the switch settings.

FOCUS SIGNAL=S

Sets the Focus output to be a servomotor output.

FP

Sets the lens’ Focus mode to positional

(default).

FS

Sets the lens’ Focus mode to speed.

This setting corresponds to the FOCUS switch in the S position.

Syntax:

SEND_COMMAND CAM,"’FOCUS SIGNAL=S’"

The command for FOCUS output to servomotor mode or motor mode MUST be configured to match the switch settings.

This command can be used only for servomotor mode.

Syntax:

SEND_COMMAND CAM,"’FP’"

The FP command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

This command can be used only for servomotor mode.

Syntax:

SEND_COMMAND CAM,"’FS’"

The FS command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

28 AXB-PT10/30 PosiTrack Camera Controllers

Programming

Configuration Commands (Cont.)

GET STATUS

(version 3.00 or higher)

Displays the current firmware version (Boot and Download) on the terminal along with additional status information.

GET VERSION

(version 3.00 or higher)

Displays the current firmware version (Boot and Download) on the terminal.

HOME

Goes to where the

Home position is set.

The returned boot version is determined by checking the version in flash memory.

Syntax:

SEND_COMMAND CAM,"’GET STATUS’"

This command is issued from the Terminal Emulator mode of the AxcessX program. Besides the boot and download versions, it also displays the following information:

• Presets - predifined camera positions

• Current speed - pan, tilt, zoom, focus, and iris speeds

• Current acceleration - a value between 0-255 on an acceleration curve applied to the movement of the unit from one position to another.

• Mode - settings for the camera (servomotor or motor modes)

• Deviation - numeric value corresponding to how far-off from the center point of your preset you want the camera to be when it finally stops on that preset.

• Speed Priority - whether level or channel

The Boot version sent back is determined by checking the version in flash memory.

Syntax:

SEND_COMMAND CAM,"’GET STATUS’"

This command is issued from the Terminal Emulator mode of the AxcessX program.

If there is no Home offset, then the PosiTrack goes to the mechanical home position. If there is a Home offset then the PosiTrack unit goes there.

Syntax:

SEND_COMMAND CAM,"’HOME’"

This differs from the FIND HOME command in that HOME does not involve a recalibration of the PosiTrack’s mechanical position.

IA

Sets the lens’ Iris mode to auto (default).

Syntax:

SEND_COMMAND CAM,"’IA’"

The IA and IL commands apply only if using pin 8 on the lens control connector.

This pin determines whether the lens is in Auto or Local iris mode. The Auto/

Local option works for lenses that have iris control.

IL

Sets the lens’ Iris mode to local.

IP

Syntax:

SEND_COMMAND CAM,"’IL’"

This command can be used only for servomotor mode.

Sets the lens’ Iris mode to positional (default).

Syntax:

SEND_COMMAND CAM,"’IP’"

The IP command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

IRIS PRESET=POS

Sets the Iris voltage output to recall positional presets

(default).

This is only applicable if the IRIS SIGNAL=S command is in effect, and the IRIS switch is set to the S position (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’IRIS PRESET=POS’"

The command for IRIS output to servomotor mode or motor mode MUST be configured to match the switch settings.

AXB-PT10/30 PosiTrack Camera Controllers 29

Programming

Configuration Commands (Cont.)

IRIS PRESET=SPEED

Sets the Iris voltage output to recall speed presets.

This is applicable only if the IRIS SIGNAL=S command is in effect, and the IRIS switch is set to the S position (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’IRIS PRESET=SPEED’"

The command for IRIS output to servomotor mode or motor mode MUST be configured to match the switch settings.

IRIS SIGNAL=M

Sets the Iris output to be a motor output.

This setting corresponds to the M position (motor mode) setting on the IRIS switch.

Syntax:

SEND_COMMAND CAM,"’IRIS SIGNAL=M’"

The command for IRIS output to servomotor mode or motor mode MUST be configured to match the switch settings.

IRIS SIGNAL=POS

Sets the Iris voltage output to recall positional presets

(default).

This is applicable only if the IRIS SIGNAL=S command is in effect (servomotor mode).

Syntax:

SEND_COMMAND CAM,"’IRIS SIGNAL=POS’"

The command for IRIS output to servomotor mode or motor mode MUST be configured to match the switch settings.

IRIS SIGNAL=S

Sets the Iris output to be a servomotor output.

This setting corresponds to the S position (servomotor mode) setting on the IRIS switch.

Syntax:

SEND_COMMAND CAM,"’IRIS SIGNAL=S’"

The command for IRIS output to servomotor mode or motor mode MUST be configured to match the switch settings.

IS

Sets the lens’ Iris mode to speed.

This command can be used only for servomotor mode.

Syntax:

SEND_COMMAND CAM,"’IS’"

The IS command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

LENS=SERVO

Sets the lens settings to

servomotor mode style.

Syntax:

SEND_COMMAND CAM,"’LENS=SERVO’"

This macro command sends the ZP, FP, IP, ZOOM PRESET=POS, ZOOM SIG-

NAL=S, FOCUS PRESET= POS, FOCUS SIGNAL=S, IRIS PRESET=POS,

IRIS SIGNAL=S commands at one time.

LENS=STANDARD

Sets the lens settings to standard motor mode style.

Syntax:

SEND_COMMAND CAM,"’LENS=STANDARD’"

This macro command sends the ZS, FS, IS, ZOOM PRESET=SPEED, ZOOM

SIGNAL=M, FOCUS PRESET= SPEED, FOCUS SIGNAL=M, IRIS PRE-

SET=SPEED, IRIS SIGNAL=M commands at one time.

PANACC

Sets the acceleration rate of the pan axis.

Syntax:

"'PANACC <acceleration rate 0-127>’"

Examples:

SEND_COMMAND CAM,"’PANACC22’"

A value of zero sets acceleration to 2.25 degrees per second squared and 127 sets acceleration to 135 degrees per second squared. There is a linear relationship for values between 0 and 127. The command DEFAULT ACCEL sets both the pan and tilt acceleration to the default value of 90 degrees/(second squared).

30 AXB-PT10/30 PosiTrack Camera Controllers

Programming

Configuration Commands (Cont.)

READ ALL

RUN TESTS

SET HOME

Sets a new home position.

SET LIMIT DOWN

Sets the down tilt limit value given.

SET LIMIT LEFT

Sets the left pan limit value given.

SET LIMIT RIGHT

Sets the right pan limit value given.

SET LIMIT UP

Sets the up tilt limit value given.

TILTACC

Sets the acceleration rate of the tilt axis.

TILT CURVE=

NORMAL

Adjusts Tilt Up/Down speed curves for normal mounting position.

Forces the device to read and update levels to the Central Controller.

Syntax:

SEND_COMMAND CAM,"’READ ALL’"

Runs and checks error values 244 and 245 to see if the gears are properly aligned to their respective grooves.

Syntax:

SEND_COMMAND CAM,"’RUN TESTS’"

Refer to the Diagnostic error values section on page 39 for more detailed infor-

mation. Make sure there are no obstructions while the PosiTrack performs the full range of the following movements: Up, Down, Home, Left, Home.

Syntax:

SEND_COMMAND CAM,"’SET HOME’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

SEND_COMMAND CAM,"’SET LIMIT DOWN’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

SEND_COMMAND CAM,"’SET LIMIT LEFT’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

SEND_COMMAND CAM,"’SET LIMIT RIGHT’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

SEND_COMMAND CAM,"’SET LIMIT UP’"

This command is used within the AxcessX program.

This command clears all presets.

Syntax:

"’TILTACC <acceleration rate 0-127>’"

Examples:

SEND_COMMAND CAM,"’TILTACC103’"

A value of zero sets acceleration to 2.25 degrees per second squared and 127 sets acceleration to 135 degrees per second squared. There is a linear relationship for values between 0 and 127. The command DEFAULT ACCEL sets both the pan and tilt acceleration to the default value of 90 degrees/(second squared).

Syntax:

SEND_COMMAND CAM,"’TILT CURVE=NORMAL’"

This keeps the up and down tilts moving at the same rate for a given speed.

(Added v1.10) Sets the tilt curve to normal, for normal installation position.

This command DOES NOT reverse the direction of the pan/tilt motors.

AXB-PT10/30 PosiTrack Camera Controllers 31

Programming

Configuration Commands (Cont.)

TILT CURVE= INVERT

Adjusts Tilt Up/Down speed curves for inverted mounting position.

Syntax:

SEND_COMMAND CAM,"’TILT CURVE=INVERT’"

This keeps the up and down tilts moving at the same rate for a given speed.

(Added v1.10)

Sets the tilt curve to inverted, for inverted installation position. This command reverses the direction of the tilt motor.

ZAP!

Initializes all memory in the unit.

Syntax:

SEND_COMMAND CAM,"’ZAP!’"

This includes speed settings, deviation settings, configuration settings, and all presets.

ZOOM PRESET=POS

Sets the Zoom voltage output to recall positional presets (default).

Syntax:

SEND_COMMAND CAM,"’ZOOM PRESET=POS’"

This is applicable only if the ZOOM SIGNAL=S command is in effect, and the

ZOOM switch is set to the S position (servomotor mode). The command for

ZOOM output to servomotor mode or motor mode MUST be configured to match the switch settings.

ZOOM

PRESET=SPEED

Sets the Zoom voltage output to recall speed presets.

Syntax:

SEND_COMMAND CAM,"’ZOOM PRESET=SPEED’"

This is applicable only if the ZOOM SIGNAL=S command is in effect, and the

ZOOM switch is set to the S position (servomotor mode). The command for

ZOOM output to servomotor mode or motor mode MUST be configured to match the switch settings.

Syntax: ZOOM SIGNAL=S

Sets the Zoom output to be a servomotor output.

SEND_COMMAND CAM,"’ZOOM SIGNAL=S’"

This setting corresponds to the S position (servomotor mode) setting on the

ZOOM switch. The command for ZOOM output to servomotor mode or motor mode MUST be configured to match the switch settings.

ZOOM SIGNAL=M

Sets the Zoom output to be a motor output.

ZP

Sets the lens’ Zoom mode to positional

(default).

ZS

Sets the lens’ Zoom mode to speed.

Syntax:

SEND_COMMAND CAM,"’ZOOM SIGNAL=M’"

This setting corresponds to the M position (motor mode) setting on the ZOOM switch. The command for ZOOM output to servomotor mode or motor mode

MUST be configured to match the switch settings.

Syntax:

SEND_COMMAND CAM,"’ZP’"

This command can be used only for servomotor mode.

The ZP command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

Syntax:

SEND_COMMAND CAM,"’ZS’"

This command can be used only for servomotor mode.

The ZS command applies only if you connect pin 6 (zoom), 7 (focus), and/or 9

(iris) to the lens control connector. These pins determine if the lens is in positional or speed mode.

32 AXB-PT10/30 PosiTrack Camera Controllers

advertisement

Related manuals

advertisement