Moxa Technologies NE-4100 user manual TCP Client Mode, UDP Mode

Page 29

NE-4100 Series User’s Manual

Choosing the Proper Operation Mode

TCP Client Mode

In TCP Client mode, NE-4100 Series boards can actively establish a TCP connection to a pre-defined host computer when serial data arrives.

After the data has been transferred, NE-4100 Series boards can automatically disconnect from the host computer by using the TCP alive check time or Inactivity time settings. Refer to the following chapters for more details.

As illustrated in the figure, data transmission proceeds as follows:

1.The NE-4100 Series board running TCP Client Mode actively establishes a connection based on the conditions set in the firmware. You can let the NE-4100 board connect to a remote host on start up, or connect later when data from serial device arrives.

2.Once the connection is established, data can be transmitted in both directions—from the host to the NE-4100 board, and from the NE-4100 board to the host.

UDP Mode

Compared to TCP communication, UDP is faster and more efficient. In UDP mode, you can multicast data from the serial device to multiple host computers, and the serial device can also receive data from multiple host computers, making this mode ideal for message display applications.

4-3

Image 29
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 AssignmentsPanel Layouts NE-4100T/NE-4100-STNE-4100T NE-4100-STRXD1 Pin AssignmentsLED Name LED Color LED Function Block DiagramNE-4100-ST LED Indicators 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/ANE-4110A Block Diagram Block DiagramsNE-4110S 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 Time zone Basic SettingsServer name Time server Setting Factory Default NecessityIP Address Network SettingsMethod Function Definition 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 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 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 ServicesSerial Number Problem Report FormMoxa Product & NE-4100T Product Return Procedure