User Manual
Embedded EtherNet/IP Module
GS11-EI
12
And then, when GS11-EI does not receive the IP address that assigned by DHCP Server on the network, it
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.
2. Initialize response message--- (module->user board)
byte
Correct Response
Incorrect Response
0
Data length is 2
Data length is 2
1
0
:
Correct
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.
2
3
IP configuration mode does not exist.
4. Extra error code is always 0xFF
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: