Moxa Technologies NPort 5600 user manual Delimiter process

Page 50

NPort 5600 Series User’s Manual

Configuring NPort Administrator

ATTENTION

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.

Delimiter process

 

Setting

 

Factory Default

 

Necessity

 

Do nothing, Delimiter + 1, Delimiter +

 

Do Nothing

 

Required

 

2, Strip Delimiter

 

 

 

 

 

 

 

When [Delimiter + 1] or [Delimiter + 2] is selected, the data will be transmitted when an additional byte (for Delimiter +1), or an additional 2 bytes (for Delimiter +2) of data is received after receiving the Delimiter.

When [Strip Delimiter] is selected, when the Delimiter is received, the Delimiter is deleted (i.e., stripped), and the remaining data is transmitted.

When [Do nothing] is selected, the data will be transmitted when the Delimiter is received.

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 baudrate. 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 NPort should send that series of characters during a time interval less than the Force Transmit timeout for NPort, and the total length of data must be less than or equal to NPort’s internal buffer size. The serial communication buffer size for NPort is 1 KB per port.

5-20

Image 50
Contents NPort 5600 Series User’s Manual Seventh Edition, JulyDisclaimer Copyright NoticeTrademarks Table of Contents Chapter IP Serial LIB Page Introduction Overview Package ChecklistProduct Features Product Specifications Power Requirements Advanced Built-in FeaturesSoftware Features Serial Communication Parameters‰ Panel Layout ‰ Connecting the Hardware Getting StartedPanel Layout Rear panel of NPort 5600 series AC PowerRear panel of NPort 5600 series DC Power Front panel of NPort 5600 seriesConnecting NPort 5610/30/50-16/8’s Power Connecting the HardwareWiring Requirements Connecting NPort 5610-16/8-48V’s PowerConnecting to the Network Grounding NPort 5610-16/8-48VLink Indicator on the Rear Panel of NPort 5650 Fiber Model Connecting to a Serial DeviceLED Indicators Adjustable Termination Resistor for the RS-485 PortNPort 5650 DIP Switches Initial IP Address Configuration Initializing NPort’s IP Address Factory Default IP AddressDefault IP address LCM DisplayButton Name Action Detailed Menu OptionsLevel NPort Administration Suite ARPTelnet Console NPort 5600 Series User’s Manual NPort 5600 Series User’s Manual NPort 5600 Series User’s Manual Choosing the Proper Operation Mode Real COM Mode Real COM ModeTCP Server Mode TCP Server ModePair Connection Mode TCP Client ModeUDP Mode RFC2217 Mode Reverse Telnet ModeDisabled Mode PPP Mode Web Console Configuration Opening Your Browser Basic Settings Time zone TimeServer name Local timeNetwork Settings ConsoleNetmask IP ConfigurationIP Address GatewayCommunity name Snmp SettingsDNS server 1 / DNS server ContactAuto report to TCP port IP Address ReportAuto report to IP Auto report periodSerial Settings Port aliasSerial Parameters Setting Factory Default Necessity To 99 min Min Optional Operating SettingsReal COM Mode TCP alive check timeMax connection 2 to Max connection Setting Factory Default Necessity RequiredMax. connection Ignore jammed IPDelimiter process Packing length Setting Factory Default Necessity RequiredDelimiter Force transmitTCP Server Mode Max connection Packing length Setting Factory Default Necessity 966 Optional Setting Factory Default Necessity 4001 RequiredCommand port Local TCP portTCP Client Mode Inactivity timeIgnore jammed IP Delimiter process Designated Local Port 1/2/3/4 Destination IP addressDestination IP address 2/3/4 Connection controlConnect/Disconnect Description UDP Mode Force transmit Setting Factory Default Necessity To 99 min Min Required Pair Connection ModePair Connection Master Mode Pair Connection Slave Mode BlankMap CR-LF Reverse Telnet ModeSetting Factory Default Necessity To 99 min Optional Disabled Mode RFC2217 ModePacking length Setting Factory Default Necessity Optional Setting Factory Default Necessity To FF hex None OptionalTCP/IP compression PPP ModeSetting Factory Default Necessity Yes or No Optional IP netmask Accessible IP SettingsSource IP address Modem Initial streamPPP User Table 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 ServerDSR changed Setting Factory Default Necessity Enable, Disable OptionalDCD changed MailMonitor Async MonitorMonitor Line Change Password Monitor Async-SettingsLoad Factory Defaults Configuring NPort Administrator ‰ Overview ‰ Installing NPort Administrator ‰ ConfigurationInstalling NPort Administrator NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB Configuration Broadcast Search Unlock Password Protection NPort 5600 Series User’s Manual IP Serial LIB Blank LockUnlock FixedConfiguring NPort NPort 5600 Series User’s Manual IP Serial LIB Upgrading Firmware Export/Import Add Target Æ Select target from the list Select Add Target NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB NPort 5600 Series User’s Manual IP Serial LIB Port Monitor COM MappingOn-line COM Mapping NPort 5600 Series User’s Manual IP Serial LIB Fast Flush only flush local buffer NPort 5600 Series User’s Manual IP Serial LIB Off-line COM Mapping IP Location NPort 5600 Series User’s Manual IP Serial LIB IP Serial LIB How to install IP Serial Library? What is IP Serial Library?Why Use IP Serial Library? Server Control IP Serial LIB Function GroupsExample Program Port Control Input/Output Data Port Status MiscellaneousPinouts and Cable Wiring ‰ Cable Wiring DiagramsSerial Port Pinouts Port Pinout DiagramsEthernet Port Pinouts Ethernet Cables Cable Wiring DiagramsRJ45 8-pins to Female DB9 Serial Cables for NPort 5610/5650 RS-232RJ45 8-pins to Male DB9 RJ45 8-pins to Female DB25Serial Cables for NPort 5630 RS-422/4-wire RS-485 RJ45 8-pins to Female DB25Serial Cables for NPort 5630 2-wire RS-485 NPort 5600 Series User’s Manual Well Known Port NumbersSerial Cables for NPort 5650 RS-422/4-wire RS-485 Serial Cables for NPort 5650 2-wire RS-485 RJ45 8-pins to Male DB25Pin Assignments for DB9 and DB25 Connectors Pin Assignments for DB9 Male and Female ConnectorsPin Assignments for DB25 Male and Female Connectors TCP Socket Application Service Well Known Port NumbersUDP Socket Application Service Snmp Agent with MIB II & RS-232 Like GroupSnmp Agent with MIB II & RS-232 Like Group System MIB Interfaces MIB Address Translation MIBInput Signal Table Output Signal Table Auto IP Report Protocol ID List Auto IP Report FormatInfo n AP ID & Hardware ID Mapping TableService Information Moxa Internet Services Following services are providedSerial Number Problem Report FormMoxa Product Product Return Procedure