Lantronix G520 G520 User Guide - Page 111
Logs Information, Modbus Master, Serial Transmission Mode
View all Lantronix G520 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 111 highlights
10: Services Logs Information Services > Logs Information Logs Information page lets you view the system log file and download them to the local computer. The current log file and up to 3 historical log files may be saved. The logs configuration is read from the system logging. In order to display and download the log file, the system logging must be configured to write system log to file (see System > System > Logging). To display or download logs: 1. Go to Services > Logs Information. The Logs page appears. 2. Select the log file. The file is displayed on the page. 3. Click Download. The log file is downloaded to the local computer. Modbus Master Services > Modbus Master Modbus Master configures the gateway as a master device that connects to slave devices. It supports Modbus RTU through a serial line or Modbus TCP through a TCP/IP network. Modbus RTU based serial slave devices can also be connected via the Ethernet through an existing Modbus TCP/IP network. Any device having access to a given Modbus implementation will be able to perform the full range of operations that the implementation supports. The gateway can be configured to communicate through a tunnel using Modbus RTU to Modbus TCP conversion mode. For details, please see Tunnel Modbus RTU to Modbus TCP. Serial Transmission Mode The G520 series gateway can be configured to communicate on Modbus networks using RTU. Table 10-19 shows the standard Modbus RTU packet data structure. Modbus RTU can use either the RS232 or the RS485 interface. To use Modbus on the serial line, configure the Modbus master settings, the Serial port communication parameters, and the mode for the desired serial interface. Section Slave Address Function Code Data CRC Check Table 10-19 Modbus RTU Packet Data Structure Description 8 bits (0 to 247 decimal, 0 is used for broadcast) 8 bits (1 to 255, 0 is not valid) N X 8 bits (N=0 to 252 bytes) 16 bits Ethernet Transmission Mode The G520 series gateway can be set up to communicate on Modbus networks using TCP/IP. Table 10-20 shows the structure of the Modbus application protocol header. This header is added to the start of each Modbus message and the slave address and CRC are removed. Modbus TCP G520 Series IoT Cellular Gateway User Guide 111