Moxa Technologies NE-4100 user manual Real COM Mode, Local TCP port, Command port

Page 46

NE-4100 Series User’s Manual

Web Console Configuration

port is set to 1200 bps, 8 data bits, 1 stop bit, and no for parity. In this case, the total number of bits required 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.

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

Local TCP port

Setting

Factory Default

Necessity

1 to 65535

4001

Required

 

 

 

The TCP port that NE-4100 uses to listen to connections, and that other devices must use to contact NE-4100. 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 adjust the command port to another port if needed. The IP-Serial Lib will automatically check out the Command Port on NE-4100 so that the user does not need to configure the program.

Real COM 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. After the connection is closed, NE-4100 starts listening for another Real COM driver’s connection from another host.

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 same. When Max Connection is set to 1, the Real COM driver on the specific host has full control.

6-11

Image 46
Contents NE-4100 Series User’s Manual Sixth Edition, AprilCopyright Notice Table of Contents Chapter Configuring Windows Administrator Introduction Product Features Package ChecklistOverview Product Specifications Panel Layout and Pin Assignments NE-4120 Series/NE-4120-STNE-4100T NE-4100T/NE-4100-STPanel Layouts NE-4100-STPin Assignments RXD1NE-4100-ST LED Indicators Block DiagramLED Name LED Color LED Function NE-4110A NE-4110 Series/NE-4110-STNE-4110S NE-4110-ST evaluation board for NE-4110 SeriesEthernet Port Pinouts for NE-4110S/A Serial Header Pinouts J1 for NE-4110SSerial Header Pinouts J1 for NE-4110A DIO and LED Header Pinouts J2 for NE-4110S/ANE-4110S Block Diagram Block DiagramsNE-4110A Block Diagram NE-4110-ST LED Indicators Top Panel of NE-4120A NE-4120 Series/NE-4120-STTop Panel of NE-4120S 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 to a Serial Device Connecting the PowerConnecting to the Network 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 ARPDefault IP address Factory Default IP AddressNE-4100 Series Administration Suite Initializing NE-4100 Series Module’s IP AddressTelnet Console Page Serial Console 19200, n, 8 Web Console Configuration Opening Your Browser Server name Basic SettingsTime zone Setting Factory Default Necessity Time serverMethod Function Definition Network SettingsIP Address IP configuration Setting Factory Default Necessity 255.255.255.0 RequiredSetting Factory Default Necessity None Optional GatewayLocation Community nameContact Auto report to IPSerial Settings Operating Settings TCP Server ModeMax connection 2 to Max connectionMax. connection DelimiterCommand port Real COM ModeSetting Factory Default Necessity 4001 Required 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 # Any host can access the NE-4100 Accessible IP Settings# Hosts on a given subnet can access the NE-4100 Allowable Hosts Input formatAuto Warning Settings Mail and Snmp TrapEvent Type Digital IO DIO MonitorLoad Factory Defaults Change PasswordSave/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 Blank LockUnlock 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 ACK Packet Format Length Bytes Header Data DIO CommandsCommand 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 providedMoxa Product & NE-4100T Problem Report FormSerial Number Product Return Procedure