Click here to Skip to main content
15,890,579 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: what language to open the source code Pin
Michael Fauchon30-Sep-10 2:26
Michael Fauchon30-Sep-10 2:26 
GeneralError: Slave Time out Pin
_raghu26-Jul-10 1:37
_raghu26-Jul-10 1:37 
GeneralProblem between "transaction identifier" and "Unit identifier" in Modbus header Pin
ld.dubost7-Jul-10 21:44
ld.dubost7-Jul-10 21:44 
Questionwhat's my problem? Pin
M.Afsar19-May-10 0:34
M.Afsar19-May-10 0:34 
GeneralJust want to say thanks and suggestion Pin
Michael Fauchon25-Mar-10 7:16
Michael Fauchon25-Mar-10 7:16 
Questionthe code no modbus node can modify? Pin
flair1236-Apr-09 20:19
flair1236-Apr-09 20:19 
Questionhow about excIllegalDataAdr ? Pin
JBetons17-Dec-08 0:22
JBetons17-Dec-08 0:22 
Generalabout this class Pin
scissorszwy23-Jul-08 18:09
scissorszwy23-Jul-08 18:09 
hello!

I have a question about this class!
we have an project,that we called it power system,it use an simens pac3200,so I was one of the programers who must test this pac3200 whether that support the modbus tcp protocal,all I say is to ask
you if I used this class,it could write the register,couldn't it? one of our programmers design one programm that he test it can read(his programming). your class is very good,since I saw this class,I was worried if "the code project" hadn't had.
I wish your answer
GeneralHaving trouble implementing this DLL. Pin
Travis Howse30-Sep-07 20:35
Travis Howse30-Sep-07 20:35 
Generalextension for Modbus RTU Pin
ntorrisi1-Mar-07 4:14
ntorrisi1-Mar-07 4:14 
GeneralRe: extension for Modbus RTU Pin
stephanstricker3-Mar-07 3:56
stephanstricker3-Mar-07 3:56 
GeneralRe: extension for Modbus RTU Pin
zouihed20-Jun-07 13:25
zouihed20-Jun-07 13:25 
GeneralRe: extension for Modbus RTU Pin
zouihed20-Jun-07 13:33
zouihed20-Jun-07 13:33 
GeneralRe: extension for Modbus RTU Pin
zouihed20-Jun-07 13:43
zouihed20-Jun-07 13:43 
QuestionModbus RTU and Modbus TCP protocols Pin
Nystedt16-Nov-06 5:39
Nystedt16-Nov-06 5:39 
AnswerRe: Modbus RTU and Modbus TCP protocols Pin
Hei-Tech17-Nov-06 3:22
Hei-Tech17-Nov-06 3:22 
AnswerRe: Modbus RTU and Modbus TCP protocols [modified] Pin
stephanstricker23-Nov-06 22:52
stephanstricker23-Nov-06 22:52 

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.