sensors, actuators and modbus-rtu
Posted: 10 Mar 2017, 03:38
Hi
I need to build a relatively simple setup consisting of 4 pneumatic actuators, 4 pairs of magnetic sensors and 3 stepper motors with drivers controlled by rs-485/modbus-rtu. I'd like to try Revolution-Pi for this project and I have a couple of questions:
1. From what I understand I will need the following modules: RevPi Core, RevPi DIO and RevPi Gate Modbus RTU Slave. Can you please confirm this is all I need to handle the abovementioned devices?
2. RevPi Gate Modbus RTU Slave: what does slave mean in this context? Is this in a sense that this is a slave to RevPi Core? I'm using OrientalMotor steppers/drivers and these drivers are basically modbus-rtu slaves, will the RevPi Modbus RTU module work with these?
3. Is there a sample (C/C++/python/whatever) code that shows how to communicate over RevPi Gate Modbus RTU? Does it appear as a serial device when connected to RevPi Core? If not, how can I communicate with it? Basically I need to figure out how to work with the stepper drivers.
4. Does the RevPi DIO module come with pairing connectors? Can you please let me know the type or part number of these connectors?
Thank you.
I need to build a relatively simple setup consisting of 4 pneumatic actuators, 4 pairs of magnetic sensors and 3 stepper motors with drivers controlled by rs-485/modbus-rtu. I'd like to try Revolution-Pi for this project and I have a couple of questions:
1. From what I understand I will need the following modules: RevPi Core, RevPi DIO and RevPi Gate Modbus RTU Slave. Can you please confirm this is all I need to handle the abovementioned devices?
2. RevPi Gate Modbus RTU Slave: what does slave mean in this context? Is this in a sense that this is a slave to RevPi Core? I'm using OrientalMotor steppers/drivers and these drivers are basically modbus-rtu slaves, will the RevPi Modbus RTU module work with these?
3. Is there a sample (C/C++/python/whatever) code that shows how to communicate over RevPi Gate Modbus RTU? Does it appear as a serial device when connected to RevPi Core? If not, how can I communicate with it? Basically I need to figure out how to work with the stepper drivers.
4. Does the RevPi DIO module come with pairing connectors? Can you please let me know the type or part number of these connectors?
Thank you.