|
Anleitung Zusammenfassung
In the mode, all connections have to use the same serial setting. If one serial setting of these connections is different from others, the data communication may operate incorrectly. There are two kinds of Multi-access function. One is Normal mode; another is Round- Robin mode. • Normal mode: Disabling “Response Timeout” parameter, EKI-1351/1352 will operate in “normal mode”. When multiple hosts open the serial port simultaneously, the EKI-1351/1352 only offers control ability to the first connected host but also provides data communication function for others. Each serial port supports up to five simultaneous connections, so multiple hosts can transmit/receive data to/from the same serial port simultaneously. Every host can transmit data to the same serial port, and EKI-1351/1352 will also transmit data to every host. But, while multiple hosts transmit data to the same serial port at almost same time (there still have the order of arrival), the received data from serial device (this should be required by the first order of arrival) will be transmitted to the connected hosts simultaneously. This causes hosts receive incorrect data except the host who has the first order of arrival. Note This operating mode is suitable for the one major host send the command and others hosts just listen the data from serial port. If two of connected hosts send the command at the same time, it is possible that EKI serial device server will not handle the command and will response the incorrect data. EKI-1351/1352 User Manual 38 • Round-Robin mode: Enabling “Response Timeout” parameter, the EKI-1351/ 1352 will operate in “Round-Robin mode”. Each serial port supports up to five simultaneous connections, so multiple hosts can transmit/receive data to/from the same serial port simultaneously. Every host can transmit data to the same serial port simultaneously, but EKI serial device server will process the data communication in order. EKI-1351/1352 will process the first host’s request and reply the response to the first host. If EKI serial device server receives nothing from serial port after a period of time set by user in "Response Timeout" block, the device server will reply the acknowledgement to the host and then process the next host’s request. The cycle time will be increased when you increase either the number of the connected hosts or the value of "Response Timeout". • Frame Break is a very import parameter for Round Robin mode. This parameter is a smart way to reduce inefficient waiting time and EKI-1351/1352 can transmit data more efficiently. Disabling the Frame Break function, EKI-1351/1352 will wait for data until "Response Timeout" setting time is reached. During this period, the commands from hosts will be queued and EKI-1351/1352 just processes this command. Enabling “Frame Break”, if the serial port idle is longer than the “Frame Break” period, EKI-1351/1352 will assume the communication is completed and continue the next host’s query. This is an efficient way to reduce the waiting time and improve the performance. 3.4.3 Setting TCP/UDP Server/Client Operating Mode Parameters EKI-1351/1352 provides various operating modes. Selecting the "USDG Mode" as below to change the mode of the port to TCP server/client or UDP mode. Before setting the TCP server mode, you have to check the serial port setting in advance. Chapter Configuration 39 EKI-1351/1352 User Manual • Mode: There are two kinds of operation modes: Data Mode and Control Mode. • To use TCP server operating mode correctly, you have to select Data Mode. • Data Listen Port: The TCP (UDP) port number represents the source port number, and the number is used to identify the channel for remote initiating connections. Range: 1024-65533. If an unknown caller wants to connect to the system and asks for some services, they need to define the TCP (UDP) port to carry a long-term conversation. Each node on a TCP/IP network has an IP address, and each IP address allows connections on one or more TCP port. The well known TCP ports are those that have been defined; for example, port 23 is used for Telnet connections. There are also custom sockets that users and developers define for their specific needs. Each port has its own data listen port to accept connected request of other network device. So, the data listen port can’t be set the same value. You can transmit/receive data to/from device via the data listen port. • Command Listen Port: Each port has its own command listen port to accept connected requests of other network devices, thus the command listen port can’t be set the same value. You can use ‘AT command’ to change the port setting via the command listen port. The Command Listen Port must be different from the Data Listen port. • Enable Data Idle Timeout: The default is 60 seconds. You are allowed disabling this function if you want to keep the connection working continuously. The data idle timeout is the interval in which the device waits for data. If the EKI...
Dieses Handbuch ist für folgende Modelle:PC Desktops - EKI-1352 (3.05 mb)