User`s manual

VPort CGI Commands VPort Set/Get Configuration CGI URL and Parameter Items
2-20
VPort 351 and VPort 251 serial and PTZ control
configuration
serial
This section covers PTZ port settings of the VPort 251 and VPort 351 video encoders. Selecting the PTZ driver
requires choosing the related PTZ camera. When the PTZ camera receives PTZ control CGI commands (refer to
page??), “move up” for example, it will translate into a PTZ serial command pattern that is sent to the PTZ
camera through the serial interface. If the VPort is configured for driverless Transparent PTZ Control, the VPort
will convert the serial data to Ethernet packets, but will not translate any commands.
CGI command example for setting the PTZ UART interface mode to RS485:
http://<ip>/moxa-cgi/setparam.cgi?serial_uartmode=1
Item Action Value Description
camid G/S 0 to 255 PTZ camera ID (or address)
uartmode G/S 0: RS232
1: RS485
2: RS422
UART interface mode
baudrate G/S
110, 300, 600, 1200, 2400, 3600, 4800,
7200, 9600, 19200, 38400, 57600
Baud Rate (bps)
databit G/S 5 to 8 Data bit
dtopbit G/S 1, 1.5, 2 Stop bit
paritybit G/S 0: None
1: Odd
2: Even
Parity bit
ptzdriver G/S 1: Transparent PTZ
2: Custom Camera
3: Pelco D
4: Pelco P
5: DynaColor
PTZ camera selection
*Custom Camera: in this mode, VPort
will send the command string that is
defined in the related
“custcam_customcmd” CGI
commands.
Relation between the Custom Camera PTZ driver and Custom Camera Command setting.
custcam
In this section we define the PTZ command strings for assigning the PTZ driver the “Custom Camera”
(serial_ptzdriver=2) mode. The VPort will send this string pattern to the PTZ camera through the PTZ port.
Item Action Value Description
customcmd01 to
custtomcmd10
G/S Max. 60 char (CustCamString) 01: “Up” command
02: “Down” command
03: “Left” command
04: “Right” command