Information provided in this manual is intended to be accurate and reliable. However, Moxa Technologies assumes no responsibility for its use, or for any infringements on the rights of third parties that may result from its use.
Page 3
Before using your VPort 2140, pay attention to the following items. After opening the VPort 2140 box, compare the contents of the box with the Package Checklist in Chapter 1. Notify your sales representative if any of the items is missing or damaged.
Running the IP Installer Program... 2-3 Powering on the VPort 2140 Video Server... 2-4 Assigning an IP Address to VPort 2140 Video Server ... 2-4 Accessing VPort 2140 Video Server for the First Time ... 2-6 Setting up a Modem Environment... 2-7 Cable Connection...
Page 5
Application ... 4-13 Demo... 4-17 Homepage layout ... 4-17 View log file ... 4-18 View parameters ... 4-19 Factory default ... 4-19 System Configuration Via FTP... 4-20 CONFIG.INI ... 4-20 System Configuration Via Telnet... 4-27 Telnet Commands ... 4-27 System core debugging ... 4-27 Monitor changed status of digital inputs...
Page 6
Network Configuration URL ...A-3 Video Configuration URL ...A-4 Image Quality Configuration URL ...A-4 COM 1 Configuration URL ...A-5 COM 2 configuration URL ...A-5 Camera custom command configuration URL ...A-6 Camera preset configuration URL...A-6 Custom camera configuration URL ...A-7 Application configuration URL...A-7 Motion detection configuration URL ...A-8 Demo configuration URL...A-8 Homepage layout configuration URL ...A-8...
VPort 2140 is a high-performance networking video transmitter. In addition to meeting the basic needs of video feed, many advanced features are included to help you set up surveillance or web attraction applications. The state-of-the-art design strikes a good balance between stability, robustness, ease-of-use, and flexibility.
The high-performance Video Server can be integrated into many applications—without busting your budget—and the complete programming interface and standard JPEG format helps make the developer’s job easy and straightforward. More ideas for Video Server applications can be found VPort 2140 User’s Manual...
NOTE: Notify your sales representative if any of the above items is missing or damaged. Product Features VPort 2140 products enjoy the following features: Compact size, 4-ch MJPEG Video Server 4 BNC video inputs, 4 BNC video outputs (75Ω resistence switch off )
4DI/ 2DO 4DI/ 2DO 4DI/ 2DO Since VPort 2140 Video Server only supports the Modem Dial-up connection, the snapshots triggered by VMD, DI event or sequential mode will not be sent via the modem connection. VPort 2140 User’s Manual TCP/IP TCP/IP IP: 192.168.4.100...
2 & 3: BNC video outputs “OUT” & inputs “IN” VPort 2140 allows up to 4 cameras to be attached at the same time. To ensure that the correct video modulation type is detected, cameras should be connected sequentially from “VIDEO 1” to “VIDEO 4”...
Page 12
Modem Dial-up Connection Null Modem Dial-up Connection 7: Network LEDs: “ACTIVE,” “LINK,” and “FDX” When using the 10/ 100 Mbps Ethernet connection, VPort 2140 has 3 LEDs to show network status: Name Description ACTIVE Check if the network is alive...
RS-232 serial port to control an RS-232 PTZ camera. 9 & 10: General I/O terminal block VPort 2140 provides a very flexible general I/O interface that can be used with security devices, such as sensors, alarms, lighting fixtures, or door locks. Two green connectors are included in the package to connect external devices.
Page 14
RS-485 signal to “high” status. Digital Input/Relay Output: VPort 2140 Video Server provides 4 digital inputs and 2 relay outputs. The Digital Input’s “+” pin and “-” pin can be connected to an external sensor to monitor the voltage according to the programmed scripts in configuration (see the “Command Script for DI/DO &...
This chapter includes information about how to install a VPort 2140 Video Server. The following topics are covered: Before Getting Started Setting up an Ethernet Environment Cable Connection Running the IP Installer Program Powering on VPort 2140 Video Server Assigning an IP Address to VPort 2140 Video Server...
Video Server’s label) for future use, and then shut down all peripheral devices prior to connecting the devices. The video BNC, Ethernet cable, and power adaptor are needed to take advantage of the basic viewing function provided by the Video Server. Cable Connection Front Panel VPort 2140 User’s Manual 00-02-xx-xx-xx-xx...
Getting Started Rear Panel Before powering on the VPort 2140 Video Server: 1. Connect your camera’s video output with the BNC video input. 2. Connect I/O devices (such as sensors or alarms) with VPort’s GPIO Terminal Block. 3. Connect the hub or switch on the LAN to the VPort’s 10/100 Mbps Ethernet port.
After the POST (Power-On Self Test) is completed successfully, the Video Server is ready to be configured. At this point, the network speed and video modulation type will be detected automatically. Assigning an IP Address to VPort 2140 Video Server Using the IP Installer Program 1. Power on the VPort after running IPinstaller.exe.
Page 19
IP installer program, unless you have restored the VPort. As a matter of convenience, we strongly recommend that you check this option. 6. Click on Set IP Address to assign the IP address to this VPort. VPort 2140 User’s Manual...
4. A reply message will appear if the VPort is successfully installed. Accessing VPort 2140 Video Server for the First Time Once the installation is complete, administrators should follow the instructions described in the next chapter, First Time Accessing VPort 2140 Video Server, to make necessary configurations. VPort 2140 User’s Manual...
The Modem and Null Modem connections for VPort 2140 Video Server only support the dial-in function, which means that you can access the VPort 2140 Video Server, but VPort 2140 Video Server cannot send alarm messages to you automatically via the Modem and Null Modem connection.
After all cables are correctly and firmly connected, turn on all peripheral devices, including cameras, sensors, and alarm devices. And then connect the VPort 2140 to the power supply. After being powered on, the VPort will automatically detect if an external modem is connected to the modem port.
Null Modem Mode 1. Click on Start Control Panel Modems. 2. An Install New Modem message will appear. Check Don’t detect my modem; I will select it from a list, and click on Next to continue. VPort 2140 User’s Manual...
Page 24
5. If a Dial-Up adapter is not installed, Windows will automatically prompt you to install it. Click on OK to continue. If the adapter does not start automatically, double click on the Control Panel network icon install the Microsoft Dial-Up Adapter. VPort 2140 User’s Manual 2-10...
Page 25
(for null modem connection), and then click on Next to continue. 3. In modem mode, enter the phone number used to connect to your VPort 2140; in null modem mode, enter an arbitrary phone number, and then click on Next to continue.
Page 26
Connection) that was just installed to configure the connection’s properties. 6. When the My Connection window opens, right click on the General tab. In null modem mode, you should uncheck Use area code and Dialing Properties. Then click on OK to continue. VPort 2140 User’s Manual 2-12...
Page 27
MAC address shown at the bottom of the window as the password, and then click on Connect to connect to the Internet. Note that the letters in the MAC address should be in capitals (for example, type A instead of a). Getting Started VPort 2140 User’s Manual 2-13...
Users can mount the VPort 2140 Video Server directly to the wall by using the 4 L-type Fixed Aluminum pieces. First, attach these 4 L-type Fixed Aluminum pieces to the VPort 2140 with the 8 screws. Then use the screws that have diameter larger than 7 mm to mount the VPort 2140 to the wall.
Accessing VPort 2140 Video Server for Chapter 3 This chapter includes information about how to access VPort 2140 Video Server for the first time. The following topics are covered: Accessing VPort 2140 Video Server Opening Your Browser Authentication Installing the Plug-in Application...
Accessing VPort 2140 Video Server Opening Your Browser Open your browser, type the VPort’s IP address in the Address box, and then press Enter. Authentication After opening your browser and typing the VPort’s IP address, a dialogue window will appear, asking you to enter the username and the password.
The second figure shows text mode, which provides a shorter download time. The main page may look different depending on the PTZ driver or the authorization of the user. Image Mode Accessing VPort 2140 Video Server for the First Time VPort 2140 User’s Manual...
Text Mode Logo and Host Name The default logo is Moxa’s logo, and the host name is VPort 2140 Video Server. For customized usage, the administrator can change the layout of the homepage from the Homepage Layout page. Video Quality Selection There are 5 options for video quality: Medium, Standard, Good, Detailed, and Excellent.
Camera View selection A maximum of 4 cameras can be connected to the VPort 2140 at the same time. Users can view the image of each camera by selecting “Video 1,” “Video 2,” “Video 3,” and “Video 4,” or selecting “Video All” to view all images in Quad screen.
After installing the hardware, the next task required is to configure VPort 2140’s settings. There are 3 configuration methods: via web access, via FTP, and via Telnet. This chapter includes the following sections: System Configuration Via Web Access Using Setup Wizard...
URL should refer to the relevant section in Chapter 6, URL Commands for advanced functions. System configuration serves 5 purposes: 1. Since VPort 2140 Video Server is a networked video server, administrators should run the “Setup wizard,” or at least configure “Security,” “Network,” and “Video.”...
Using the Application Wizard VPort 2140 has two applications to choose from: 1. Surveillance System Create a security system by configuring the built-in motion detection and external sensors to integrate with an existing e-mail or FTP server, or external alarms. You may also use the weekly schedule feature for timed monitoring.
The maximum string length for a password is 14 characters. After clicking on Save to validate the new password, a window will open to ask the administrator for the new password to access the VPort. System Configuration VPort 2140 User’s Manual...
I/O access or Camera control. Click on Add to insert the entry. The VPort 2140 Video Server has a total of 20 user accounts. Each user can be given independent access right of the external I/O access and camera control.
Page 41
SMTP VPort 2140 Video Server not only plays the role of server, but also actively connects to outside servers to send alarm messages or snapshots. If the administrator has set up some applications in either event mode or sequential mode, the VPort will send out snapshots once these conditions occur.
Page 42
FTP is the other means available for VPort 2140 Video Server to send out alarm messages and snapshots. To send the system log files described in the above paragraph via FTP, the SMTP server should be erased. 1. Local FTP server port can also be changed to a setting different from the default setting of 21.
Video To allow the VPort 2140 to show cameras’ video images, check the camera. There are 3 kinds of settings for each camera’s video in this page. Image setting 1. Show Time stamp in image and Text on image When these options are enabled, Time stamp and Text on image will be shown on the image for reference.
Page 44
Camera Setting 1. Camera type The default camera type of VPort 2140 is Fixed camera, which means it is a general camera without motorized function. If you wish to select a PTZ camera, you also need to select the COM port that this PTZ camera is connected to, and the PTZ camera’s ID to activate it.
Page 45
COM 1 & COM 2 There are 2 COM ports, COM 1 and COM 2, in VPort 2140 Video Server for connecting the external devices, such as Motorized PTZ controller, Modem, or Multiplexer. COM 1...
Refer to Appendix B, Settings for Supported PTZ Cameras, to find out the PTZ cameras that MOXA VPort 2140 Video Server supports. If the attached PTZ camera is not supported by the VPort, administrators can select Custom Camera to enter the proprietary commands for pan, tilt, zoom, and focus control.
PTZ Cameras, for default settings of the supported PTZ cameras. Custom command VPort 2140 Video Server provides 5 custom commands in addition to the general pan, tilt, zoom, and preset functions. Administrators can click on Custom Command to configure, and refer to the manual enclosed with the attached PTZ camera to set up frequently-used functions.
Page 48
Application Wizard, administrators can also make adjustments to the settings from this page. To set up the 4 applications that VPort 2140 Video Server provides, administrators must have a certain level of knowledge about the setting items listed in the Application web page. Below is the table that separates the setting items into 4 levels.
Page 49
Event operation is for setting security applications. 1. Show alert in image. VPort 2140 Video Server can show the event trigger condition in the video image on the homepage. If motion is detected (based on the motion settings), an upper-right corner of the image. As long as Show alert in image is checked, the appear in the image to indicate that motions have been detected.
Page 50
Sequential Mode With this feature, VPort 2140 Video Server can upload snapshots periodically to an external E-mail or FTP server as a live video source. The interval can be set from a tenth of a second to several hours in Snapshot every □ tenth seconds. The external E-mail or FTP server must be set up in the Network configuration page.
Click on Save to validate changes. Homepage layout VPort 2140 Video Server allows administrators to customize the layout of the Video Server’s homepage. Logo graph 1. Select the blank option to hide the logo figure, which appears in the upper-left corner of the homepage.
See the Customize graphics in homepage section from Chapter 5 to see how to replace the default images for the Video Server’s log, background, and buttons. View log file The system log contains useful information, including current system configuration and activity history with timestamp for tracking. VPort 2140 User’s Manual 4-18 logo.
View parameters Clicking on View parameters allows you to view all system parameters, which are listed by category. The content is the same as CONFIG.INI of VPort 2140 Video Server. Factory default This function is used to restore the Video Server to its factory default settings, so that any changes that were made previously will be lost.
System Configuration Via FTP CONFIG.INI FTP can be used to configure VPort 2140 Video Server much more quickly than configuring from web browser, particularly when configuring multiple Video Servers. To configure a Video Server via FTP, first download the parameter file, CONFIG.INI, customize each field, and then upload the file to the Video Server to install the new settings.
Page 55
14 characters the rest are the same as above or YES to enable snapshot mode snapshot interval in seconds image mode or 0 for text mode 0-black, 1-white, 2-green, 3-maroon, 4- olive, 5-navy, 6-purple, 7-gray, 8-yellow, VPort 2140 User’s Manual 4-21...
Page 56
0.0.0.0 <ntp enabled> <network timing server> <smtp mail server> <mail recipient address> <mail return address> VPort 2140 Video Server <backup smtp mail server> VPort 2140 User’s Manual 4-22 9-lime, 10-aqua, 11-fuchsia, 12-silver, 13-red, 14-blue, 15-teal, default image, or 0 for blank, or 2 from URL...
Page 57
NO or NO or NO or NO or 1, 2 or 1, 2 or 1, 2 or 1, 2 depending on the camera depending on the camera depending on the camera depending on the camera VPort 2140 User’s Manual 4-23...
Page 58
(2)0 (3)0 [SERIAL 1] <data bits> <stop bits> <parity bits> <baud rate> <ccd model> VPort 2140 User’s Manual 4-24 or YES or YES or YES or YES string of max. 14 characters string of max. 14 characters string of max. 14 characters string of max.
Page 59
60 characters string of maximum 60 characters string of maximum 60characters string with maximum of 60 characters string with maximum of 60 characters string with maximum of 60 characters string with maximum of 60 characters VPort 2140 User’s Manual 4-25...
Page 60
<time to start snapshot> 00:00:00 <time to stop snapshot> 00:00:00 [DEMO] <demo enabled> VPort 2140 User’s Manual 4-26 string with maximum of 60 characters string with maximum of 60 characters string with maximum of 60 characters string with maximum of 60 characters...
For example, after typing “dinote” the terminal will display DI1=L DI2=L DI3=L DI4=L and after DI2 changes to H, the terminal will display DI2=H System Configuration or YES or YES or YES or YES or YES or YES or YES or YES VPort 2140 User’s Manual 4-27...
Typing “clear” will make Video Server restore factory settings but not restart. To validate new settings, type “reset” to make the system restart. Reset system Typing “reset” will make Video Server perform a software reset. VPort 2140 User’s Manual 4-28...
Chapter 5 This chapter will introduce more advanced applications. The following topics are covered in this chapter: Capturing Up-to-date Still Images Getting snapshot via URL Getting snapshot via FTP Video Embedded in Customers’ Homepage Download Event-triggered Snapshots Getting triggered snapshots via URL Getting triggered snapshots via FTP Customizing Graphics in Homepage Command Script for DI/DO &...
Step 4: Enter the Application page in system configuration to define the time period in Weekly Schedule. If it is supposed to run any time, keep the original settings but check the option All the VPort 2140 User’s Manual File name Maximal size logo.gif...
‘F’ is by FTP, ‘M’ is by e-mail take snapshot on channels define the format of the filename end of line image characterization (pre, trg, pos) video channel number year month hour minute VPort 2140 User’s Manual Advanced Applications...
MCD=UF+SABCD+N{video%c%a@ %y%M%d%h%m%s}; The script file is limited to a maximum of 500 characters. The actual performance will depend on the complexity of the command script. VPort 2140 User’s Manual second tenth second Description When any motion is detected on channel 1 or 2, “Normal Close”...
Tilt up down Tilt down left Pan left right Pan right home Return to home position wide Zoom in tele Zoom out near Focus near Focus far auto Automatic focus -5 to 5 -5 to 5 VPort 2140 User’s Manual...
SYSTEM.LOG, via FTP. To log into the FTP daemon, enter “root” as the user name and the same administrator’s password used in Web access. Restart System via URL /cgi-bin/reset.cgi Restart Video Server without warning. Restore Factory Default Settings via URL /cgi-bin/restore.cgi Video Server will automatically restart after restoring factory default configurations. VPort 2140 User’s Manual...
Upgrading System Firmware Chapter 6 Customers can check the appropriate product page on Moxa’s website to download the latest firmware. Only administrators can upgrade the system firmware of Video Server. The following topics are covered in this chapter: Using Upgrade Wizard to Upgrade Firmware Easily Using FTP to Upgrade Firmware...
Step 6: The following message appears once the firmware has been upgraded successfully. Note that the power supply of VPort 2140 Video Server should not be turned off when the Upgrade Wizard is upgrading the firmware. Otherwise, the firmware upgrade will fail, and you will need to return the video server to Moxa for repair.
For this reason, after the firmware is upgraded, you need to upload the config.ini and overwrite the one existing in your VPort. In this way, you don’t have to configure your VPort’s settings again. Upgrading System Firmware VPort 2140 User’s Manual...
This chapter describes some problems that might occur during installation or operation, and provides the basic solutions to those problems. The following topics are covered in this chapter: Power On Self Test (POST) Frequently Asked Questions Troubleshooting Chapter 7...
If you are the administrator, there is no way to recover the root password. The only way to regain access to Video Server is to restore the factory settings and reinstall it. VPort 2140 User’s Manual Failed function Troubleshooting Video input The video decoder is broken.
In general, the transfer rate on a general local network environment can achieve over 200 Kbytes per second and approximately 10 to 20 pictures of normal environment per second. The general frame size is illustrated in the following table for your reference. Troubleshooting VPort 2140 User’s Manual...
Page 78
Q: The image is not clear enough. Is anything broken? A: The lens can be focused by rotating the outer ring. Rotate it clockwise or counter-clockwise to focus near or far. VPort 2140 User’s Manual Size of each frame Bandwidth demand for 30 fps 9.3 Kbyte...
URL Commands of Video Server Appendix A Video Server can be easily integrated with existing websites or web control applications using convenient URLs. This section lists the commands in URL format corresponding to the basic functions of Video Server. Some RFC standards related to HTML may be a good reference for implementation of the customized homepage.
2Mbps of bandwidth HTTP port primary SMTP server mail recipient address secondary SMTP server mail recipient address return address primary FTP server FTP server port user name for primary FTP server password for primary FTP server VPort 2140 User’s Manual A-3...
Standard x 2 brightness <-5 ~ 5> contrast <-5 ~ 5> <-5 ~ 5> VPort 2140 User’s Manual upload folder in primary FTP server secondary FTP server secondary FTP server port user name for secondary FTP server password for secondary FTP server...
COM to RS485 accept generic CGI commands no drivers third party PTZ camera Description accept generic CGI commands use modem no drivers third party PTZ camera make modem dial in tone make modem dial in pulse VPort 2140 User’s Manual A-5...
Friday in weekly schedule set Saturday in weekly schedule time to start in weekly schedule time to stop in weekly schedule set inverse mode in weekly schedule enable script file event operation show alert in image VPort 2140 User’s Manual A-7...
Homepage layout configuration URL URL: /cgi-bin/layout.cgi Name Value cuslogo blank VPort 2140 User’s Manual enable motion detection on video 1 enable motion detection on video 2 enable motion detection on video 3 enable motion detection on video 4 DI1 condition DI2 condition...
Page 87
1 in text mode text for channel 2 in text mode text for channel 3 in text mode text for channel 4 in text mode VPort 2140 User’s Manual A-9...
Page 89
Settings of Supported PTZ Cameras Appendix B Since the COM port settings can be adjusted to other than the default settings, check the correct default settings for the attached camera. Camera model Baud rate Data bits Sony VISCA Canon VC-C1 Canon VC-C3 Canon VC-C4 Pelco D protocol...
Camera Control Cable Appendix C The included cable can be used to control motorized cameras of desktop types from Sony and Canon. The pin assignment is illustrated in the following chart. To control cameras of another brand, check the user’s manual of the motorized camera to see if the pin assignment of the control cable is appropriate.
Time Zone Table Appendix D The hour offsets for different time zones are shown below. You will need this information when setting the time zone in automatic date/time synchronization. GMT stands for Greenwich Mean Time, which is the global time that all time zones are measured from. (GMT-12:00) International Date Line West (GMT-11:00) Midway Island, Samoa (GMT-10:00) Hawaii...
This appendix shows you how to contact Moxa for information about this and other products, and how to report problems. In this appendix, we cover the following topics. MOXA Internet Services Problem Report Form Product Return Procedure Service Information Appendix F...
Moxa Internet Services has been set up to provide technical support, driver updates, product information, and user’s manual updates. E-mail for technical support ... World Wide Web (WWW) Site for product information: VPort 2140 User’s Manual The following services are provided support@moxanet.com http://www.moxa.com...
Problem Description: Please describe the symptoms of the problem as clearly as possible, including any error messages you see. A clearly written description of the problem will allow us to reproduce the symptoms, and expedite the repair of your product. MOXA VPort 2140 Fax: Date: VPort 2140 User’s Manual F-3 Service Information...
Carefully pack the product in an anti-static package, and send it, pre-paid, to the dealer. The PRA should be visible on the outside of the package, and include a description of the problem, along with the return address and telephone number of a technical contact. VPort 2140 User’s Manual...