Modbus RTU Master does not work

Topics about the Software of Revolution Pi
Post Reply
rezaabdullah
Posts: 2
Joined: 04 Oct 2018, 05:59
Answers: 0

Modbus RTU Master does not work

Post by rezaabdullah »

Hi,

I am using RevPi Connect to read RTU slave energy meter. I followed the tutorial as described on: https://revolution.kunbus.com/tutorials ... verwenden/
Additionally, I also followed the tutorial from Youtube. https://youtu.be/gaJ6-D4Vd6A
Unfortunately, I cannot initialize Modbus RTU Master.

Code: Select all

piTest -d
output given below:

Code: Select all

Found 1 devices:

Address: 0 module type: 105 (0x69) RevPi Connect V1.0
Module is present
     input offset: 0 length: 6
    output offset: 6 length: 5
I would really appreciate your help. Thank you.
Eduard
KUNBUS
Posts: 209
Joined: 18 Jun 2018, 16:16
Answers: 0

Re: Modbus RTU Master does not work

Post by Eduard »

Hi,
it looks like you didn't save the configuration in piCtory.
Have to save the configuration "Save as Start-Config." and "Reset Driver" and then please query the configuration again with "piTest -d".
rezaabdullah
Posts: 2
Joined: 04 Oct 2018, 05:59
Answers: 0

Re: Modbus RTU Master does not work

Post by rezaabdullah »

Thanks for prompt reply. I managed to initiate Modbus Master. However, the output shows 0 only. I have attached the output as well as Extended Data settings.
For your information, I am using Socomec Diris A20 Energy Meter as slave. The meter has been tested from my laptop using Modbus Poll software. The connection and query was successful from Modbus Poll. Unfortunately, I am unable to query data using RevPi. Really appreciate your assistance.
Attachments
extended_data_settings.JPG
extended_data_settings.JPG (38.47 KiB) Viewed 4681 times
User avatar
dirk
KUNBUS
Posts: 1947
Joined: 15 Dec 2016, 13:19
Answers: 4

Re: Modbus RTU Master does not work

Post by dirk »

Hi the device path of the RevPi Connects´ RS485 is

Code: Select all

/dev/ttyRS485
Please check the values of the Modbus_Action_Status_1 and the Modbus_Master_Status.
Please remind that you have to reset those values in order to receive new status by Master_Status_Reset = 1 and Action_Status_Reset_1 = 1.
Here in the tutorial Modbus RTU Master at the end you can see the error codes.
Post Reply