Page 1 of 1
Modbus TCP doesn't work anymore
Posted: 14 May 2024, 13:42
by MikeStern
Hi,
after i had reset the mac address if my RevPi Compact with the command " sudo revpi-factory-reset compact 81919 C83E-A710-253D",
my modbus TCP ttyRS485 interface it doesn't work anymore.
at prompt also i receive this message
pi@RevPi81919:~ $ piTest -r Modbus_Master_Status
Cannot find variable 'Modbus_Master_Status'
How i can fix it ?
Regards.
Re: Modbus TCP doesn't work anymore
Posted: 14 May 2024, 14:00
by dirk
Hello Mike, maybe you need to do a PiCtory configuration. So you have to log in to the WebStatus interface and drag and drop your RevPi Compact Module from the left side to the DIN rail on the right side. Then file -> save as default and Tools -> reset driver.
I hope that does it!
Re: Modbus TCP doesn't work anymore
Posted: 14 May 2024, 14:05
by MikeStern
Hi,
i cant log-on on web interface... the password doesn't work ! ( i never changed it)
How i can restore or reset the password of the web interface?
Thanks
Re: Modbus TCP doesn't work anymore
Posted: 14 May 2024, 14:13
by dirk
Ouch, ok, so the quickest way is to restore the factory settings using the steps in this checklist:
Revolution Pi Checklist
Re: Modbus TCP doesn't work anymore
Posted: 14 May 2024, 22:55
by MikeStern
Hi,
good news!
i have solved the problem!
the command that i have used to change the mac address "sudo revpi-factory-reset compact 81919 C83E-A710-253D"
was wrong!
the right command tha i had to use is "sudo revpi-factory-reset
connect 81919 C83E-A710-253D" because i have a RevPi Connect model not the Compact!
All work fine !
Thanks
Re: Modbus TCP doesn't work anymore
Posted: 15 May 2024, 08:12
by dirk
Ah perfect, good to hear that you could solve it, never mind that happens