The Godfather talking
This is god damn my place! Capisci?
Sonsivri
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
December 03, 2016, 10:52:20 22:52


Login with username, password and session length


Pages: [1]
Print
Author Topic: Modbus RTU over XBee network??  (Read 1747 times)
0 Members and 1 Guest are viewing this topic.
Some Anon Guy
Junior Member
**
Offline Offline

Posts: 38

Thank You
-Given: 45
-Receive: 15



« on: September 22, 2014, 06:58:58 18:58 »

I have the need to make a serial RS232 Modbus board wireless.
I was thinking of using XBee wireless modules.

Anyone ever done this with Modbus/RTU?

How did it work?

Also, in theory, this should allow me to then have multiple of these boards on the wireless network (The PLC does allow me to identify my ID# which serial device to communicate with)...
RS232 is a point to point, and if I can convert to XBee wireless, and get more boards on the same network, that would be great...

I have never built wireless into my designs, so please forgive any naivety... I am learning...
Logged
losloucos
Inactive

Offline Offline

Posts: 3

Thank You
-Given: 24
-Receive: 7


« Reply #1 on: November 28, 2014, 10:49:19 22:49 »

Yes, you can use Xbees modules as "transparent mode" where you can configure two or mode devices and simply put the data stream. The data will be replied on the other side. Or you can use the "api mode", but is necessary some micro controller in order to generate addressing.

This page have an example: http://www.netlabtoolkit.org/learning/tutorials/xbee/
Logged
xeontory
Newbie
*
Offline Offline

Posts: 23

Thank You
-Given: 9
-Receive: 32


« Reply #2 on: December 20, 2014, 09:27:55 21:27 »

You can directly implement Modbus RTU with Xbee modules in 2.4GHz, 900MHz, 868Mhz. Higher frequencies are more directive in nature and requires line of site operation to minimize packet loss.

I guess you will implement this in an industrial environment. If so, you should be concerned about the mesh network design : to configure appropriate number of routers, coordinator devices and the end devices. Consider their positioning on site with possible fixed and movable obstacles, canopies etc. Consider every building as Faraday Cage : http://www.thedailysheeple.com/wp-content/uploads/2014/08/faraday-cage.jpg

Is powering the nodes is an issue? If it is then you should calculate which units will have more radio traffic and ensure more power for them.

If you consider XBee-PRO 2.4GHz embedded RF modules from Digi International, then meshing will be automatically establish by their propitiatory DigiMesh protocol. Read more : http://www.digi.com/pdf/wp_zigbeevsdigimesh.pdf

Zigbee is one of the wonderful protocols to work with. As you are designing the product yourself, instead of using modules you can also implement it as a stack.
Logged
Pages: [1]
Print
Jump to:  


DISCLAIMER
WE DONT HOST ANY ILLEGAL FILES ON THE SERVER
USE CONTACT US TO REPORT ILLEGAL FILES
ADMINISTRATORS CANNOT BE HELD RESPONSIBLE FOR USERS POSTS AND LINKS

... Copyright 2003-2999 Sonsivri.to ...
Powered by SMF 1.1.18 | SMF © 2006-2009, Simple Machines LLC | HarzeM Dilber MC