Modbus TCP (unipitcp) not working on Neuron with Raspberry OS
-
The unipi_tcp_server reports the following error:
sudo /opt/unipi/tools/unipi_tcp_server -p 502 -l 127.0.0.1 --verbose --check-firmware ARMINIT: Cannot open device /dev/unipispi ARMINIT: Cannot open device /dev/unipispi ARMINIT: Cannot open device /dev/unipispi UniPi TCP Modbus Server: Listening Connection Established RET:3 poll timeout = -1[ms] Starting primary loopWhen trying to communicate with the server, errors are reported: Error reading (using EasyModbus Java library).
This is the environment:
I installed raspios_lite_arm64-2020-08-24 on Neuron S103 (RPI4).
The image is available here: https://downloads.raspberrypi.org/raspios_lite_arm64/images/raspios_lite_arm64-2020-08-24/2020-08-20-raspios-buster-arm64-lite.zipNext I added the Unipi repository the recommended way:
curl https://repo.unipi.technology/debian/README.apt | bashSubsequently I installed the following modules:
sudo apt install -y unipi-kernel-modules unipi-firmware unipi-firmware-tools unipi-modbus-toolsFinally I run
sudo systemctl stop unipitcp sudo /opt/unipi/tools/unipi_tcp_server -p 502 -l 127.0.0.1 --verbose --check-firmware -
@noelvaes Did you reboot after the kernel modules were installed?
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login