data transmission based on ModBus Protocol

Status
Not open for further replies.

AliBahar

Member level 2
Joined
Feb 4, 2015
Messages
42
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
337
Hi friends
I want to create function which performs data communication based on Modbus Protocol using C programming (ANSI C).
I ll appreciate for any useful proposals and guidances.
 

hello,

RTU or ASCII ?
Master or Slave (or both!) ?
RS232 or TCP/IP ?

some example on MikroE site..

i tested a Pic as master for an modbus 8 I/O +4EA slave interface.

Modicon PLC was (is ?) a reference for modbus application.
 
RTU or ASCII ?
Master or Slave (or both!) ?
RS232 or TCP/IP ?

you are right. I had to determine more specifications.
RTU, Master and Slave and rs232.
I want to create function which can be supportable with all micro-controllers and all C compilers.
 

I want to create function which can be supportable with all micro-controllers and all C compilers.
If "supportable" is aware of the need to write a platform specific wrapper for UART and particularly timer functions, this can work.

Did you already review the code links at modbus.org site? https://www.modbus.org/tech.php
 

Status
Not open for further replies.

Similar threads

Cookies are required to use this site. You must accept them to continue using the site. Learn more…