Moxa Technologies user manual NE-4100 Series User’s Manual Web Console Configuration

Page 47

NE-4100 Series User’s Manual

Web Console Configuration

Max. connection 1:

Allows only 1 host’s Real COM driver to open the specific NE-4100 serial port.

Max connection 2 to 4:

Allows 2 to 4 host’s Real COM drivers to open the specific NE-4100 serial port, at the same time. When multiple hosts’ Real COM drivers open the serial port at the same time, the COM driver only provides a pure data tunnel without control ability.

Application software that is based on the COM driver will receive a driver response of “success” when the software uses any of the Win32 API functions. The firmware will only send the data back to the driver on the host.

Data will be sent first-in-first-out when data comes into the NE-4100 from the Ethernet interface.

When Max Connection is not 1, it also means that NE-4100 will be in “multi connection application.” In the “multi connection application,” when one of two to four hosts closes the COM port, NE-4100 will suspend receiving or sending serial data until the host successfully closes the COM port.

In multi connection applications, NE-4100 will use the serial communication parameters set in the console. If the host opens the COM with parameters different from NE-4100’s console setting, data communication may not work properly.

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’s 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 incoming through the serial port, NE-4100 stores the data in the 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 under Force Transmit timeout.

Optimal force transmit timeout differs according to 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 no 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 = 8.3 ms.

Therefore, you should set Force Transmit timeout to be larger than 8.3 ms. Force Transmit timeout is specified in milliseconds and must be larger than 10 ms.

6-12

Image 47
Contents Sixth Edition, April NE-4100 Series User’s ManualCopyright Notice Table of Contents Chapter Configuring Windows Administrator Introduction Overview Package ChecklistProduct Features Product Specifications NE-4120 Series/NE-4120-ST Panel Layout and Pin AssignmentsNE-4100-ST NE-4100T/NE-4100-STPanel Layouts NE-4100TRXD1 Pin AssignmentsLED Name LED Color LED Function Block DiagramNE-4100-ST LED Indicators NE-4110-ST evaluation board for NE-4110 Series NE-4110 Series/NE-4110-STNE-4110S NE-4110ADIO and LED Header Pinouts J2 for NE-4110S/A Serial Header Pinouts J1 for NE-4110SSerial Header Pinouts J1 for NE-4110A Ethernet Port Pinouts for NE-4110S/ANE-4110A Block Diagram Block DiagramsNE-4110S Block Diagram NE-4110-ST LED Indicators NE-4120-ST evaluation board for NE-4120 Series NE-4120 Series/NE-4120-STTop Panel of NE-4120S Top Panel of NE-4120ASerial 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 DI/O Settings Connecting the PowerConnecting to the Network Connecting to a Serial DeviceDigital 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 ConfigurationInitializing NE-4100 Series Module’s IP Address Factory Default IP AddressNE-4100 Series Administration Suite Default IP addressTelnet Console Page Serial Console 19200, n, 8 Web Console Configuration Opening Your Browser Time zone Basic SettingsServer name Time server Setting Factory Default NecessityIP Address Network SettingsMethod Function Definition Gateway Setting Factory Default Necessity 255.255.255.0 RequiredSetting Factory Default Necessity None Optional IP configurationAuto report to IP Community nameContact LocationSerial Settings TCP Server Mode Operating SettingsDelimiter Max connectionMax. connection Max connection 2 toSetting Factory Default Necessity 966 Optional Real COM ModeSetting Factory Default Necessity 4001 Required Command portNE-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 Allowable Hosts Input format Accessible IP Settings# Hosts on a given subnet can access the NE-4100 # Any host can access the NE-4100Mail and Snmp Trap Auto Warning SettingsEvent Type DIO Monitor Digital IOSave/Restart Change PasswordLoad Factory Defaults 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 Fixed LockUnlock BlankConfiguring 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 Data Structure Definition DIO CommandsCommand Packet Format Length Bytes Header Data ACK Packet Format Length Bytes Header DataWriting 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 ServicesSerial Number Problem Report FormMoxa Product & NE-4100T Product Return Procedure