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
Catalog
1 About the Embedded Module.................................................................................................................................... 4
1.1 General............................................................................................................................................................4
1.2 Features........................................................................................................................................................... 4
1.3 Specifications..................................................................................................................................................4
2 Hardware....................................................................................................................................................................6
2.1 Appearance......................................................................................................................................................6
2.2 Indicators.........................................................................................................................................................6
2.3 Interface.......................................................................................................................................................... 7
2.3.1 Ethernet Interface.................................................................................................................................7
2.3.2 Host Interface.......................................................................................................................................7
2.4 UART Baud Rate............................................................................................................................................8
2.5 Reset Signal.................................................................................................................................................... 9
3 Modbus TCP to Modbus RTU.................................................................................................................................10
3.1 Description....................................................................................................................................................10
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.................................................................................................... 18
4.5 SST Automation-defined Protocol................................................................................................................20
5 IP Address Report.................................................................................................................................................... 23
6 Dimension................................................................................................................................................................25
7 Development Board................................................................................................................................................. 27
7.1 Appearance....................................................................................................................................................27
7.2 Function........................................................................................................................................................ 27
7.2.1 RS232 Interface................................................................................................................................. 27
7.2.2 Baudrate Setting Switch.................................................................................................................... 28
7.2.3 Reset Key...........................................................................................................................................29
7.2.4 LED....................................................................................................................................................29
8 Configuration Software............................................................................................................................................30
8.1 Overview.......................................................................................................................................................30
8.2 Search Equipment.........................................................................................................................................31
8.2.1 Search All Equipment of Ethernet..................................................................................................... 31
8.2.2 IP Search............................................................................................................................................ 32
8.3 Advanced Configuration...............................................................................................................................33
8.3.1 Ethernet Parameters...........................................................................................................................35
8.3.2 Password............................................................................................................................................ 36
8.3.3 IP Address Report..............................................................................................................................37
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..............................................................................................................................46
8.7 New...............................................................................................................................................................46
8.8 Open..............................................................................................................................................................48
8.9 Save...............................................................................................................................................................48
9 Test Software (EemTest)......................................................................................................................................... 50
9.1 Overview.......................................................................................................................................................50
9.2 User Interface................................................................................................................................................50
9.3 Establish/Disconnect Connection................................................................................................................. 51
9.4 Set Work Mode............................................................................................................................................. 54
9.5 Receive/Transmit Data................................................................................................................................. 56
Page 4
1 About the Embedded Module
Upgrade your UART or serial device to Modbus TCP device expediently.
Provide two kinds of operating modes.
Ethernet is 10/100M adaptive.
Supports 4 Modbus TCP connects at most.
Can cache 20 Modbus TCP request messages at most in Modbus TCP to Modbus TRU mode.
Configuration software SST-EMT-CFG.
Setting the IP address via the UART( Optional Features), refer to chapter 7.
Modbus TCP to Modbus RTU mode:
Modbus TCP to SST Automation-defined protocol mode:
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.
1.2 Features
Modbus TCP to Modbus RTU: transparent mode.
Modbus TCP to SST Automation-defined protocol: data mapping mode.
1.3 Specifications
Can cache 20 request messages at most;
When the request messages buffer overflows, it can discard the current request.
Support function codes: 04H、 03H、 06H、 10H.
The size of input and output buffers can be set by users:
The size of input buffer is 256 bytes at most;
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,
Power: +3.3VDC (3.14 ~ 3.45V), 182mA.
Environmental temperature: -40 ~ 85℃ , humidity: 5% ~ 90%.
Dimension (W*H*D): 0.88 in*0.95 in*1.46 in (22.6mm*24.2mm*37.2mm).
38400, 57600, 115200, 230400 baud rate.
Page 6
2 Hardware
No network data transmitting or receiving
Have network data transmitting or receiving
Network connecting
indicator
Network activity
indicator
2.1 Appearance
2.2 Indicators
Page 7
2.3 Interface
2.3.1 Ethernet Interface
The Ethernet interface uses an 8-line RJ-45 interface, and the pin definitions are as follows:
2.3.2 Host Interface
and definition are as follows:
GS11-MT has a 20-pin socket connector (needle-type), including power, UART and GPIO. The pin position
Page 8
UART Receive (Input), connect with TXD of host processor or MCU
UART Transmit (Output), connect with RXD of host processor or MCU
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.
If this pin is pull down to low voltage before starting the module(by using a 1K
pull-down resistor), the module will start with default IP address (192.168.0.11), and
this mode is used to update the firmware of GS11-MT.
Set the UART baud rate (Input), see the following table.
Reset signal (Input), Active low.
Data Exchange (Output), and need a 10K pull-up resistor on the user board.
Logic 1: The module is in non-data exchange state (such as start state, waiting for
initialization state that waits users to send messages to initialize, start the TCP
protocol stack, etc.)
Logic 0: The module is ready for data exchange.
2.4 UART Baud Rate
UART baud rate settings are as follows:
Page 9
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). If the two pins are Logic 0, then the host can exchange data.
Page 10
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. RTU response messages receiving from the serial port are converted
to Modbus TCP response messages and are transmitted to corresponding Modbus TCP master.
The procedure of message transmission is as follows:
the request buffer which can cache 20 frames.
Every Modbus TCP can connect multiple requests at the same time in this mode, and all connections share
Page 11
3.2 The Flowchart of User Program
Page 12
3.3 Real-time monitoring IP function
1. Request message--- (user board->module)
Modbus TCP to Modbus RTU Mode
message length is 17 which includes all following bytes except the check sum byte and the length
byte , high-byte first
IP Configuration Mode, 0: Static Configuration; 1: DHCP
IP Address, high-byte first
Subnet Mask, high-byte first
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. User needs to read / DataExch pin state. If it re-becomes logic 0, indicating that
the module has obtained IP, and the module can begin to communicate; 2.Using UART setting IP address mode:
GS11-MT will wait the user to send the setting IP address message, and the next step is the same with the first
initialization.
3.4 Transmit the Setting IP Address Message
When using UART to set the module IP address, user board (host) need to send initialize commands to
GS11-MT.
GS11-MT reads these pins BAUD0, BAUD1 and BAUD2 that select The UART baud rate when it power on
or reset.
Page 13
Default Gateway Address, high-byte first
Check sum, byte 0+byte 1+…+byte 18
2. Response message--- (module->user board)
Check sum, byte 0+byte 1+byte 2
Check sum, byte 0+byte 1+byte 2
23IP configuration mode does not exist.
4. Extra error code is always 0xFF.
3. Error code
the following two conditions: 1. The module is set to DHCP; 2. In the above request message table, the Byte 2 is
set to 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:
GS11-MT also has sending IP address reporting function (via UART).To enable the function, you must meet
Page 14
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. The length does not include length of checksum. The each next four bytes are IP
address, subnet mask, and gateway address. Last byte is checksum.
Page 15
4 Modbus TCP to SST Automation-defined
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.
The procedure of message transmission is as follows:
In this mode, Modbus TCP only supports 03H、 04H、 06H、 10H function codes.
Note: In this mode, each Modbus TCP client just transmits one request message, and do not transmits another
request message until the Modbus TCP client receives the response or the response timeout.
The corresponding relationship of data buffer and function codes is as follows:
Page 16
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
4.2 The Flowchart of User Program
Page 18
4.3 Real-time monitoring IP function
Modbus TCP to SST Automation-defined Protocol
Data length is17 which includes all following bytes except the check sum byte and the length byte,
high-byte first
Always 0, except in one case which refer to chapter 4.3
IP Configuration Mode, 0: Static Configuration; 1: DHCP
IP Address, high-byte first
Subnet Mask, high-byte first
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. User needs to read / DataExch pin state. If it re-becomes logic 0, indicating that
the module has obtained IP, and the module can begin to communicate; 2.Using UART setting IP address mode:
GS11-MT will wait the user to send the setting IP address message, and the next step is the same with the first
initialization.
4.4 Transmit the Setting IP Address Message
When using UART to set the module IP address, user board (host) is the communication initiator, and
GS11-MT responses. The module waits until it receives the setting IP address message.
GS11-MT reads these pins BAUD0, BAUD1 and BAUD2 that select The UART baud rate when it power on
or reset.
1. Request message--- (user board->module)
Page 19
Default Gateway Address, high-byte first
Check sum, byte 0+byte 1+…+byte 18
2. Response message--- (module->user board)
Check sum, byte 0+byte 1+byte 2
Check sum, byte 0+byte 1+byte 2
23IP configuration mode does not exist.
3. Error code
4. Extra error code is always 0xFF
GS11-MT also has sending IP address reporting function (via UART).To enable the function, you must meet
the following two conditions: 1. The module is set to DHCP; 2. In the above request message table, the Byte 2 is
set to 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:
IP Address Report
Page 20
message length is 12 which includes all following bytes except the check sum byte and the length
byte , high-byte first
IP Address,highAddress, 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. The length does not include length of checksum. The each next four bytes are IP
address, subnet mask, and gateway address. 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
1. Request message (user board -> module)
message length includes all following bytes except the check sum byte , high-byte first
Input data, high-byte first
Check sum, byte 0+byte 1+…+byte n
2. Response message of SST Automation-defined protocol (module -> user board)
message length includes all following bytes except the
check sum byte , high-byte first
Output data, high-byte first
Check sum, byte 0+byte
1+byte 2+byte3
Check sum, byte 0+byte 1+…+byte n
Page 22
4. Extra error code is always 0xFF.
Page 23
5 IP Address Report
Product model, Example:“GS11-MT”
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.
NOTE: The terminal must be GS11-MT's IP address in the same network segment!
Fill in “Auto Report Period”. Download to GS11-MT and restart to use the function.
The following table is the packet format of IP Address Report.
Page 24
Firmware Major Version Number
Firmware Minor Version Number
Page 25
6 Dimension
Unit: [mm]
Front:
Page 26
Side:
PCB dimension:
Page 27
7 Development Board
Connect with pin TX of RS232 of PC
Connect with pin RX of RS232 of PC
Connect with pin GND of RS232 of PC
RX
Development
board
TX
RS232 interface
RX
PC
TX
RS232 interface
GND
23523
7.1 Appearance
7.2 Function
7.2.1 RS232 Interface
RS232 interface is DB9 pin-connector, the description show as follow:
DB9 hole-connector crossover cable must be used when connect the board with RS232 interface of PC:
Page 28
7.2.2 Baudrate Setting Switch
Low Middle High Default IP
bit bit bit address locking
Corresponding baud rate (bps)
The 4-bit DIP switch on the development board is used to set the serial (UART) baud rate and default IP
address locking:
Corresponding relationship of baud rate is as follows:
The baud rate showing in the picture is 115200bps.
The fourth bit of DIP is “Default IP address locking” bit. When the bit is “ON”, the module starts the
embedded Web Server with default IP configurations, which can be open with IE browser on the PC to restore
default configurations or to update the firmware. However it can’t exchange data between the host and Modbus
TCP. The default IP configurations are as follows:
IP address: 192.168.0.11
Subnet mask: 255.255.255.0
Page 29
Default gateway: 192.168.0.1
Power indicator,
On: Power on;
Off: Power off
GS11-MT’UART transmits indicator;
Blinking: GS11-MT’UART is transmitting data;
Off: GS11-MT’UART isn't transmitting data.
GS11-MT’UART receives indicator.
Blinking: GS11-MT’UART is receiving data;
Off: GS11-MT’UART isn't receiving data.
GS11-MT status indicator,
On: In run status;
Off: In start-up status.
GS11-MT data-interchange indicator,
On: In data-exchange status;
Off: Not in data-exchange status.
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:
Page 30
8 Configuration Software
Put the product CD into the computer CD drive, open the CD, and install the configuration software
SST-EMT-CFG . Follow the prompts to complete the installation. Then open the configuration software and finish
the configuration of GS11-MT.
System Requirements:
· PC with 1 GHz processor or higher
· Windows® XP/Windows® 7
· Free disk space: min. 130 M Byte
· CD ROM drive
· RAM: min. 256 M Byte, recommended 512 M Byte
· Keyboard and Mouse
Note:
The manufacturer default settings of GS11-MT are 192.168.0.11, subnet mask is 255.255.255.0, and default
gateway is 192.168.0.1.
8.1 Overview
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
8.2 Search Equipment
Before parameters configuration of GS11-MT, you need to search the equipment. The software provides two
ways to search the 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
8.2.2 IP Search
Click “IP Search” button in the main window, and there will be popping up a dialog box:
Page 33
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.
8.3 Advanced Configuration
Select one equipment in the right table, then “Configuration”, “Advanced Configuration” and “Save” buttons
will become available:
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" even if the module has an administrator password.
If the equipment has no password setting, you can directly enter the Advance Configuration window:
Page 35
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;
Subnet Mask——Set the subnet mask of the device;
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)
Note:
The name’s max length is 20 characters and cannot have spaces.
Page 36
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:
Page 37
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
Page 38
8.3.4 Advanced Parameter
How to set the module's IP address
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” and “SST Automation-defined protocol”.
In “Modbus RTU” mode, you need to set “Response Timeout” and “Delay between Polls”.
Page 39
Response Timeout-----The maximum time between the beginning of sending requests by the UART and
receiving response completely, and the range is 10ms~60000ms.
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”.
Input Data Bytes, Output Data Bytes----- Set input buffer’s size and output data buffer’s size, and each data
buffer's range is 0 bytes~256bytes.
Unit ID-----The device address of Modbus TCP slave, and it could be ignored.
8.4 Configuration
Click “Configuration” button, or double click the selected item in the right table, a password dialog box will
pop up if the equipment has been set up with a password; The Configuration window will appear when your
entering password is correct.
Page 40
If the equipment has no password setting, you can directly enter the configuration window:
8.4.1 Ethernet Parameters
“DNS1”, and “DNS2”.
Ethernet parameters include: “IP Configuration Mode”, “IP Address”, “Subnet Mask”, “Default Gateway”,
IP Configuration Mode——Set the device's IP address configuration mode;
IP Address——Set the device's IP address;
Subnet Mask——Set the subnet mask of the device;
Page 41
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:
Page 42
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
Page 43
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
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.
Page 45
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.
8.6.1 Parameter configuration
Fill the "Auto Report To" with the current computer IP address and port;
Fill the "Auto Report Period" with the integer between 1 and 7200.
Page 46
8.6.2 IP Address Report
Configure the Local Listen Port to be same as the port of "Auto Report To" setting, and then click “begin”
8.7 New
Click “New” and select a configuration mode:
Page 47
Enter the new configuration interface. All of the data is set up with factory defaults.
Page 48
8.8 Open
8.9 Save
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:
Page 50
9 Test Software (EemTest)
9.1 Overview
EemTest based on Windows platforms is a software used to test embedded Ethernet module GS11-MT and
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).
You need to use the software with GS11-MT development board. We are very sorry that the testing software
may have bugs!
Double click the icon to enter the main Window:
9.2 User Interface
section and some functional button.
The main interface includes: Parameters Configuration section, Data Receiving section, Data Transmitting
Page 51
Note: In the software, all the gray parts cannot be changed.
Data Receiving section: To
display the data received.
Data Transmitting section: To
display the data need to be sent.
Parameters Configuration section: To
configure the parameters.
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” can be changed. When you choose “UART setting mode” in embedded configuration interface,
you must choose the mode here.
IP configuration mode: Static configuration mode, DHCP, and BOOTP can be selected.
If you don’t choose one, “IP configuration mode”, “IP address”, “Subnet mask”, “Gateway address” cannot
be changed, and you can configure IP address and so on through configuration software SST-EMT-CFG.
Input-data bytes, Output-data bytes: The value must be same with the input and output data bytes of Modbus
TCP set in the embedded configuration interface.
9.3 Establish/Disconnect Connection
Data in the Parameters Configuration section has default value, and you can input the value you need and
click “Run”. There will pop up a dialog box to configure serial port:
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.
If “Use UART setting mode” is not chosen, click “Initialize” and enter the running status directly.
If the connection is established successfully, all the options in the Parameters Configuration section will be
grayed, “Run” button will change to “Stop” and “Transmit” button will change to be usable.
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.
Page 54
After establishing connection successfully, you can click “Stop” to disconnect the connection. The gray
options will be usable after disconnecting, “Stop” button will change to “Run”, and “Transmit” button will
change to be unusable.
9.4 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.
Modbus RTU work mode: Test software is Modbus RTU slave, and responses. The interface is as follows:
Page 55
SST Automation-defined protocol work mode: test software is the communication initiator, and the module
responses. The interface is as follows:
Page 56
9.5 Receive/Transmit Data
Modbus RTU work mode:
Receive data: After establishing connection successfully, data receiving section will display the receiving
data without other operations.
according to 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.
Transmit data: After establishing connection successfully, software receives data, and transmits data
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”.
Data receiving: After establishing the connection successfully, you will receive the data transmitted from the
module, and display the data in the data receiving section.
Cyclical: If you want to transmit data cyclically, you need to check “Cyclical”, and click “Transmit” button;
if you want to stop transmitting data cyclically, you only need to uncheck “Cyclical”.
Note : The format of the data transmitted must be correct, or you can not transmit them.
Page 58