background image

www.sstcomm.com

28

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:

1

2

3

4

ON

1

0

Low

Middle High Default IP

bit

bit

bit

address locking

Corresponding relationship of baud rate is as follows:

Index

High bit

Middle bit

Low bit

Corresponding baud rate (bps)

0

0

0

0

Reserve

1

0

0

1

Reserve

2

0

1

0

9600

3

0

1

1

19200

4

1

0

0

38400

5

1

0

1

57600

6

1

1

0

115200

7

1

1

1

230400

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

Summary of Contents for 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: ...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 Automat...

Page 3: ...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 Softw...

Page 4: ...Automation defined protocol data mapping mode 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 Con...

Page 5: ...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 Environmental temperature 40 85 humid...

Page 6: ...Indicator Status Description Green Off No network connection Always on Have network connection Yellow Off No network data transmitting or receiving Blinking Have network data transmitting or receivin...

Page 7: ...ptions Pin 1 TXD Transmit Data Pin 2 TXD Transmit Data Pin 3 RXD Receive Data Pin 4 BID Bi directional Data Pin 5 BID Bi directional Data Pin 6 RXD Receive Data Pin 7 BID Bi directional Data Pin 8 BID...

Page 8: ...r the module will start with default IP address 192 168 0 11 and this mode is used to update the firmware of GS11 MT 11 BAUD2 Set the UART baud rate Input see the following table 12 BAUD1 13 BAUD0 14...

Page 9: ...00 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 ho...

Page 10: ...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...

Page 11: ...www sstcomm com 11 3 2 The Flowchart of User Program...

Page 12: ...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 IPAddress Message When using UART to set the module IP address use...

Page 13: ...3 Error code Index Error Code Explanation 0 1 Check sum error 1 2 Data length error 2 3 IP configuration mode does not exist 4 Extra error code is always 0xFF GS11 MT also has sending IP address repor...

Page 14: ...rst 1 IP Address high byte first 2 3 4 5 Subnet Mask high byte first 6 7 8 9 Default Gateway Address high byte first 10 11 12 13 Check sum byte 0 byte 1 byte 12 Eg 0C C0 A8 00 BB FF FF FF 00 C0 A8 00...

Page 15: ...ding to the SST Automation defined protocol of GS11 MT The procedure of message transmission is as follows GS11 MT SST defined protocol Modbus TCP Request1 Request2 Request Request a Request b Request...

Page 16: ...nction Code 10H Function Code 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...

Page 17: ...www sstcomm com 17 4 2 The Flowchart of User Program...

Page 18: ...step is the same with the first initialization 4 4 Transmit the Setting IPAddress Message When using UART to set the module IP address user board host is the communication initiator and GS11 MT respon...

Page 19: ...ode Index Error Code Explanation 0 1 Check sum error 1 2 Data length error 2 3 IP configuration mode does not exist 4 Extra error code is always 0xFF GS11 MT also has sending IP address reporting func...

Page 20: ...10 11 12 13 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 ad...

Page 21: ...byte 0 byte 1 byte n 2 Response message of SST Automation defined protocol module user board Byte Correct response Byte Incorrect response 0 message length includes all following bytes except the che...

Page 22: ...www sstcomm com 22 Index Error code Description 0 1 Check sum error 1 2 Data length error 4 Extra error code is always 0xFF...

Page 23: ...ddress 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 segmen...

Page 24: ...www sstcomm com 24 8 Firmware Major Version Number Firmware Minor Version Number 9 MAC Address 10 MAC Address Always 0 11 IP Address 12 Subnet Mask 13 Gateway Address 14 Custom Name 15 16 17 18...

Page 25: ...www sstcomm com 25 6 Dimension Unit mm Front...

Page 26: ...www sstcomm com 26 Side PCB dimension...

Page 27: ...n show as follow Pin Signal Description 2 RX Connect with pin TX of RS232 of PC 3 TX Connect with pin RX of RS232 of PC 5 GND Connect with pin GND of RS232 of PC DB9 hole connector crossover cable mus...

Page 28: ...rve 1 0 0 1 Reserve 2 0 1 0 9600 3 0 1 1 19200 4 1 0 0 38400 5 1 0 1 57600 6 1 1 0 115200 7 1 1 1 230400 The baud rate showing in the picture is 115200bps The fourth bit of DIP is Default IP address l...

Page 29: ...wer Power indicator On Power on Off Power off 1 RTS Reserve 2 TX GS11 MT UART transmits indicator Blinking GS11 MT UART is transmitting data Off GS11 MT UART isn t transmitting data 3 RX GS11 MT UART...

Page 30: ...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...

Page 31: ...rch 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 softwar...

Page 32: ...www sstcomm com 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: ...s 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...

Page 34: ...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...

Page 35: ...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 defaul...

Page 36: ...www sstcomm com 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: ...ddress 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 bet...

Page 38: ...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 Th...

Page 39: ...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...

Page 40: ...ation 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 configur...

Page 41: ...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 n...

Page 42: ...ress 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 b...

Page 43: ...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...

Page 44: ...www sstcomm com 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: ...P 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 Aut...

Page 46: ...www sstcomm com 46 8 6 2 IPAddress 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: ...www sstcomm com 47 Enter the new configuration interface All of the data is set up with factory defaults...

Page 48: ...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 t...

Page 49: ...www sstcomm com 49 If the GS11 MT has no password setting you can directly enter the save window...

Page 50: ...ing 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 M...

Page 51: ...guration 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 valu...

Page 52: ...re 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 runnin...

Page 53: ...www sstcomm com 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: ...ton 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...

Page 55: ...www sstcomm com 55 SST Automation defined protocol work mode test software is the communication initiator and the module responses The interface is as follows...

Page 56: ...g connection successfully software receives data and transmits data according to Modbus protocol and displays them Testing software currently only supports 03H and 10H function codes GS11 MT supports...

Page 57: ...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 di...

Page 58: ...www sstcomm com 58...

Reviews: