Senatek LS100 manual TCP Client Mode Operations, Operations Serial data transfer

Page 32

4.2 TCP Client Mode Operations

4.2.1 Overview

The LS100 works as a TCP client, and the default TCP state is [Closed] in this mode. The remote host will be either Ethernet-Serial communication devices acting as a TCP server or a socket program acting as a TCP server running on users’ PC.

1) Typical State Transition

[Closed] -->[Sync-Sent] -->[Established] -->[Data] -->[Closed]

At start-up, an initial TCP state is [Closed]. If there is any incoming data through the serial port, the LS100 will try to connect to a user-defined remote host. Then, the state will be changed to [Sync-Sent], which means the connection request is being sent. If the remote host accepts the request, the state will be changed into [Established], which means a session has been opened. For a while, data will be transferred between the hosts. This is [Data] state. The session will be disconnected due to the request of one of them, which is its original state, [Closed].

2) Operations

Serial data transfer

Whenever the serial device sends data through the serial port of the LS100, data will be accumulated to the serial port buffer of the LS100. If the internal serial port buffer is full or inter- character time interval reaches to the time specified as inter-character timeout value, it tries to connect to the user-defined IP address of the remote host, if TCP session is not established yet. If the LS100 succeeds in connecting to the remote host, the data in the serial port buffer will be transferred to the host. Otherwise, all the data stored in the buffer will be cleared.

Session disconnection

The connected session will be disconnected when the remote host sends disconnection request or when no data transfer activity is found through the serial port for certain amount of time, which is “Inactivity timeout”. All the data remained in the serial port buffer will be cleared when it is disconnected.

Connection request from remote host

All the incoming TCP connection requests will be rejected in TCP client mode.

Cyclic Connection

It Cyclic Connection function is enabled, the LS100 will make an attempt to connect to the user- defined remote host at certain interval even if there’s no incoming serial data from the device. If the remote host prepares certain data, it will be transferred to the serial device via its serial port

32

Image 32
Contents HelloDevice Lite Series LS100 User Guide User Guide for the HelloDevice LS100 Contents Page Introduction OverviewPackage Check List Product Specification Serial InterfaceTerminologies and Acronyms MAC addressAcronym Table Getting Started Panel LayoutPanel layout of the LS100 Connecting to the Network Connecting the HardwareConnecting the Power Connecting to the Device Connecting a network cable to the LS100Accessing Console Port Using Serial ConsoleData/Console switch of the LS100 Using Remote Console Telnet program set up exampleCommand Usage LS100 command set summary1 ‘set’ Command IP configuration example screen2 ‘get’ Command 11 Help screen example3 ‘help’ Command 14 Getting all parameters screen4 ‘factorydefault’ Command 15 Help screen7 ‘reboot’ Command 5 ‘save’ Command6 ‘exit’ Command IP Address Configuration IP configuration parametersOverview Static IP ConfigurationStatic IP Setting IP configuration parameters for Static IP mode DhcpPPPoE Dhcp ConfigurationPPPoE Configuration LS100 TCP/IP session modes Host Mode ConfigurationHost mode configuration parameters Listen TCP Server Mode Operations Sync-SentSync-Recvd Listen TCP Server Mode Configuration TCP server mode settingTCP Client Mode Operations Operations Serial data transferTCP Client Mode Configuration State Transition Diagram of TCP client modeTCP Server/Client Mode Operations TCP client mode settingTCP Server/Client Mode Configuration State Transition Diagram of TCP server/client modeTCP server/client mode setting Serial Port Configuration Serial Port Configuration parametersSet serial 9600 7 e 2 h s n Serial port configuration System Administration Administration parameters configurationSerial Port Pin Outs Appendix a ConnectionsEthernet Pin outs HelloDevice Ethernet Wiring DiagramSerial Wiring Diagram Appendix B Well-known Port Numbers Table B-1 Well-known port numbersAppendix C Troubleshooting Power/LED Status TroubleshootingSerial Console Troubleshooting Remote Console TroubleshootingTCP Server Mode Operation Troubleshooting IP Address TroubleshootingDhcp Troubleshooting Serial Communication Troubleshooting

LS100 specifications

The Senatek LS100 is a cutting-edge equipment designed to elevate operational efficiency across various industries. This innovative machine is widely recognized for its advanced features, which make it suitable for applications ranging from manufacturing to logistics.

One of the standout characteristics of the Senatek LS100 is its robust build quality. Constructed with durable materials, it is designed to withstand the rigors of heavy use, ensuring longevity and exceptional performance. The LS100 is engineered with precision to minimize maintenance requirements, which allows for uninterrupted workflow in demanding environments.

The LS100 is equipped with state-of-the-art technology that enhances its operational capabilities. At the core of its functionality is a powerful and efficient motor that allows for swift processing speeds. This ensures that tasks that would typically take hours can be completed in a fraction of the time, significantly boosting productivity.

A key feature of the Senatek LS100 is its user-friendly interface, which simplifies operation for users of all skill levels. Its intuitive controls and integrated software allow for easy adjustments and monitoring of tasks, making it easier for operators to focus on their core responsibilities without getting bogged down by complex machine handling.

With advanced safety features, the LS100 prioritizes the wellbeing of its operators. Safety protocols are embedded within its design, including automatic shut-off mechanisms and emergency stop options, which provide peace of mind while operating this high-performance equipment.

Additionally, the Senatek LS100 stands out for its energy efficiency. With rising energy costs, this machine is designed to consume less power without compromising performance, leading to lower operational costs over time. This eco-conscious design not only benefits businesses economically but also aligns with modern sustainability goals.

Versatility is another defining feature of the LS100. It can be customized with various attachments and upgrades, allowing it to adapt to a broad spectrum of tasks. Whether it's for assembly, packaging, or material handling, the LS100 can be tailored to meet specific operational needs.

In summary, the Senatek LS100 embodies the perfect blend of strength, innovation, and efficiency. Its durable construction, advanced technology, user-friendly interface, safety features, energy efficiency, and versatility make it an invaluable asset for businesses aiming to enhance their productivity and operational efficiency in today's competitive landscape.