1 / 84

NPort Advanced Functions - Firmware

NPort Advanced Functions - Firmware. Moxa Connectivity 2012-08. Advanced Functions – Overview. Secure. Firmware. Driver. Inactivity Timeout Delimiter Force Transmit Packet Length Connection Control. TCP Alive Check Timeout Max. Connection Ignore Jammed IP Allow Driver Control

kyle
Download Presentation

NPort Advanced Functions - Firmware

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. NPort Advanced Functions- Firmware Moxa Connectivity 2012-08

  2. Advanced Functions – Overview • Secure Firmware Driver • Inactivity Timeout • Delimiter • Force Transmit • Packet Length • Connection Control • TCP Alive Check Timeout • Max. Connection • Ignore Jammed IP • Allow Driver Control • Command by Command • Authentication • Fast Flush • TX Mode • Auto Network Re-connection • Return Error If Network Is • Unavailable • Always Accept Open Requests • COM Grouping (NPort 5000) Serial Ethernet

  3. Advanced Functions – Firmware

  4. Serial Inactivity Timeout Ethernet

  5. Q : What is Inactivity Timeout? Where can this function be used? Tips: Inactivity Timeout function automatically closes NPort’s TCP connection if there is no serial data activity for the given time. Inactivity Timeout – Introduction

  6. Inactivity Timeout – Introduction • If there is no serial data activity for the given time, NPort will automatically close the TCP connection. • This function frees up NPort if there is no serial data activity, letting NPort establish another TCP connection, and work more efficiently.

  7. Inactivity Timeout – How does it work? TCP Server mode 1. Establish Connection 3. Disconnect 2. Idle on serial side Ethernet Monitor Telnet Console

  8. Inactivity Timeout – Where to Find It?

  9. Delimiter Serial Ethernet

  10. Q : What is Delimiter? Tips: When NPort receive “a specific character” through its serial port, it immediately packs all data in the buffer and sends it out to the Ethernet. Delimiter – Introduction

  11. Delimiter – When to Use? • If the packets are not able to reach the destination in the order they were sent • If your socket program is very time-critical for receiving Ethernet packets use the Delimiter function to ensure the serial data will be packed into the same Ethernet packet.

  12. Delimiter – How does It Work? ABDEM in buffer

  13. Delimiter – Where to Find It?

  14. Force Transmit Serial Ethernet

  15. Q : What is Force Transmit? Tips: Force Transmit function forces NPort’s firmware to pack serial data into the same data frame during the specified time. Force Transmit – Introduction

  16. Force Transmit – How does It Work? • Force Transmit means Interval Timeout between characters • The NPort transfers data stored in the buffer via TCP/IP, only if: • internal buffer is full • inter-character interval timeout Interval

  17. Force Transmit – Where to Find It?

  18. Packet Length Serial Ethernet

  19. Q : What is Packet Length? Tips: The Packet Length function forces the NPort’s firmware to send out serial data with the specified packet length for every packet. Packet Length – Introduction

  20. Packet Length – How does It Work? Serial Data Ethernet Packet NPort

  21. Packet Length – Where to Find It?

  22. Connection Control Serial Ethernet

  23. Connection Control – Introduction Q : What is Connection Control? Tips: When NPort is configured as TCP Client mode, it can decide when to establish or disconnect a connection with the host.

  24. Connection Control – Introduction • Start up / None • Any Character / None • Any Character / Inactivity Time • DSR ON / None • DSR ON / DSR OFF • DCD ON / None • DCD ON / DCD OFF

  25. Connection Control  Start / None Start / None:A TCP connection will be established on startup, and will remain active indefinitely Afterthe NPortis poweredon,connectswithHost1immediatelyandremainsactiveindefinitely Ethernet Host1

  26. Connection Control  Any Character / None Any Character / None:A TCP connection will be established when any character is received from the serial interface, and will remain active indefinitely. Datainput Host1 ConnectswithHost1afterreceivinganydatafromthe serialport Ethernet

  27. ConnectswithHost1afterreceivinganydatafromthe serialport Connection Control  Any Character / Inactivity Time Any Character / Inactivity Time: It will be disconnected when Inactivity time is reached. DisconnectsfromHost1afterwaitingfor the inactivitytimeout,andreconnectswithHost1whenanydatais received fromthe serialportagain Datainput Host1 Time’sup Ethernet

  28. Connection Control  DSR ON / None DSR ON / None:A TCP connection will be established when a DSR signal is “On” and will remain active indefinitely. DSRON Host1 AfterDSRON,connectwithHost1immediatelyandremainactiveindefinitely Ethernet

  29. Connection Control  DSR ON / DSR OFF DSR ON / DSR OFF: A TCP connection will be established when a DSR signal is “On” and will be disconnected when a DSR “Off” signal is receive DSRON Host1 DisconnectswithHost1afterwaiting forDSROFFandreconnectswithHost1whenDSRONis received fromthe serialportagain DSROFF Ethernet ConnectswithHost1afterDSRON

  30. Connection Control  DCD ON / None, DCD ON / DCD OFF • Actually both “DCD ON / None” and “DCD ON / DCD OFF” modes are the same as previous “DSR ON / None” and “DSR ON / DSR OFF”. The only different is signal type.

  31. Connection Control – Where to Find It?

  32. TCP Alive Check Timeout Serial Ethernet

  33. Q : What is TCP Alive Check Timeout? Tips: Using this method gives NPort a fail-safe mechanism if the network is disconnected or the remote computer is in panic mode. TCP Alive Check Timeout – Introduction

  34. TCP Alive Check Timeout – How does It Work? Host1 5. Go back to listen 2. Crash or network is broken 1. Establish Connection TCP Server 3. Check Alive 4. No Response Ethernet Monitor Telnet Console Host2

  35. TCP Alive Check Timeout – Where to Find It?

  36. Max. Connection Serial Ethernet

  37. Q : What is Max. Connection? Tips: If you need to receive data from different hosts simultaneously, please enable the Max. Connection. Max. Connection – Introduction

  38. Max. Connection – Introduction • When Max connection is greater than 1, the NPort will use a multi connection application. • If Max. Connections is 1, Host2 Host1 Ethernet Connected Data Card Reader

  39. Max. Connection – Introduction • If Max. Connections is 2, Host2 Host1 Connected Ethernet Connected Card Reader Data Data

  40. Max. Connection – Limitation • When Max. Connection is greater than 2, the NPort only provides transfer direction from serial to Ethernet because the NPort’s serial port could receive data out of order when both hosts send data at the same time. Host1 Host2

  41. Max. Connection – Where to Find It?

  42. Ignore Jammed IP Serial Ethernet

  43. Q : What is Ignore Jammed IP? Tips: Ignore jammed IP determines how the port will proceed if multiple hosts are connected and one or more of the hosts stops responding as the port is transmitting data. Ignore Jammed IP – Introduction

  44. Ignore Jammed IP – How does It Work? • If this function is disabled: Host2 Host1 Host 1 crash Ethernet Receive data from NPort Receive data from NPort Host 2 can’t receive data Card Reader Senddatato host 1 and host 2 Stop sending data to Host 2 when buffer of Host 1 is fulled

  45. Ignore Jammed IP – How does It Work? • If this function is enabled: Host2 Host 1 crash Host1 Ethernet Host 2 still receive data Receive data from NPort Receive data from NPort Card Reader Senddatato host 1 and host 2 Still send data to Host 2 after Host 1 crashes

  46. Ignore Jammed IP – Where to Find It?

  47. Allow Driver Control Serial Ethernet

  48. Q : What is Allow Driver Control? Tips: Allow driver control determines how the port will proceed if driver control commands are received from multiple hosts that are connected to the port. Allow Driver Control – Introduction

  49. Allow Driver Control– How does It Work? • If this function is disabled: Host2 Host1 Ethernet ParameterofNPort, 9600,N,8,1 in firmware ParamterofNPort, Still9600,N,8,1 Want to open COM port withparameter,4800,E,7,1 Card Reader

  50. Allow Driver Control– How does It Work? • If this function is enabled: Host2 Host1 Ethernet ParameterofNPort, 9600,N,8,1 in firmware Want to open COM port withparameter,4800,E,7,1 ParamterofNPort, Change to 4800,E,7,1 Card Reader

More Related