I DO NOT think you need to use RS485 for this. You could probably do a mesh with a Xbee as a coordinator on a PC, transmitting to all the MODBUS slaves,(leave all destination addresses as zero's and set the slave Xbees to routers), but have not tried it because I have an X4 I can now get my Analog and digital data from anywhere in the world, or open and close my roller doors, anything. I then use Mango M2M as my SCADA package. I also have this running over Xbee's through a Digi Connectport X4, which converts it to TCP. You should not have to change ANYTHING ELSE! I keep all the pins the same, that way when I upload this code onto ANY arduino, it works. I use the code posted below on ALL of them, all I change is the slave ID. I have seen a few posts lately on MODBUS so I thought I might post what I use with arduino.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |