Hi,
I am using RevPi Connect to read RTU slave vibartion meter. I followed the tutorial as described on: https://revolutionpi.de/forum/viewtopic.php?t=935
Additionally, I also followed the tutorial from Youtube: https://www.youtube.com/watch?v=kCodHu6b3XM&t=330s.
I am getting slave vibration values as 0 in the putty terminal
For your information: I am using Industrial Vibration Sensor QM30VT2 as slave.
Configuration done on the Revi Pi which is a RTU Master:
1. device path settings: /dev/ttyRS485 , parity = none
2.Extended data settings:
slave address = 1, function code = holding register,register addr = 40043, Quantity of Registers = 1, Action Interval = 1000, Device value =Input_word_1
3. Save as: start-config > Reset Driver.
Output:
Vibration values = 0 always
RTU Master does not work
-
- Posts: 2
- Joined: 15 Sep 2021, 14:00
- Attachments
-
- Output.PNG (46.87 KiB) Viewed 2842 times
-
- IMG_20210920_165048345.jpg (667.26 KiB) Viewed 2842 times
Hi @all,
Prathyuahsa and I had a conversation about our Kunbus support ticket system.
Long story short.
If you have problems with a Modbus slave, then keep this in mind
How to Use RevPi Connect as Modbus RTU Master
Regards
Johannes
Prathyuahsa and I had a conversation about our Kunbus support ticket system.
Long story short.
If you have problems with a Modbus slave, then keep this in mind
and have a look here:In our products, we use 1 as the first register address. Some manufacturers use 0 as the first register address for their products.
Check how the addressing is specified for your slave. If the slave you want to use uses 0 as the first register address, you must add 1 to the specified value during configuration.example: In the documentation for the slave, there is a register address 30053. According to the documentation, the addresses start at 0. You therefore use the address 30054 for this register when configuring a Modbus command.
How to Use RevPi Connect as Modbus RTU Master
Regards
Johannes