Moxa Technologies 2140 user manual Command format, Parameter Explanations, Event, Operator, Action

Page 67

Advanced Applications

time except for the above schedule.

Step 5: Check the option Enable the external script file to exclude the following settings to activate the command script.

Command format

[Event][“Operator”Event]……=[Action][+Action]……;

Event

[“Digital Input Number””Digital Input State”] [“M” “Channel Number…”]

[“Channel Number””Video Input State”]

Operator

“+”: (OR)

“*”: (AND)

Action

[(“Delay Time”)“Digital Output Number””Digital Output State”] [“V”“Channel Number”“P”“Preset Location Number”] [“W”{“IP”:“Port”}{“Message”}]

[“U”“Method”] [“S”“Channel Number…”]

[“N”{“filename”}];

Parameter Explanations

Items above in brackets show the options available for that item.

“Digital input number”:

1 to 4

“Digital input state”:

H (high), L (low), / (low to high), \ (high to low)

“M”:

motion detection event.

“Channel Number”:

A, B, C, D for channel 1, 2, 3, 4

“Video input state”:

/ (signal from loss to presence), \ (signal from presence to loss), X (as

 

long as signal loss)

“Delay time”:

seconds of delay for the following actions after events happen

“Digital output number”:

1 or 2

“Digital output state”:

C (NC), O (NO)

“V”:

set video channel to go to preset location

“P”:

set preset location number to go to preset location

“W”:

send warning to server

“IP”:

server IP

“Port”:

server port

“Message”:

text to be sent to the server

“U”:

upload snapshots

“Method”:

‘F’ is by FTP, ‘M’ is by e-mail

“S”:

take snapshot on channels

“N”:

define the format of the filename

“;”:

end of line

The filename format is,

 

%a

image characterization (pre, trg, pos)

%c

video channel number

%y

year

%M

month

%d

day

%h

hour

%m

minute

VPort 2140 User’s Manual 5-5

Image 67
Contents First Edition, March VPort User’s ManualTrademarks Copyright NoticeDisclaimer Before getting started Table of Contents Chapter Advanced Applications Page Introduction Overview Product Features Package ChecklistEthernet Connection Typical ApplicationsModem Dial-up Connection Front Panel Product DescriptionsNetwork LEDs ACTIVE, LINK, and FDX Mode ConditionName Description Work Status Pin description Regulation Rear PanelCOM1 & COM General I/O terminal blockInput 12 VDC 11 10/100 Mbps EthernetGetting Started Before Getting Started Setting up an Ethernet EnvironmentFront Panel Setting up an Ethernet EnvironmentBefore Getting Started Cable ConnectionRear Panel Running the IP Installer ProgramUsing the IP Installer Program Powering on the VPort 2140 Video ServerAssigning an IP Address to VPort 2140 Video Server Getting Started Using DOS Commands under Windows Accessing VPort 2140 Video Server for the First TimeNull Modem Setting up a Modem EnvironmentModem Powering on VPort 2140 Video ServerInstalling a new modem Configuring a Modem Under Windows 2000 EnvironmentVPort 2140 User’s Manual Modem Mode Click on Start Control Panel Modems Setting up a new connectionVPort 2140 User’s Manual Getting Started Panel Mounting Null Modem ModeModem Mode Mounting VPortAccessing VPort 2140 Video Server for the First Time Authentication Accessing VPort 2140 Video ServerOpening Your Browser Image Mode Functions Featured on the MainInstalling the Plug-in Application Image Mode and Text ModeVideo Quality Selection Logo and Host NameImage Size Selection Relay Output Control System ConfigurationCustom Camera Commands Camera View selectionPage System Configuration Restore facotry default settings Reset system Using Setup Wizard System Configuration Via Web AccessSurveillance System Using the Application WizardSystem Host nameSecurity Root passwordDate and Time Add user Snapshot modeReset network at next boot NetworkHttp GeneralSave the modification FTPShow Time stamp in image and Text on image Image settingColor, Default size, and Default quality VideoCamera type Camera SettingPreset position setting of Motorized PTZ camera Motion DetectionRS-232 RS-485 Speed Default Video SourceCOM 1 & COM ModulationPort Settings Interface modePurpose Application Custom commandLevel Weekly scheduleTrigger Action Event operationShow alert in image Trigger ConditionSave Sequential ModeSend Snapshot by Email or FTP View SnapshotHomepage layout DemoLogo graph Background graph Web page display modeView log file Logo linkView parameters Factory defaultVideo Server Initial Configuration file System Configuration Via FTPFrom 12 to Lime, 10-aqua, 11-fuchsia, 12-silver Or 1024 to String of max characters Or RS485 Or YES to activate external script Monitor changed status of digital inputs System Configuration Via TelnetTelnet Commands System core debuggingReset system Skip installation at next bootReset network for new settings Restore factory default settingsAdvanced Applications URL Commands for DI/DO & Camera’s Actions SettingGetting snapshot via FTP Capturing Up-to-date Still ImagesVideo Embedded in Customers’ Homepage Getting snapshot via URLGetting triggered snapshots via FTP File name Pre-alarm Upon alarm Post-alarmDownload Event-triggered Snapshots Getting triggered snapshots via URLCustomizing Graphics in Homepage Command Script for DI/DO & Camera’s Actions SettingObject File name Maximal size Operator Command formatParameter Explanations EventPractical Examples Command line DescriptionRecalling camera position URL Commands for DI/DO & Camera’s Actions SettingDrive digital outputs Moving motorized camera in PTZ directionRestart System via URL URL Commands for System MaintenanceRestore Factory Default Settings via URL Download System Log via FTPUpgrading System Firmware Using Upgrade Wizard to Upgrade Firmware Easily Using FTP to Upgrade Firmware Page Troubleshooting Frequently Asked Questions Power On Self Test PostLED pattern after Post Failed function Troubleshooting Troubleshooting VPort 2140 User’s Manual URL URL Commands of Video ServerName Value Description Resource name Reference URLNetwork Configuration URL Video Configuration URL COM 1 Configuration URL Camera custom command configuration URL Custom camera configuration URL Motion detection configuration URL VPort 2140 User’s Manual A-9 Page Camera model Baud rate Data bits Stop bit Parity bit Settings of Supported PTZ CamerasPage Camera Control Cable Page Time Zone Table VPort 2140 User’s Manual Technical Specifications General I/O Service Information Following services are provided Moxa Internet ServicesMoxa Product VPort Serial Number Problem Report FormProduct Return Procedure

2140 specifications

Moxa Technologies has established a strong reputation in the realm of industrial networking and communications, and one of their standout products is the Moxa Technologies 2140. This device serves as a versatile and robust solution for various applications in industrial settings.

The Moxa 2140 is primarily recognized for its ability to seamlessly integrate serial devices into Ethernet networks. This capability is essential in modern industrial environments, where legacy equipment must often communicate with newer systems. The device functions as a serial device server, converting serial data into Ethernet packets, enabling efficient data transmission without compromising on speed or reliability.

One of the key features of the Moxa 2140 is its support for multiple serial communication protocols, including RS-232, RS-422, and RS-485. This wide compatibility ensures that users can connect a diverse range of devices, from older machinery to contemporary sensors, without needing extensive modifications. The Moxa 2140 can handle various communication speeds, allowing for flexibility in different industrial scenarios.

In addition to its protocol support, the Moxa 2140 boasts dual Ethernet ports, which facilitate network redundancy and enhanced reliability. This capability is crucial for industrial applications that demand continuous uptime, as it minimizes the risk of network failures. The device supports both static and dynamic IP address configurations, simplifying integration into existing networks.

The Moxa 2140 is equipped with advanced security features, including secure data transmission via SSH and HTTPS. This ensures that sensitive industrial data remains protected from unauthorized access, a critical consideration in today’s cybersecurity landscape. The device also includes built-in support for SNMP (Simple Network Management Protocol), enabling administrators to monitor network status and troubleshoot issues efficiently.

Another noteworthy characteristic of the Moxa 2140 is its rugged design, built to withstand harsh industrial environments. Its robust housing protects against dust, moisture, and temperature fluctuations, making it suitable for deployment in factories, outdoor settings, and other challenging conditions.

Overall, the Moxa Technologies 2140 is a powerful and flexible tool that meets the demands of modern industrial communications. Its combination of protocol support, dual Ethernet ports, security features, and durability make it a preferred choice for companies looking to enhance their communication infrastructure while ensuring versatility and reliability in their operations.