Moxa Technologies 2310 URL Commands for DI/DO & Camera’s Actions Setting, Drive digital outputs

Page 58

VPort 2310 User’s Manual

Advanced Applications

URL Commands for DI/DO & Camera’s Actions Setting

Query status of digital inputs

/setup/getdi.cgi

Video Server will return status of four digital inputs in one line.

Drive digital outputs

/setup/setdo.cgi?do=<state>

Where state is H, L. H means NC connected with COMMON and L means NO connected with

COMMON.

For example, http://192.168.0.201/setup/setdo.cgi?do=h will command the Video Server, with IP address of 192.168.0.201, to set digital output to connect to NC with COMMON.

Moving motorized camera in PTZ direction

<Direction>:

up, left, right, down, home

<Vision>:

wide, tele, near, far, auto

<Command>:

1, 2, 3, 4, 5

/cgi-bin/camctrl.cgi?Move=<direction>&zoom=<vision>&cust=<command>

Param

Value

Description

move

up

Tilt up

 

down

Tilt down

 

left

Pan left

 

right

Pan right

 

home

Return to home position

zoom

wide

Zoom in

 

tele

Zoom out

focus

near

Focus near

 

far

Focus far

 

auto

Automatic focus

panspeed

-5 to 5

 

tiltspeed

-5 to 5

 

Recalling camera position

/cgi-bin/recall.cgi?recall=<position>

<position>: the text string of a location that is preset in system configuration. Refer to Camera preset configuration URL for preset function.

Transparent Remote Serial Driver

Video Server provides highly customized control support for third-party serial interface devices (other than PTZ cameras). This means that in addition to setting up a custom camera with PAN/ TILT/ ZOOM/ FOCUS commands, users may utilize this mode and introduce a customized homepage to transmit arbitrary user-defined commands from user-side to Video Server. The third-party device connected to the serial port of Video Server will receive the same command sent by the originator. The user only needs to attach the command in ASCII format after the special URL. The Video Server will parse the commands and translate into binary code to send out.

5-4

Image 58
Contents Moxa VPort 2310 Video Server User’s Manual First Edition, JanuaryTrademarks VPort 2310 User’s ManualCopyright Notice DisclaimerBefore getting started Important NoteTable of Contents Chapter Upgrading System Firmware Page Introduction Overview Product Features Package ChecklistTechnical support for developers Front Panel Typical ApplicationProduct Description BNC video input10/100 Mbps Ethernet port Rear PanelNetwork and Status LEDs RS-232 COM portGeneral I/O terminal block DI+Reset Button VDC Power AdaptorGetting Started Assigning an IP Address Hardware InstallationBefore Getting Started Dhcp Server EnvironmentUsing IP Reporter Non-DHCP Server Environment Panel Mounting Mounting VPortAssigning the IP Address Manually DIN-Rail MountingAccessing VPort 2310 for the First Time Functions Featured NPort’s HomepageAuthentication Accessing VPortOpening Your Browser Installing the Plug-in Application Functions Featured on VPort’s Homepage Relay Output Control Custom PTZ Camera CommandsClient Settings Motorized PTZ Camera ControlPage System Configuration System Configuration Via Web AccessSystem System Configuration Via Web AccessHost name Date and Time Add user Root passwordSecurity Manage userReset network at next boot Reset network at next boot$ Reset network at next boot NetworkGeneral SmtpChannel port Audio ControlSave the modification Improve audio quality in a low bandwidth environmentDdns & UPnP Checkmark Enable DdnsDynamic DNS Text on Video VideoUniversal PnP ColorMaximum Frame Rate SizeModulation Video Quality ControlSave the settings Enable Motion DetectionImage Setting Flip and MirrorEnable Motion Detection box How to Set up a VMD conditionMotion Detection VPort 2310 User’s Manual System Configuration Application Setup the Trigger Condition Step Event operation Sequential modeStep Setup the General Setup the Trigger actionWeekly schedule Event operationCamera Control Sequential ModeTrigger output alarm Send Snapshot by Email or FTPBaud rate bps Interface modePreset Position Select Camera driverCustom commands Custom Camera Settings Focus Focus near, Focus Far actionsLogo link Homepage LayoutLogo figure Background graphView log file View parametersSystem Configuration Via FTP Factory defaultVideo Server Initial Configuration file From 12 to -12, GMT + ValueCurrent Language, read-only Or 1024 to VPort 2310 User’s Manual System Configuration Values64k, 128k, 256k, 384k, 512k, 768k 1000k, 1200k Telnet Commands System Configuration Via TelnetSystem core debugging Restore factory default settings Skip installation at next bootReset network Reset system URL Commands for System Maintenance Advanced ApplicationsVideo Embedded in Customers’ Homepage This problemCapturing Up-to-date Still Images Getting snapshot via URLGetting triggered snapshots via URL Download Event-triggered SnapshotsCustomizing Homepage Graphics Getting triggered snapshots via FTPMoving motorized camera in PTZ direction URL Commands for DI/DO & Camera’s Actions SettingDrive digital outputs Recalling camera positionRestore Factory Default Settings via URL URL Commands for System MaintenanceSending commands to devices attached to the COM port Download System Log via FTPUpgrading System Firmware Using Upgrade Wizard to Upgrade Firmware Using FTP to Upgrade Firmware VPort 2310 User’s Manual Upgrading System FirmwareTroubleshooting Frequently Asked Questions Power On Self Test PostLED pattern after Post Failed function Troubleshooting VPort 2310 User’s Manual Troubleshooting VPort 2310 User’s Manual Troubleshooting URL Commands of Video Server Homepage name Referenced URLResource name Reference URL Name Value DescriptionNetwork configuration URL Video configuration URL Image quality configuration URL Custom camera configuration URL Homepage layout configuration URL Settings of Supported PTZ Cameras Camera model Baud rate Data bits Stop bit Parity bitCamera Control Cable Time Zone Table VPort 2310 User’s Manual Time Zone Table Network Technical SpecificationsTechnology Serial PortAlarm Features Power RequirementsWarranty Remote Firmware UpgradeService Information Moxa Internet Services Following services are providedProblem Report Form Moxa Product & VPort Serial NumberProduct Return Procedure