Click here to Skip to main content
15,885,914 members
Articles / Programming Languages / XML
Tip/Trick

Modbus TCP class

Rate me:
Please Sign up or sign in to vote.
4.89/5 (84 votes)
23 May 2014CPOL 1.7M   60.4K   154   171
A Modbus TCP class.

The project has moved to GIT

https://github.com/stephan1827/modbusTCP

Please download and ask questions from there.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Systems Engineer
Germany Germany
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions

 
AnswerRe: Polling Specific Address Pin
Stephan Stricker17-Sep-15 3:04
Stephan Stricker17-Sep-15 3:04 
GeneralMy vote of 5 Pin
Bootking9-Jun-15 8:01
Bootking9-Jun-15 8:01 
QuestionNo Documentation Pin
Member 1102212224-Apr-15 2:21
Member 1102212224-Apr-15 2:21 
AnswerRe: No Documentation Pin
Stephan Stricker19-May-15 10:40
Stephan Stricker19-May-15 10:40 
QuestionModify project to make it continuous reading Pin
tonzurcode18-Apr-15 5:12
tonzurcode18-Apr-15 5:12 
AnswerRe: Modify project to make it continuous reading Pin
Stephan Stricker19-May-15 10:32
Stephan Stricker19-May-15 10:32 
QuestionVielen Danke fur die Programm! Pin
fullman20089-Apr-15 11:03
fullman20089-Apr-15 11:03 
QuestionVery good and very useful article...but unable to see data Pin
Jaywant.Kulkarni27-Feb-15 0:51
Jaywant.Kulkarni27-Feb-15 0:51 
QuestionReading registers Pin
Member 97548706-Nov-14 11:15
Member 97548706-Nov-14 11:15 
AnswerRe: Reading registers Pin
Garth J Lancaster6-Nov-14 16:21
professionalGarth J Lancaster6-Nov-14 16:21 
AnswerRe: Reading registers Pin
Member 975487017-Nov-14 7:42
Member 975487017-Nov-14 7:42 
Questionerror in connection after a period of time Pin
Member 104508328-Oct-14 20:26
Member 104508328-Oct-14 20:26 
QuestionRe: error in connection after a period of time Pin
Member 1194587016-Nov-15 21:12
Member 1194587016-Nov-15 21:12 
Suggestion5 Star project, thanks. Pin
zeytin7-Sep-14 6:01
zeytin7-Sep-14 6:01 
QuestionHow to communicate with many devices at the same time? Pin
Member 109289987-Aug-14 22:31
Member 109289987-Aug-14 22:31 
QuestionHow Can I give command to any hardware unit using modbus ??? Pin
Pdeveloper29-Jul-14 1:04
Pdeveloper29-Jul-14 1:04 
QuestionBug in CreateReadHeader code Pin
Member 861764024-Jun-14 11:38
Member 861764024-Jun-14 11:38 
QuestionAsync timeout ,byte swapping and a Modbus slave project Pin
Member 861764024-Jun-14 7:29
Member 861764024-Jun-14 7:29 
QuestionIssues with using this code in C++ project Pin
Mike Grove19-Jun-14 0:19
Mike Grove19-Jun-14 0:19 
QuestionMessage Transaction Id Pin
khalprin27-May-14 4:17
khalprin27-May-14 4:17 
BugHow to wait the end of ModBus readcoil function Pin
Rhyzko3-Apr-14 5:37
Rhyzko3-Apr-14 5:37 
GeneralRe: How to wait the end of ModBus readcoil function Pin
Stephan Stricker23-May-14 3:57
Stephan Stricker23-May-14 3:57 
QuestionModbus Slave application Pin
romasimeiz26-Feb-14 3:25
romasimeiz26-Feb-14 3:25 
AnswerRe: Modbus Slave application Pin
Stephan Stricker27-Feb-14 7:59
Stephan Stricker27-Feb-14 7:59 
GeneralRe: Modbus Slave application Pin
nasher21927-Jul-14 22:31
nasher21927-Jul-14 22:31 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.