Moxa Technologies 5600 user manual Local TCP port, Setting Factory Default Necessity 4001 Required

Page 42

NPort 5600 Series User’s Manual

Web Console Configuration

This parameter defines the time interval during which NPort fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort stores the data in the internal buffer. NPort transmits data stored in the buffer via TCP/IP, but only if the internal buffer is full or if the Force transmit time interval reaches the time specified under Force transmit timeout.

The optimal Force transmit timeout depends on your application, but it must be at least larger than one character interval within the specified baud rate. For example, assume that the serial port is set to 1200 bps, 8 data bits, 1 stop bit, and none for parity. In this case, the total number of bits needed to send a character is 10 bits, and the time required to transfer one character is

( 10 (bits) / 1200 (bits/s) ) * 1000 (ms/s) = 8.3 ms.

Therefore, you should set Force transmit timeout to be larger than 8.3 ms, so in this case, it must be greater than or equal to 10 ms.

If the user wants to send the series of characters in the same packet, the serial device attached to NPort should send that series of characters during a time interval less than the Force Transmit timeout for NPort, and the total length of data must be less than or equal to NPort’s internal buffer size. The serial communication buffer size for NPort is 1 KB per port.

Local TCP port

Setting

Factory Default

Necessity

1 to 65535

4001

Required

 

 

 

The “Local TCP port” is the TCP port that NPort uses to listen to connections, and that other devices must use to contact NPort. To avoid conflicts with well known TCP ports, the default is set to 4001.

Command port

Setting

Factory Default

Necessity

1 to 65535

966

Optional

The “Command port” is a listen TCP port for IP-Serial Lib commands from the host. In order to prevent a TCP port conflict with other applications, the user can set the Command port to another port if needed. IP-Serial Lib will automatically check the Command Port on NPort so that the user does not need to configure the program.

5-16

Image 42
Contents NPort 5600 Series User’s Manual Fifth Edition, AugustCopyright Notice TrademarksDisclaimer Table of Contents Chapter IP Serial LIB Introduction Package Checklist Product FeaturesOverview Product Specifications Mechanical Software FeaturesPower Requirements Environment‰ Panel Layout ‰ Connecting the Hardware Getting StartedPanel Layout Connecting the Hardware Wiring RequirementsConnecting NPort 5610/30-16/8’s Power Connecting NPort 5610-16/8-48V’s Power Connecting to the NetworkGrounding NPort 5610-16/8-48V Real Time Clock Connecting to a Serial DeviceLED Indicators LED Name LED Color LED FunctionPage Initial IP Address Configuration Initializing NPort’s IP Address Factory Default IP AddressDefault IP address LCM DisplayButton Name Action Detailed Menu OptionsLevel NPort Administration Suite ARPTelnet Console Page Page Choosing the Proper Operation Mode TCP Server Mode TCP Client Mode UDP ModeReal COM Mode Page Web Console Configuration Opening Your Browser NPort 5600 Series User’s Manual Web Console Configuration Server name Basic SettingsTime Time zoneConsole Time serverNetwork Settings Method Function DefinitionIP Address Gateway IP ConfigurationNetmask DNS server 1 / DNS serverCommunity name Snmp SettingsIP Address Report ContactAuto report to TCP port Serial SettingsAuto report to IP Auto report periodSerial Parameters Required Operating SettingsSetting Factory Default Necessity Enable, Disable Required InterfaceMax connection Real COM ModeTCP alive check time Max. connectionSetting Factory Default Necessity To 65535 ms Optional NPort 5600 Series User’s Manual Web Console ConfigurationSetting Factory Default Necessity To FF None Optional Force transmitTCP Server Mode Inactivity timeDelimiter Setting Factory Default Necessity 966 Optional Setting Factory Default Necessity 4001 RequiredCommand port Local TCP portTCP Client Mode Delimiter Destination IP address Destination IP address 2/3/4TCP connect on UDP Mode Local listen port Any host can access the NPort Accessible IP SettingsHosts on a specific subnet can access the NPort Allowable Hosts Input formatAuto Warning Settings Auto warning E-mail and Snmp TrapMail Server Event Type Snmp Trap ServerDSR changed Setting Factory Default Necessity Enable, Disable OptionalDCD changed MailChange Password Load Factory DefaultsConfiguring Windows Administrator Installing Windows Administrator Page Configuration Broadcast Search Unlock Password Protection LockUnlock Fixed Configuring NPortBlank Lock FixedUpgrading Firmware Configuration menu bar item MonitorExport/Import Settings Select Add TargetSelect a Refresh Rate the default is 3 seconds Port Monitor COM Mapping On-line COM MappingPage Fast Flush only flush local buffer Off-line COM Mapping IP Location Page IP Serial LIB What is IP Serial Library? Why Use IP Serial Library?How to install IP Serial Library Server Control IP Serial LIB Function GroupsExample Program Port Control Input/Output Data Port Status MiscellaneousPage Pinouts and Cable Wiring ‰ Port Pinout DiagramsPort Pinout Diagrams RS-232 Pinouts Wire RS-422 PinoutsEthernet Port Pinouts Serial Port Pinouts Cable Wiring Diagrams Wire RS-485 PinoutsEthernet Cables Serial Cables Pin Assignments for DB9 Male and Female Connectors Pin Assignments for DB9 and DB25 ConnectorsRJ45 8 pins to DB25 Male for NPort Pin Assignments for DB25 Male and Female ConnectorsPage TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NPort 5600 Series User’s Manual Well Known Port NumbersSnmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIBIpNetToMediaNetAddress IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB Snmp MIB Address Translation MIBPage Auto IP Report Protocol ID List Auto IP Report FormatInfo n AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedProblem Report Form Moxa ProductSerial Number Product Return Procedure Revision History Figures