Click here to Skip to main content
15,868,141 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

 
GeneralRe: problem with writing to Siemens PLC holding register with MODBUS TCP Pin
Stephan Stricker3-Jan-13 4:12
Stephan Stricker3-Jan-13 4:12 
GeneralRe: problem with writing to Siemens PLC holding register with MODBUS TCP Pin
Member 94111612-Jan-13 12:16
Member 94111612-Jan-13 12:16 
AnswerRe: problem with writing to Siemens PLC holding register with MODBUS TCP Pin
Andrea Feduzzi14-May-13 6:12
professionalAndrea Feduzzi14-May-13 6:12 
QuestionCan't Write Coils Pin
KitaMenang22-Nov-12 3:08
KitaMenang22-Nov-12 3:08 
AnswerRe: Can't Write Coils Pin
Stephan Stricker22-Nov-12 3:17
Stephan Stricker22-Nov-12 3:17 
Questionconvert error Pin
tomasz25616-Nov-12 2:28
tomasz25616-Nov-12 2:28 
AnswerRe: convert error Pin
Stephan Stricker18-Nov-12 8:44
Stephan Stricker18-Nov-12 8:44 
QuestionCan't open with free ms tools Pin
chris wedgwood26-Oct-12 4:09
chris wedgwood26-Oct-12 4:09 
I am not familiar with the visual studio tools, but I expect to be able to figure it out.

However, I cannot open the solution with the free download Visual Studio Express (VB and C# installed)

Can someone please give me a step by step on how to get started. Frown | :(

Thanks.
AnswerRe: Can't open with free ms tools Pin
Stephan Stricker18-Nov-12 8:45
Stephan Stricker18-Nov-12 8:45 
GeneralRe: Can't open with free ms tools Pin
chris wedgwood18-Nov-12 23:11
chris wedgwood18-Nov-12 23:11 
QuestionUnable to Read, able to write Pin
alexamex16-Oct-12 6:38
alexamex16-Oct-12 6:38 
AnswerRe: Unable to Read, able to write Pin
Stephan Stricker16-Oct-12 7:15
Stephan Stricker16-Oct-12 7:15 
QuestionAny VB.Net synchronous mode examples available? Pin
Member 90645551-Jul-12 2:25
Member 90645551-Jul-12 2:25 
QuestionIt works Pin
globalpositioning14-May-12 6:06
globalpositioning14-May-12 6:06 
QuestionDisconnects and holding registers value displacement Pin
harizhent16-Mar-12 4:31
harizhent16-Mar-12 4:31 
AnswerRe: Disconnects and holding registers value displacement Pin
Stephan Stricker20-Mar-12 2:51
Stephan Stricker20-Mar-12 2:51 
GeneralMy vote of 5 Pin
Nikolay Ugorliev24-Feb-12 1:27
Nikolay Ugorliev24-Feb-12 1:27 
QuestionModbus says error: Illegal function! Pin
xeroxvrey6-Feb-12 5:57
xeroxvrey6-Feb-12 5:57 
AnswerRe: Modbus says error: Illegal function! Pin
Stephan Stricker6-Feb-12 6:07
Stephan Stricker6-Feb-12 6:07 
GeneralRe: Modbus says error: Illegal function! Pin
xeroxvrey6-Feb-12 10:27
xeroxvrey6-Feb-12 10:27 
QuestionModbus TCP Class not working Pin
Joseph Frippiat23-Jan-12 1:50
Joseph Frippiat23-Jan-12 1:50 
AnswerRe: Modbus TCP Class not working Pin
Stephan Stricker23-Jan-12 1:56
Stephan Stricker23-Jan-12 1:56 
GeneralRe: Modbus TCP Class not working Pin
Joseph Frippiat23-Jan-12 2:13
Joseph Frippiat23-Jan-12 2:13 
GeneralRe: Modbus TCP Class not working Pin
Joseph Frippiat23-Jan-12 22:24
Joseph Frippiat23-Jan-12 22:24 
QuestionCould you help me Pin
Dantty27-Dec-11 4:42
Dantty27-Dec-11 4:42 

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.