Table of Contents 3
Copyright * Hilscher Gesellschaft für Systemautomation * Pi:ENOMB#3EN
1 INTRODUCTION.................................................................................................. 5
1.1 Overview..................................................................................................................................... 6
1.2 Restrictions ................................................................................................................................ 6
2 PARAMETERS FOR OPEN MODBUS/TCP........................................................ 7
2.1 Protocol Signification................................................................................................................ 7
2.2 Parameters for MODBUS Task ................................................................................................. 7
2.2.1 General ................................................................................................................................ 7
2.2.2 Using Device Driver Functions............................................................................................. 8
2.2.3 Direct Write Access to the Dual-Port Memory ..................................................................... 9
2.2.4 Description of the Protocol Parameters ............................................................................. 10
2.3 Parameters for IP Task ............................................................................................................ 11
2.3.1 General .............................................................................................................................. 11
2.3.2 Using Device Driver Functions........................................................................................... 12
2.3.3 Direct Write Access to the Dual-Port Memory ................................................................... 13
2.3.4 Description of the Protocol Parameters ............................................................................. 13
3 MESSAGE MODE.............................................................................................. 17
3.1 General...................................................................................................................................... 17
3.2 Message Structure................................................................................................................... 17
3.3 Client Mode (Message Oriented)............................................................................................ 19
3.3.1 General .............................................................................................................................. 19
3.3.2 Example............................................................................................................................. 19
3.4 Server Mode (Message Oriented)........................................................................................... 22
3.4.1 General .............................................................................................................................. 22
4 IO MODE............................................................................................................ 25
4.1 General...................................................................................................................................... 25
4.2 Reading and writing Data........................................................................................................ 26
5 PROTOCOL STATE .......................................................................................... 28
5.1 Using Device Driver Function.................................................................................................28
5.2 Direct Read Access in the dual port memory ....................................................................... 28
6 ERROR CODES ................................................................................................ 29
6.1 List of Error Numbers.............................................................................................................. 29
6.1.1 Initialization Error Codes .................................................................................................... 29
6.2 Troubleshooting for Error Codes........................................................................................... 31
7 MEANING OF THE LEDS.................................................................................. 32