SST Automation GS11-EI User Manual

Embedded EtherNet/IP Module
GS11-EI
User Manual
REV 1.3
SST Automation
E-mail: SUPPORT@SSTCOMM.COM
WWW.SSTCOMM.COM
Embedded EtherNet/IP Module
GS11-EI
Catalog
1. About the Module.................................................................................................................................................3
1.1 General............................................................................................................................................................3
1.2 Features...........................................................................................................................................................3
1.3 Specifications..................................................................................................................................................3
2. Hardware...............................................................................................................................................................5
2.1 Appearance..................................................................................................................................................... 5
2.2 Indicators........................................................................................................................................................ 5
2.3 Interface.......................................................................................................................................................... 5
2.3.1 Ethernet Interface................................................................................................................................ 5
2.3.2 Host Interface...................................................................................................................................... 6
2.4 UART Baud Rate............................................................................................................................................7
2.5 Reset Signal.................................................................................................................................................... 8
3. Communication Protocol......................................................................................................................................9
3.1 Description......................................................................................................................................................9
3.2 The GS11-EI Communication Flowchart and User Program........................................................................ 9
3.3 Real-time monitoring IP function.................................................................................................................10
3.4 Initialize Communication............................................................................................................................. 11
3.5 User-defind Protocol.....................................................................................................................................12
4. Dimension........................................................................................................................................................... 14
5. Development Board............................................................................................................................................16
5.1 Appearance................................................................................................................................................... 16
5.2 Function........................................................................................................................................................ 16
5.2.1 RS232 Interface.................................................................................................................................16
5.2.2 Baudrate Setting Switch....................................................................................................................17
5.2.3 Reset Key...........................................................................................................................................18
5.2.4 LED....................................................................................................................................................18
6. Configuration Software...................................................................................................................................... 19
6.1 SST-EIP-CFG Introduction..........................................................................................................................19
6.2 Search Equipment.........................................................................................................................................20
6.3 IP Search.......................................................................................................................................................20
6.4 Advanced Configuration.............................................................................................................................. 21
6.5 User Parameter Configuration......................................................................................................................26
7. Configuration Software(EemTest)..................................................................................................................... 30
7.1 Overview.......................................................................................................................................................30
7.2 User Interface................................................................................................................................................30
7.3 Establish/Disconnect Connection.................................................................................................................31
7.4 Receive/Transmit Data................................................................................................................................. 34
8. Precautions of Operation and Maintenance....................................................................................................... 36
Appendix: How to Read and Write I/O Data............................................................................................................. 37
1. Use I/O Method to Read and Write Data................................................................................................... 37
2. Use MSG Method to Read and Write Data................................................................................................42
1
Embedded EtherNet/IP Module
GS11-EI
Read I/O Data............................................................................................................................................. 42
Write I/O Data............................................................................................................................................ 46
2
Embedded EtherNet/IP Module
GS11-EI
1. About the Module
Upgrade your UART or serial device to EtherNet/IP device expediently
Ethernet is 10/100M adaptive
Supports EtherNet/IP Class 1 and Class 3 connections
Provide dedicated configuration software, User-friendly configuration.
Setting the IP address via the UART( Optional Features)
[1]. Support the EtherNet/IP communication protocol that follow ODVA standard.
[2]. GS11-EI provides one Ethernet port and one UART interface (included in the 20-pin connector), can realize
[3]. Ethernet is 10/100M adaptive
[4]. The size of input and output buffers can be set by users:
[5]. As an EtherNet / IP server on the Ethernet side, can support 1 EtherNet / IP client to communicate at the
[6]. The serial interface is UART, half duplex, 8 data bits, one stop bit, and no parity, and support 2400,

1.1 General

GS11-EI is an embedded EtherNet/IP module and provides instant EtherNet/IP connectivity via the host
interface which is SST defined. Any device that supports the host interface can communicate with GS11-EI
through UART.

1.2 Features

1.3 Specifications

the EtherNet / IP data and serial data conversion;
The size of input buffer is 256 bytes at most
The size of output buffer is 256 bytes at most
same time, the minimum data update rate is 5ms;
4800,9600, 19200, 38400, 57600, 115200, 230400 baud rate
3
Embedded EtherNet/IP Module
GS11-EI
[7]. Serial port use user-defind protocol, easy to realize serial port communication.
[8]. Power: +3.3VDC (3.14 ~ 3.45V), 190mA
[9]. Environmental temperature: -40 ~ 85, humidity: 5% ~ 90%
[10].Dimension (W*H*D): 0.88 in*0.95 in*1.46 in (22.6mm*24.2mm*37.2mm).
4
Embedded EtherNet/IP Module
GS11-EI
2. Hardware
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 receiving
Network activity
indicator
Network connecting
indicator
PIN8
PIN1

2.1 Appearance

2.2 Indicators

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:
5
Embedded EtherNet/IP Module
GS11-EI
Pins
Signals
Descriptions
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-
Bi-directional Data-

2.3.2 Host Interface

Pins
Signals
Description
1 ~ 6
NC
Reserved
7
RXD
UART Receive (Input), connect with TXD of host processor or MCU
8
TXD
UART Transmit (Output), connect with RXD of host processor or MCU
9
GPIO
Reserved
10
/RUN
The status of GS11-EI (Output), and need a 10K pull-up resistor on user board.
Logic 1: The GS11-EI module is in starting.
Logic 0: The module’s start has been completed. (Include waiting for initialization
state, start the EtherNet/IP protocol stack and data exchange state, etc.)
GS11-EI has a 20-pin socket connector (needle-type), including power, UART and GPIO. The pin position
and definition are as follows:
6
Embedded EtherNet/IP Module
GS11-EI
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 only used to update the firmware.
11
BAUD2
Set the UART baud rate (Input), see the following table.
12
BAUD1
13
BAUD0
14
/RESET
Reset signal (Input), Active low.
15
+3.3V
+3.3V DC power Supply
16
GND
GND power Supply
17 ~ 19
NC
Reserved
20
/DATAEXCH
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, start the EtherNet/IP protocol stack, etc.)
Logic 0: The module is ready for data exchange.

2.4 UART Baud Rate

Index
BAUD2
BAUD1
BAUD0
Baud Ratebps
00002400
10014800
20109600
301119200
410038400
510157600
6110115200
7111230400
UART baud rate settings are as follows:
7
Embedded EtherNet/IP Module
GS11-EI

2.5 Reset Signal

GS11-EI 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.
8
Embedded EtherNet/IP Module
GS11-EI

3. Communication Protocol

GS11-EI
user -defined
EtherNet/IP
Request1
Request2
Request
Request a
Request b
Request
Response1
Response2
Response
Response a
Response b
Response

3.1 Description

GS11-EI acts as an EtherNet/IP server at the Ethernet side, serial port use user-defind protocol. The EtherNet
/ IP communication and serial communication are completely independent, through the internal input and output
data buffer of GS11-EI to realize data exchange, according to the GS11-EI serial communication protocol, the user
board can complete the input and output data exchange.
The procedure of message transmission is as follows:
3.2 The GS11-EI Communication Flowchart and User Program
Here are the flowcharts of two kinds of IP configuration; users can choose one of them in accordance with
specific conditions. For the chooses of this two kinds, see also the Advanced Parameters section in chapter 6.4.
9
Embedded EtherNet/IP Module
GS11-EI

3.3 Real-time monitoring IP function

1. Using configuration software setting IP address mode: The module will obtain an IP again. User needs to
If the GS11-EI 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:
read / DataExch pin state. If it re-becomes logic 0, indicating that the module has obtained IP, and the module
10
Embedded EtherNet/IP Module
GS11-EI
can begin to communicate;
2. Using UART setting IP address mode: GS11-EI will wait the user to send the setting IP address message, and
1. Initialize request message--- (user board->module), When you choose to use the serial port (UART) to set the
Byte
EtherNet/IP to user-defind protocol
0
message length is 17 which includes all following bytes except the check sum byte and the length
byte , high-byte first
1
2
The default value is 0; when user set GS11-EI via UART that use DHCP to assign IP address, the value
of this byte is 1 *
3
IP Configuration Mode, 0: Static Configuration; 1: DHCP ;
4
IP Address, high-byte first
5
6
7
8
Subnet Mask, high-byte first
9
10
11
12
Default Gateway Address, high-byte first
13
14
15
16
Reserved, always 0
17
Reserved, always 0
18
Reserved, always 0
19
Check sum, byte 0+byte 1+…+byte 18
the next step is the same with the first initialization.

3.4 Initialize Communication

Communication mode: user board (host) is the communication initiator, and GS11-EI responses.
Configuration of baud rate: GS11-EI reads these pins BAUD0, BAUD1 and BAUD2 that select the UART
baud rate when it power on or reset.
IP address and other information, you can sent this initialization request message.
Remarks:
when user set GS11-EI module via UART that use DHCP to assign IP address, user board sends above
messagethe value of byte 2 should be 1
11
Embedded EtherNet/IP Module
GS11-EI
And then, when GS11-EI does not receive the IP address that assigned by DHCP Server on the network, it
2. Initialize response message--- (module->user board)
byte
Correct Response
Incorrect Response
0
Data length is 2
Data length is 2
1
0Correct
Error code (not 0)
2
0
Extra error code
3
Check sum, byte 0+byte 1+byte 2
Check sum, byte 0+byte 1+byte 2
3. Error code
Index
Error Code
Explanation
0
1
Check sum error.
1
2
Data length error.
23IP configuration mode does not exist.
4. Extra error code is always 0xFF
will send 0x2E to user board every 1second.
If and only if DHCP Server finished IP allocate, then GS11-EI will send a message that contained IP address,
subnet mask, and default gateway to user board.
For example: GS11-EI sends message to user board: 0C C0 A8 00 BB FF FF FF 00 C0 A8 00 01 95.
The 0x0C is the header and means there are 12 bytes behind, and followed by is a 4 bytes of IP address
(192.168.0.187), 4 bytes of subnet mask (255.255.255.0), 4 bytes The default gateway (192.168.0.1), the last byte
represents checksum.
when user set the GS11-EI module IP address via UART and does not use DHCP, user board sends above
message(the value of byte 2 should be 0), and then the module will send the following message to the user board.

3.5 User-defind Protocol

Communication mode: User board is the communication initiator, and GS11-EI responses.
The request messages contain input data, and the response messages contain output data. The communication
process is as follows:
12
Embedded EtherNet/IP Module
GS11-EI
1. Request message (user board -> module)
Byte
Description
0
message length includes all following bytes except the check sum byte , high-byte first
1
2
Input data, high-byte first
n
n+1
Check sum, byte 0+byte 1+…+byte n
2. Response message of user-defind protocol (module -> user board)
Byte
Correct response
Byte
Incorrect response
0
message length includes all following bytes except the
check sum byte , high-byte first
0
0x80
11Data length is2
2
Output data, high-byte first
2
Error code
…3Extra error code
n
4
Check sum, byte 0+byte 1+byte
2+byte3
n+1
Check sum, byte 0+byte 1+…+byte n
3. Error code
Index
Error code
Description
0
1
和校验错误
1
2
数据长度错误
4. Extra error code is always 0xFF.
13
Embedded EtherNet/IP Module
GS11-EI

4. Dimension

Unit: [mm]
Front:
14
Embedded EtherNet/IP Module
GS11-EI
Side:
PCB dimension:
15
Loading...
+ 35 hidden pages