Configuring Camera Controls


Last Updated: August 17, 2009

The Cisco Analog Video Gateway module has two RS-485 half-duplex interfaces that can be used to connect pan-tilt-zoom (PTZ) cameras. Security personnel can log in to the network module to reposition or otherwise control the PTZ cameras connected to the RS-485 interfaces.

The RS-485 application supports only the pass-through mode. The RS485 application does not sense the received PTZ encoded data; it simply sends the received data, unchanged, to the specified serial port.

Whenever possible, configuration and management of the Cisco Analog Video Gateway module should be configured using the Video Surveillance Operations Manager (VSOM) graphical user interface.

Restrictions

One control device is on one RS-485 port, and the PTZ cameras are on the other RS-485 port. Local PTZ control sessions within two RS-485 ports are not supported.

Only remote PTZ control requests and responses are supported.

The network video recorder (NVR) can send multiple PTZ requests at the same time, but the RS-485 application processes them one at a time.

SUMMARY STEPS

1. configure terminal

2. rs485-port portnum

3. [baudrate | databits | default | description | parity | stopbits | state | termination-state]

4. end

5. exit

6. show rs485-port portnum
or
show rs485-port summary

DETAILED STEPS

 
Command or Action
Purpose

Step 1 

configure terminal

Example:

Router# configure terminal

Enters global configuration mode.

Step 2 

rs485-port portnum

Example:

VSE-Module(config)> rs485-port 0

VSE-Module(config-rs485-port)>

Enters RS-485 port configuration mode.

Step 3 

[baudrate | databits | default | description | parity | stopbits | state | termination-state]

Example:

VSE-Module(config)> rs485-port 0

VSE-Module(config-rs485-port)> baudrate 9600

VSE-Module(config-rs485-port)> databits 8

VSE-Module(config-rs485-port)> description "rs485 port 0 config"

VSE-Module(config-rs485-port)> parity even

VSE-Module(config-rs485-port)> stopbits 1

VSE-Module(config-rs485-port)> state enabled

VSE-Module(config-rs485-port)> termination-state connected

VSE-Module(config-rs485-port)> end

VSE-Module(config)> exit

VSE-Module)>

Configures profile parameters for an RS-485 port.

baudrate—RS-485 baud rate. Integer value: 300, 600, 1200, 2400, 4800, 9600, 19200, 38400, 57600, 115200. Default: 9600.

datbits—RS485 data bits. Integer value: 5, 6, 7, 8. Default: 8.

default—RS-485 port default settings.

description—RS-485 port text description in quotes. Up to 80 text characters allowed.

parity—RS-485 parity: even, mark, none, odd, space. Default: none.

stopbits—RS-485 stop bits. String value: 1, 1.5, 2 (use 1.5 for data bit 5; use 2 for data bits 6, 7, 8). Default: 1.

state—Operational state of the RS-485 port: enabled or disabled. Default: enabled.

termination-state—RS-485 termination resistor state:

connection—Termination resistor state in connected state.

open—Termination resistor state in open state.

Default: open.

Step 4 

end

Example:

VSE-Module(config-rs485-profile)> end

Exits the RS-485 port configuration mode.

Step 5 

exit

Example:

VSE-Module(config)> exit

Exits global configuration mode.

Step 6 

show rs485-port portnum

or

show rs485-port summary

Example:

VSE-Module(config)> show rs485-port 0

Displays the RS-485 configuration parameters for a specified RS-485 port or a summary of all configured RS-485 ports.

Examples

The following example shows the configuration parameters for the specified RS-485 port 0:

VSE-module> show rs485-port 0 
description "serial port 0 config"
state enabled
baudrate 9600
databits 8
stopbits 1
parity even
termination-state connected

The following example shows the configuration summary of all configured RS-485 ports:

VSE-module> show rs485-port summary 
port   state  baudrate  databits  stopbits  parity  termState
=================================================================
  0     ena     9600        8        1       even      connected
  1     ena     9600        8        1       none      open