Hi Nicolai,
Can you help me to figureout the mobus slave?
1 reload buster image.
2 ssh into the device and set a. piCore, serial and mac address
3. piserial and saw the corect password on the sticker
4. log into Pitory and set the Mbus slave "enable"
5. Added the IO module. And got goot result from piTest -d.
6. asserted 24 VDC to input 1. read from DIO module using "piTest -r I_1 =1" is expected
7. Removed @24 VDC from I_1. Read from DIO module using piTest -r I_1 = 0" is expected
8. asserted 24 VDC to input 1. read from DIO module using "piTest -r I_1 =1" is expected
9. Read from modbus slave by using "piTest -r Input_1 = 0" not correct.
10 using mobus simulation and got the same result.
mobus slave
- Attachments
-
- Capture.PNG (193.21 KiB) Viewed 4808 times
How did you test the modbus slave?
Nicolai
Nicolai
I used QModMaster software. Do i need to write a program to transfer data from DIO to modbus slave? I was thinking using node read but how do i add the flow when system boot up?
Thank you for all you helps
Chi
Thank you for all you helps
Chi
- Attachments
-
- Capture.PNG (26.91 KiB) Viewed 4749 times
If you want to copy the DIO's input values to the Modbus slave you will need to write a small programm which does the work. All configured modules are independant from each other and there do not know the values of their neighbors.
Nicolai
Nicolai
Hi,
I have the same problem. I would like to see my inputs from the DIO module (for example as Counter_1) in QModMaster.
Does a program for this already exist? What do I need? I don't know where to start except that I probably need Python.
PiCtory: Jube
I have the same problem. I would like to see my inputs from the DIO module (for example as Counter_1) in QModMaster.
Does a program for this already exist? What do I need? I don't know where to start except that I probably need Python.
PiCtory: Jube
I put together a small example, which should give you an idea for your own application: https://gist.github.com/nbuchwitz/ba652 ... bd39b38015
For more details about how to work with revpimodio please have a look at the documentation, especially the examples: https://revpimodio.org/en/homepage/
Nicolai
For more details about how to work with revpimodio please have a look at the documentation, especially the examples: https://revpimodio.org/en/homepage/
Nicolai
Hi, just to round this up by the things untold yet - have a look at this wonderful RevolutionPi Gateway Tutorial
and the old-fashioned Python script to do a factory reset via SSH - without support https://revolutionpi.de/forum/viewtopic ... .ssh#p7476
and the old-fashioned Python script to do a factory reset via SSH - without support https://revolutionpi.de/forum/viewtopic ... .ssh#p7476
Thanks! Everything is working as intended.