Page 1 of 1

Virtual Device ModbusTCP Master 64, more than 64 Input Words

Posted: 04 Sep 2020, 11:39
by iotmon
Hello everyone!

For our project we use a RevPi Connect as a ModbusTCP Master. In piCtory we have a Virtual Device ModbusTCP Master 64 configured. This setup works just as expected and we receive valid data on the 64 Input Words. However, we expect more data from the slave and have problems configuring the setup accordingly.
How can we read more than the 64 Words/128 Bytes? Because whenever we try to continue reading 'after' the first 64 words, there is no useful data.

Thanks in advance for any tips or hints!

Re: Virtual Device ModbusTCP Master 64, more than 64 Input Words

Posted: 04 Sep 2020, 15:29
by Amar
Hi,
Can you first try out following (as possible workaround):
1) Update to latest Image:
sudo apt-get update && sudo apt-get upgrade && sudo reboot

uname -a
Linux RevPi1234 4.19.95-rt38-v7+ #1 SMP PREEMPT RT Tue, 16 Jun 2020 13:25:43 +0200 armv7l GNU/Linux

2) Backup original ModbusTCPMaster_20180122_1_1.rap file from path (important):
/var/www/pictory/resources/data/rap/

3) Replace the file ModbusTCPMaster_20180122_1_1.rap with the one provided in attachment.

4) Clear Browser cache.

5) create new configuration Project-(Start pictory project from scratch)

6) Check if 150 input registers for modbus TCP master appears and its functioning.

Attachment :
ModbusTCPMaster_20180122_1_1.zip
(949 Bytes) Downloaded 304 times
Regards, Amar

Re: Virtual Device ModbusTCP Master 64, more than 64 Input Words

Posted: 09 Sep 2020, 11:32
by iotmon
Hello Amar,

thank you for the quick response and advice! I was finally able to test this out on the system and it seems like it works just fine.

Re: Virtual Device ModbusTCP Master 64, more than 64 Input Words

Posted: 15 Sep 2020, 09:31
by dirk
Hi iotmon, thank you for your positive response.