Moxa Technologies NE-4100 user manual TCP Client Mode, Inactivity time

Page 48

NE-4100 Series User’s Manual

Web Console Configuration

If the user wants to send the series of characters in a packet, the serial device attached to the NE-4100 should send characters without time delay larger than Force Transmit timeout between characters and the total length of data must be smaller than or equal to NE-4100’s internal buffer size. The serial communication buffer size of NE-4100 series is 1 Kbyte per port.

TCP Client Mode

TCP alive check time

Setting

Factory Default

Necessity

0 to 99 min

7 min

Optional

0 min: TCP connection is not closed due to an idle TCP connection.

1 to 99 min: NE-4100 automatically closes the TCP connection if there is no TCP activity for the given time.

Inactivity time

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

 

 

 

0 ms: TCP connection is not closed due to an idle serial line.

0-65535 ms: NE-4100 automatically closes the TCP connection, if there is no serial data activity for the given time.

This parameter defines the maintenance status as Closed or Listen on the TCP connection. The connection is closed if there is no incoming or outgoing data through the serial port during the specific Inactivity time.

If the value of inactivity time is set to 0, the current TCP connection is maintained until a connection close request is received. Although the inactivity time is disabled, the NE-4100 will check the connection status between the NE-4100 and remote host by sending “keep alive” packets periodically. If the remote host does not respond to the packets, it treats the connection as being down unintentionally. NE-4100 will then force the existing TCP connection to close.

The Inactivity time should at least be set larger than that of the Force Transmit timeout. To prevent the unintended loss of data due to the session being disconnected, it is highly recommended that this value is set large enough so that the intended data transfer is completed.

6-13

Image 48
Contents NE-4100 Series User’s Manual Sixth Edition, AprilCopyright Notice Table of Contents Chapter Configuring Windows Administrator Introduction Package Checklist Product FeaturesOverview Product Specifications Panel Layout and Pin Assignments NE-4120 Series/NE-4120-STNE-4100T/NE-4100-ST Panel LayoutsNE-4100T NE-4100-STPin Assignments RXD1Block Diagram NE-4100-ST LED IndicatorsLED Name LED Color LED Function NE-4110 Series/NE-4110-ST NE-4110SNE-4110A NE-4110-ST evaluation board for NE-4110 SeriesSerial Header Pinouts J1 for NE-4110S Serial Header Pinouts J1 for NE-4110AEthernet Port Pinouts for NE-4110S/A DIO and LED Header Pinouts J2 for NE-4110S/ABlock Diagrams NE-4110S Block DiagramNE-4110A Block Diagram NE-4110-ST LED Indicators NE-4120 Series/NE-4120-ST Top Panel of NE-4120STop Panel of NE-4120A NE-4120-ST evaluation board for NE-4120 SeriesSerial Header Pinouts J1 for NE-4120S Serial Header Pinouts J1 for NE-4120ANE-4120S Block Diagram NE-4120A Block DiagramNE-4120-ST LED Indicators Getting Started Wiring Requirements Attaching NE-4100T to the Evaluation BoardAttaching NE-4110 Series to the Evaluation Board Attaching NE-4120 Series to the Evaluation BoardCircuit Pad for External Connection Connecting the Power Connecting to the NetworkConnecting to a Serial Device DI/O SettingsDigital Output LED Circuit Design Selecting the Interface JP2Choosing the Proper Operation Mode TCP Server Mode TCP Client Mode UDP ModeReal COM Mode Initial IP Address Configuration ARPFactory Default IP Address NE-4100 Series Administration SuiteDefault IP address Initializing NE-4100 Series Module’s IP AddressTelnet Console Page Serial Console 19200, n, 8 Web Console Configuration Opening Your Browser Basic Settings Server nameTime zone Setting Factory Default Necessity Time serverNetwork Settings Method Function DefinitionIP Address Setting Factory Default Necessity 255.255.255.0 Required Setting Factory Default Necessity None OptionalIP configuration GatewayCommunity name ContactLocation Auto report to IPSerial Settings Operating Settings TCP Server ModeMax connection Max. connectionMax connection 2 to DelimiterReal COM Mode Setting Factory Default Necessity 4001 RequiredCommand port Setting Factory Default Necessity 966 OptionalNE-4100 Series User’s Manual Web Console Configuration TCP Client Mode Destination IP address 1/2/3/4 UDP Mode TCP connection onLocal Listen port Accessible IP Settings # Hosts on a given subnet can access the NE-4100# Any host can access the NE-4100 Allowable Hosts Input formatAuto Warning Settings Mail and Snmp TrapEvent Type Digital IO DIO MonitorChange Password Load Factory DefaultsSave/Restart Configuring Windows Administrator Monitor Port Monitor COM MappingInstalling Network Enabler Administrator NE-4100 Series User’s Manual Web Console Configuration Starting the Configuration Broadcast SearchNE-4100 Series User’s Manual Web Console Configuration Unlock Password Protection Lock UnlockBlank FixedConfiguring NE-4100 Upgrading the Firmware Export/Import Monitor Select Add Target NE-4100 Series User’s Manual Web Console Configuration NE-4100 Series User’s Manual Web Console Configuration Port Monitor COM Mapping On-line COM MappingSelect COM Setting to modify COM No., default setting, etc NE-4100 Series User’s Manual Web Console Configuration Off-line COM Mapping SW Reset Function NE-4100 Series User’s Manual SW Reset Function TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NE-4100 Series User’s Manual Well Known Port NumbersNeci Library DIO Commands Command Packet Format Length Bytes Header DataACK Packet Format Length Bytes Header Data Data Structure DefinitionCommand Code Usage Reading Single DIO Parameters Writing a Single DIO ParametersNE-4100 Series User’s ManualDIO Commands Reading Multiple DIOsWriting Multiple DIOs Snmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIB Address Translation MIBService Information Moxa Internet Services Following services are providedProblem Report Form Moxa Product & NE-4100TSerial Number Product Return Procedure