SST Automation GS11-MT User Manual

Embedded modbus tcp module

Advertisement

Quick Links

Embedded Modbus TCP Module
GS11-MT
User Manual
REV 1.1
SST Automation
E-mail: SUPPORT@SSTCOMM.COM
WWW.SSTCOMM.COM

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the GS11-MT and is the answer not in the manual?

Questions and answers

Summary of Contents for SST Automation GS11-MT

  • Page 1 Embedded Modbus TCP Module GS11-MT User Manual REV 1.1 SST Automation E-mail: SUPPORT@SSTCOMM.COM WWW.SSTCOMM.COM...
  • Page 2: Table Of Contents

    3.2 The Flowchart of User Program........................11 3.3 Real-time monitoring IP function.........................12 3.4 Transmit the Setting IP Address Message....................12 4 Modbus TCP to SST Automation-defined Protocol....................15 4.1 Description..............................15 4.2 The Flowchart of User Program........................17 4.3 Real-time monitoring IP function.........................18 4.4 Transmit the Setting IP Address Message....................
  • Page 3 8.3.4 Advanced Parameter.......................... 38 8.4 Configuration..............................39 8.4.1 Ethernet Parameters........................... 40 8.4.2 Password............................41 8.4.3 IP Address Report..........................42 8.5 OK, Cancel and Help............................ 43 8.5.1 OK..............................43 8.5.2 Cancel..............................44 8.5.3 Help..............................44 8.6 IP Address Report............................45 8.6.1 Parameter configuration........................45 8.6.2 IP Address Report..........................
  • Page 4: About The Embedded Module

    1 About the Embedded Module 1.1 General GS11-MT is an embedded Modbus TCP module and provides instant Modbus TCP connectivity via the host interface which is SST Automation defined. Any device that supports the host interface can communicate with GS11-MT through UART.
  • Page 5 The size of output buffer is 256 bytes at most. The host interface is UART, half duplex, 8 data bits, one stop bit, and no parity, and support 9600, 19200,  38400, 57600, 115200, 230400 baud rate. Power: +3.3VDC (3.14 ~ 3.45V), 182mA. ...
  • Page 6: Hardware

    2 Hardware 2.1 Appearance Network activity indicator Network connecting indicator 2.2 Indicators Indicator Status Description No network connection Green Always on Have network connection No network data transmitting or receiving Yellow Blinking Have network data transmitting or receiving www.sstcomm.com...
  • Page 7: Interface

    Bi-directional Data- Pin 6 RXD- Receive Data- Pin 7 BID+ Bi-directional Data+ Pin 8 BID- Bi-directional Data- 2.3.2 Host Interface GS11-MT has a 20-pin socket connector (needle-type), including power, UART and GPIO. The pin position and definition are as follows: www.sstcomm.com...
  • Page 8: Uart Baud Rate

    UART Transmit (Output), connect with RXD of host processor or MCU Reserved The status of GS11-MT (Output), and need a 10K pull-up resistor on user board. Logic 1: The GS11-MT module is in starting. Logic 0: The module’s start has been completed.
  • Page 9: Reset Signal

    2.5 Reset Signal GS11-MT RESET (Pin 14) is hardware reset signal input. When the RESET pin is pulled down to GND or low to 2.88V lasting for 1 millisecond, the module will be forced to reset, and the host must wait for 250 milliseconds (typical value, after reset the module), and then the host must check the PIN10 (/RUN) and PIN20 (/ DATAEXCH).
  • Page 10: Modbus Tcp To Modbus Rtu

    3 Modbus TCP to Modbus RTU 3.1 Description GS11-MT acts as a Modbus TCP server at the Ethernet side, and a Modbus RTU master at the serial port side. GS11-MT receives Modbus TCP request messages come from Ethernet, then convert the message format from TCP to RTU, and send them to the serial port.
  • Page 11: The Flowchart Of User Program

    3.2 The Flowchart of User Program www.sstcomm.com...
  • Page 12: Real-Time Monitoring Ip Function

    3.3 Real-time monitoring IP function If the GS11-MT is set to DHCP, then the module will monitor its IP when it is running. If IP changed, it will pull up /DataExch pin to logic 1.Then two cases: 1.Using configuration software setting IP address mode: The module will obtain an IP again.
  • Page 13 0x01; After the user transmits the setting IP address message, the user will receive "0x2E" per second, until the GS11-MT successfully obtain an IP address. Then the user will receive a message, and its format is shown as follows: www.sstcomm.com...
  • Page 14 IP Address Report: Byte IP Address Report message length is 12 which includes all following bytes except the check sum byte and the length byte , high-byte first IP Address, high-byte first Subnet Mask, high-byte first Default Gateway Address, high-byte first Check sum, byte 0+byte 1+…+byte 12 Eg:0C C0 A8 00 BB FF FF FF 00 C0 A8 00 01 95 The first byte is the length.
  • Page 15: Modbus Tcp To Sst Automation-Defined Protocol

    Protocol 4.1 Description GS11-MT acts as a Modbus TCP server at the Ethernet side, and the serial protocol is SST Automation-defined protocol. Modbus TCP communication and serial communication of GS11-MT are independent, and exchange data between through the input and output data buffer inside GS11-MT. User board can exchange data with EMT331 according to the SST Automation –defined protocol of GS11-MT.
  • Page 16 Input 04H Function Code Data Buffer 06H Function Code Output 10H Function Code Data Buffer 03H Function Code 04H function code is used to read input data; 06H and 10H function codes are used to write output data; 03H function code is used to read back output data, and then multiple Modbus TCP masters can exchange data using this function code.
  • Page 17: The Flowchart Of User Program

    4.2 The Flowchart of User Program www.sstcomm.com...
  • Page 18: Real-Time Monitoring Ip Function

    4.3 Real-time monitoring IP function If the GS11-MT is set to DHCP, then the module will monitor its IP when it is running. If IP changed, it will pull up /DataExch pin to logic 1.Then two cases: 1.Using configuration software setting IP address mode: The module will obtain an IP again.
  • Page 19 0x01; After the user transmits the setting IP address message, the user will receive "0x2E" per second, until the GS11-MT successfully obtain an IP address. Then the user will receive a message, and its format is shown as...
  • Page 20: Sst Automation-Defined Protocol

    Last byte is checksum. 4.5 SST Automation-defined Protocol User board is the communication initiator, and GS11-MT responses. The request messages contain input data, and the response messages contain output data. The communication process is as follows:...
  • Page 21 , high-byte first … Input data, high-byte first Check sum, byte 0+byte 1+…+byte n Response message of SST Automation-defined protocol (module -> user board) Byte Correct response Byte Incorrect response...
  • Page 22 Index Error code Description Check sum error Data length error Extra error code is always 0xFF. www.sstcomm.com...
  • Page 23: Ip Address Report

    5 IP Address Report This feature allows GS11-MT periodically sending the IP address report to the user's IP address. Open configuration software, search GS11-MT, and then open the configuration or the advanced configuration. And open IP Address Report, as shown below: Select “Enable”, enter the IP address and port number of terminal (Eg: computer) which receives reports.
  • Page 24 Firmware Major Version Number Firmware Minor Version Number MAC Address MAC Address Always 0 IP Address Subnet Mask Gateway Address Custom Name www.sstcomm.com...
  • Page 25: Dimension

    6 Dimension Unit: [mm] Front: www.sstcomm.com...
  • Page 26 Side: PCB dimension: www.sstcomm.com...
  • Page 27: Development Board

    7 Development Board 7.1 Appearance 7.2 Function 7.2.1 RS232 Interface RS232 interface is DB9 pin-connector, the description show as follow: Signal Description Connect with pin TX of RS232 of PC Connect with pin RX of RS232 of PC Connect with pin GND of RS232 of PC DB9 hole-connector crossover cable must be used when connect the board with RS232 interface of PC: Development board...
  • Page 28: Baudrate Setting Switch

    7.2.2 Baudrate Setting Switch The 4-bit DIP switch on the development board is used to set the serial (UART) baud rate and default IP address locking: Middle High Default IP address locking Corresponding relationship of baud rate is as follows: Index High bit Middle bit...
  • Page 29: Reset Key

    Default gateway: 192.168.0.1 7.2.3 Reset Key The key on the development board is the reset key, which is used to manual reset GS11-MT. 7.2.4 LED There are six indicators on the development board, and the description is as follows: Name...
  • Page 30: Configuration Software

    SST-EMT-CFG is a product based on Windows platform, and is used to configure parameters of GS11-MT. Before running the software, make sure the computer and GS11-MT have been configured in the same network. Double click the icon to run the SST-EMT-CFG and its main window will appear:...
  • Page 31: Search Equipment

    Followings are the two ways. 8.2.1 Search All Equipment of Ethernet Click “Search Equipment” button in the main window, the software will search all of the available GS11-MT equipment and list them in the table on the right side.
  • Page 32: Ip Search

    8.2.2 IP Search Click “IP Search” button in the main window, and there will be popping up a dialog box: www.sstcomm.com...
  • Page 33: Advanced Configuration

    After entering the wanted IP address, click OK, the software will search GS11-MT with the named IP address in the network, and list the information of the equipment in the table. Note: If you have selected “IP Search”, correct IP address is needed; otherwise, it will search for nothing.
  • Page 34 Click “Advanced Configuration” button, a password dialog box will pop up if the equipment has been set up with a password; The Advanced Configuration window will appear when your entering password is correct. Note: If the module has a user password, column "Password" of the table will show "Required", otherwise, it will show "None"...
  • Page 35: Ethernet Parameters

    8.3.1 Ethernet Parameters Ethernet parameters include: “Name”, “IP Configuration Mode”, “IP Address”, “Subnet Mask”, “Default Gateway”, “DNS1”, and “DNS2”. Name——Enter a name to identify the GS11-MT module; IP Configuration Mode——Set the device's IP address configuration mode; IP Address——Set the device's IP address;...
  • Page 36: Password

    8.3.2 Password You can set up user password and admin password in this part. After entering the password, you need to confirm it, otherwise, there will display an alert box: www.sstcomm.com...
  • Page 37: Ip Address Report

    8.3.3 IP Address Report Select check box before the “Enable” , the parameters can be configured: Auto Report To ----- Set the remote Auto IP report server’s IP address and UDP port; Auto Report Period ----- The time interval between two IP report messages www.sstcomm.com...
  • Page 38: Advanced Parameter

    Setting the IP address via software SST-EMT-CFG Setting the IP address via the host interface (UART) Note: When choosing "Setting the IP address via the host interface", GS11-MT will not initialize it's Ethernet until "Transmit the setting IP address message" is correct. Work Mode: There are two kinds of work modes: “Modbus RTU”...
  • Page 39: Configuration

    Delay between Polls-----The minimum time between receiving response completely from the UART and sending the next request, and the range is 0ms~60000ms. In “SST Automation-defined protocol” mode, you need to set “Input Data Bytes”, “Output Data Bytes” and “Unit ID”.
  • Page 40: Ethernet Parameters

    If the equipment has no password setting, you can directly enter the configuration window: 8.4.1 Ethernet Parameters Ethernet parameters include: “IP Configuration Mode”, “IP Address”, “Subnet Mask”, “Default Gateway”, “DNS1”, and “DNS2”. IP Configuration Mode——Set the device's IP address configuration mode; IP Address——Set the device's IP address;...
  • Page 41: Password

    Default Gateway——Set the default gateway address of the device; DNS1——0.0.0.0 (currently only support 0.0.0.0) DNS2——0.0.0.0 (currently only support 0.0.0.0) 8.4.2 Password You can set up user password in this part. After entering the password, you need to confirm it, otherwise, there will display an alert box: www.sstcomm.com...
  • Page 42: Ip Address Report

    8.4.3 IP Address Report Select the check box before the “Enable”, the parameters can be configured: Auto Report To ----- Set the remote Auto IP report server’s IP address and UDP port; Auto Report Period ----- The time interval between two IP report messages www.sstcomm.com...
  • Page 43: Ok, Cancel And Help

    8.5 OK, Cancel and Help 8.5.1 OK After configuring parameters, you can click “OK” button to write the configuration into the GS11-MT module. Save——Save the configuration as “.inf” format file to local disk; Download——Download the configuration to the GS11-MT module;...
  • Page 44: Cancel

    Save and Download——Save to the local disk and download to the GS11-MT module. 8.5.2 Cancel Click yes to save the configuration to the local disk. 8.5.3 Help Open the software manual. www.sstcomm.com...
  • Page 45: Ip Address Report

    8.6 IP Address Report When GS11-MT is used in a dynamic IP environment, users will spend more time with IP management tasks. GS11-MT Series products help out by periodically reporting their IP address to the SST-EMT-CFG software, in case the dynamic IP has changed.
  • Page 46: Ip Address Report

    8.6.2 IP Address Report Configure the Local Listen Port to same as the port of "Auto Report To" setting, and then click “begin” 8.7 New Click “New” and select a configuration mode: www.sstcomm.com...
  • Page 47 Enter the new configuration interface. All of the data is set up with factory defaults. www.sstcomm.com...
  • Page 48: Open

    Click “Save” and select a kind of configuration to save the parameters of the equipment as ".inf" format on your local disk. A password dialog box will pop up if the GS11-MT has been set up with a password; you can enter the save window when the password entered is correct:...
  • Page 49 If the GS11-MT has no password setting, you can directly enter the save window: www.sstcomm.com...
  • Page 50: Test Software (Eemtest)

    GS11-EI. The software function is to test the data transceiver of GS11-EI and GS11-MT. The manual introduces the method of testing GS11-MT. You can obtain the method of testing GS11-EI in GS11-EI user manual. EemTest can exchange data with GS11-MT via Development Board (refer to chapter 6).
  • Page 51: Establish/Disconnect Connection

    Note: In the software, all the gray parts cannot be changed. Data Receiving section: To display the data received. Parameters Configuration section: To configure the parameters. Data Transmitting section: To display the data need to be sent. Work mode: The first combo box in Parameters Configuration session is to set work mode. Use UART setting mode: when you choose it, “IP configuration mode”, “IP address”, “Subnet mask”, “Gateway address”...
  • Page 52 “Port” is the serial port being used; “Baudrate” is current serial port baud rate set by DIP switches. After configuring parameters, click “Initialize” to establish the connection and initialize hardware configuration. When choosing “Use UART setting mode”, click “Initialize” to send initial messages and enter the running status.
  • Page 53 If the connection is failed, there will pop up an alert dialog, and the options in the Parameters Configuration section will not be grayed. www.sstcomm.com...
  • Page 54: Set Work Mode

    The first combo box in the Parameters Configuration session is to set work mode, and currently it supports two kinds of woke modes: Modbus TCP work mode and SST Automation-defined protocol work mode. The interface and use method are different in different work mode.
  • Page 55 SST Automation-defined protocol work mode: test software is the communication initiator, and the module responses. The interface is as follows: www.sstcomm.com...
  • Page 56: Receive/Transmit Data

    Modbus protocol and displays them. Testing software currently only supports 03H and 10H function codes (GS11-MT supports all the Modbus function codes, and supports the maximum data length allowed by the protocol.), and 8 registers, and the start address of the register is 0(40001), users only need to modify the relevant data in the data transmitting section.
  • Page 57 Note: RX is the data received, TX is the data transmitted. SST Automation-defined protocol work mode: Data transmitting: After establishing the connection successfully, you can click “Transmit” to transmit data written in the data transmitting section. The format must be correct, and there is a space in each two bytes (HEX), and the data length must be the same with “Input data bytes”.
  • Page 58 www.sstcomm.com...

Table of Contents