Moxa Technologies NE-4100 Max. connection, Max connection 2 to, Delimiter, Force transmit

Page 45

NE-4100 Series User’s Manual

Web Console Configuration

periodically. If the remote host does not respond to the packet, it assumes that the connection was closed 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 Force Transmit timeout. To prevent the unintended loss of data due a session getting disconnected, it is highly recommended that this value is set large enough so that the intended data transfer is completed.

Max connection

Setting

Factory Default

Necessity

1, 2, 3, 4

1

Required

 

 

 

Max connection is usually used when the user needs to receive data from different hosts simultaneously. The factory default only allows 1 connection at a time.

Max. connection 1:

NE-4100 series only allows 1 host to open the TCP connection to the specific serial port.

Max connection 2 to 4:

Allows requests from between 2 and 4 host’s TCP connection to open the specific NE-4100 series serial port, at the same time. When multiple hosts establish a TCP connection to the specific serial port at the same time, NE-4100 will duplicate the serial data and transmit to all of the hosts.

Ethernet data is sent on a first-in-first-out basis to the serial port when data comes into NE-4100 from the Ethernet interface.

Delimiter 1

Setting

Factory Default

Necessity

00 to FF

“0” for None

Optional

 

 

 

Delimiter 2

 

 

Setting

Factory Default

Necessity

00 to FF

“0” for None

Optional

 

 

 

Once the NE-4100 receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it out the NE-4100 series’ Ethernet port.

Delimiter 2 is optional. If left blank, then Delimiter 1 alone trips clearing of the buffer. If the size of the serial data received is greater than 1K, the NE-4100 will automatically pack the data and send it to the Ethernet. However, to use the delimiter function, you must at least enable Delimiter 1. If Delimiter 1 is left blank and Delimiter 2 is enabled, the delimiter function will not work properly.

Force transmit

Setting

Factory Default

Necessity

0 to 65535 ms

0 ms

Optional

 

 

 

0: Disable the force transmit timeout.

1 to 65535: Forces the NE-4100’s TCP/IP protocol software to try to pack serial data received during the specified time into the same data frame.

This parameter defines the time interval during which NE-4100 fetches the serial data from its internal buffer. If data is being received through the serial port, the NE-4100 stores the data in its internal buffer. NE-4100 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 as Force Transmit timeout.

Optimal force transmit timeout differs according to your application, but it must be at least as large as one character interval within the specified baud rate. For example, assume that the serial

6-10

Image 45
Contents Sixth Edition, April NE-4100 Series User’s ManualCopyright Notice Table of Contents Chapter Configuring Windows Administrator Introduction Package Checklist Product FeaturesOverview Product Specifications NE-4120 Series/NE-4120-ST Panel Layout and Pin AssignmentsPanel Layouts NE-4100T/NE-4100-STNE-4100T NE-4100-STRXD1 Pin AssignmentsBlock Diagram NE-4100-ST LED IndicatorsLED Name LED Color LED Function NE-4110S NE-4110 Series/NE-4110-STNE-4110A NE-4110-ST evaluation board for NE-4110 SeriesSerial Header Pinouts J1 for NE-4110A Serial Header Pinouts J1 for NE-4110SEthernet 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 Top Panel of NE-4120S NE-4120 Series/NE-4120-STTop Panel of NE-4120A NE-4120-ST evaluation board for NE-4120 SeriesSerial Header Pinouts J1 for NE-4120A Serial Header Pinouts J1 for NE-4120SNE-4120A Block Diagram NE-4120S Block DiagramNE-4120-ST LED Indicators Getting Started Attaching NE-4100T to the Evaluation Board Wiring RequirementsAttaching NE-4120 Series to the Evaluation Board Attaching NE-4110 Series to the Evaluation BoardCircuit Pad for External Connection Connecting to the Network Connecting the PowerConnecting to a Serial Device DI/O SettingsDigital Output LED Circuit Design JP2 Selecting the InterfaceChoosing the Proper Operation Mode TCP Server Mode UDP Mode TCP Client ModeReal COM Mode ARP Initial IP Address ConfigurationNE-4100 Series Administration Suite Factory Default IP AddressDefault 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 Time server Setting Factory Default NecessityNetwork Settings Method Function DefinitionIP Address Setting Factory Default Necessity None Optional Setting Factory Default Necessity 255.255.255.0 RequiredIP configuration GatewayContact Community nameLocation Auto report to IPSerial Settings TCP Server Mode Operating SettingsMax. connection Max connectionMax connection 2 to DelimiterSetting Factory Default Necessity 4001 Required Real COM ModeCommand 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 TCP connection on UDP ModeLocal Listen port # Hosts on a given subnet can access the NE-4100 Accessible IP Settings# Any host can access the NE-4100 Allowable Hosts Input formatMail and Snmp Trap Auto Warning SettingsEvent Type DIO Monitor Digital IOChange Password Load Factory DefaultsSave/Restart Monitor Port Monitor COM Mapping Configuring Windows AdministratorInstalling Network Enabler Administrator NE-4100 Series User’s Manual Web Console Configuration Broadcast Search Starting the ConfigurationNE-4100 Series User’s Manual Web Console Configuration Unlock Password Protection Unlock LockBlank 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 On-line COM Mapping 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 Well Known Port Numbers TCP Socket Application ServiceNE-4100 Series User’s Manual Well Known Port Numbers UDP Socket Application ServiceNeci Library Command Packet Format Length Bytes Header Data DIO CommandsACK Packet Format Length Bytes Header Data Data Structure DefinitionWriting a Single DIO Parameters Command Code Usage Reading Single DIO ParametersReading Multiple DIOs NE-4100 Series User’s ManualDIO CommandsWriting Multiple DIOs Snmp Agent with MIB II & RS-232 Like Group Address Translation MIB System MIB Interfaces MIBService Information Following services are provided Moxa Internet ServicesProblem Report Form Moxa Product & NE-4100TSerial Number Product Return Procedure