Moxa Technologies 5600 user manual Delimiter

Page 44

 

NPort 5600 Series User’s Manual

Web Console Configuration

 

 

 

 

The Inactivity time should at least be set larger than that of 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.

Inactivity time is ONLY active when “TCP connection on” is set to “Any Character.”

Delimiter 1

Setting

Factory Default

Necessity

00 to FF

None

Optional

Delimiter 2

 

 

Setting

Factory Default

Necessity

00 to FF

None

Optional

 

 

 

Once the NPort receives both delimiters through its serial port, it immediately packs all data currently in its buffer and sends it to the NPort’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 1 KB, the NPort 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 NPort’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 NPort fetches the serial data from its internal buffer. If data is incoming through the serial port, NPort stores the data in the internal buffer. NPort 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.

The optimal Force transmit timeout depends on 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 none for 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 (ms/s) = 8.3 ms.

Therefore, you should set Force transmit timeout to be larger than 8.3 ms, so in this case, it must be greater than or equal to 10 ms.

If the user wants to send the series of characters in the same packet, the serial device attached to

5-18

Image 44
Contents NPort 5600 Series User’s Manual Fifth Edition, AugustDisclaimer Copyright NoticeTrademarks Table of Contents Chapter IP Serial LIB Introduction Overview Package ChecklistProduct Features Product Specifications Software Features Power RequirementsMechanical Environment‰ Panel Layout ‰ Connecting the Hardware Getting StartedPanel Layout Connecting NPort 5610/30-16/8’s Power Connecting the HardwareWiring Requirements Grounding NPort 5610-16/8-48V Connecting NPort 5610-16/8-48V’s PowerConnecting to the Network Connecting to a Serial Device LED IndicatorsReal Time Clock LED Name LED Color LED FunctionPage Initial IP Address Configuration Factory Default IP Address Default IP addressInitializing NPort’s IP Address LCM DisplayButton Name Action Detailed Menu OptionsLevel NPort Administration Suite ARPTelnet Console Page Page Choosing the Proper Operation Mode TCP Server Mode Real COM Mode TCP Client ModeUDP Mode Page Web Console Configuration Opening Your Browser NPort 5600 Series User’s Manual Web Console Configuration Basic Settings TimeServer name Time zoneConsole Time serverIP Address Network SettingsMethod Function Definition IP Configuration NetmaskGateway DNS server 1 / DNS serverSnmp Settings IP Address ReportCommunity name ContactSerial Settings Auto report to IPAuto report to TCP port Auto report periodSerial Parameters Operating Settings Setting Factory Default Necessity Enable, Disable RequiredRequired InterfaceReal COM Mode TCP alive check timeMax connection Max. connectionNPort 5600 Series User’s Manual Web Console Configuration Setting Factory Default Necessity To FF None OptionalSetting Factory Default Necessity To 65535 ms Optional Force transmitTCP Server Mode Inactivity timeDelimiter Setting Factory Default Necessity 4001 Required Command portSetting Factory Default Necessity 966 Optional Local TCP portTCP Client Mode Delimiter TCP connect on Destination IP addressDestination IP address 2/3/4 UDP Mode Local listen port Accessible IP Settings Hosts on a specific subnet can access the NPortAny host can access the NPort Allowable Hosts Input formatMail Server Auto Warning SettingsAuto warning E-mail and Snmp Trap Event Type Snmp Trap ServerSetting Factory Default Necessity Enable, Disable Optional DCD changedDSR changed MailChange Password Load Factory DefaultsConfiguring Windows Administrator Installing Windows Administrator Page Configuration Broadcast Search Unlock Unlock Password ProtectionLock Configuring NPort BlankFixed Lock FixedUpgrading Firmware Export/Import Configuration menu bar itemMonitor Settings Select Add TargetSelect a Refresh Rate the default is 3 seconds Port Monitor COM Mapping On-line COM MappingPage Fast Flush only flush local buffer Off-line COM Mapping IP Location Page IP Serial LIB How to install IP Serial Library What is IP Serial Library?Why Use IP Serial Library? IP Serial LIB Function Groups Example ProgramServer Control Port Control Input/Output Data Port Status MiscellaneousPage Pinouts and Cable Wiring ‰ Port Pinout DiagramsEthernet Port Pinouts Serial Port Pinouts Port Pinout DiagramsRS-232 Pinouts Wire RS-422 Pinouts Ethernet Cables Cable Wiring DiagramsWire RS-485 Pinouts Serial Cables Pin Assignments for DB9 and DB25 Connectors RJ45 8 pins to DB25 Male for NPortPin Assignments for DB9 Male and Female Connectors Pin Assignments for DB25 Male and Female ConnectorsPage TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service NPort 5600 Series User’s Manual Well Known Port NumbersSnmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIBIpNetToMediaNetAddress IpNetToMediaType IpRoutingDiscards UDP MIB TCP MIB Snmp MIB Address Translation MIBPage Auto IP Report Protocol Auto IP Report Format Info nID List AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedSerial Number Problem Report FormMoxa Product Product Return Procedure Revision History Figures