Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

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
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

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top