Search found 65 matches

by jhill
Thu May 09, 2019 9:25 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi Ben, I have taken some steps to try and pin this issue down further. 1. I have modified my program to accept an binary and analog value from the master, then set those to be read back again in order to test the ability to write values master>slave. Up until now I have only tried to read values. I...
by jhill
Wed May 08, 2019 3:05 pm
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

HI,
Sorry, i just realised. I did it the other way around and requested adress 1 instead of 0 and now the console reports the correct value, but the master still reports a random number (26060) instead of 255
Debug Capture 3.PNG
(5.29 KiB) Downloaded 3225 times
Debug Capture 2.PNG
(4.39 KiB) Downloaded 3225 times
by jhill
Wed May 08, 2019 2:18 pm
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi,

I have just found the component debug console, and this is what it is showing me. I am not sure what this means?
by jhill
Wed May 08, 2019 10:29 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi Ben, I will give a flowcode to flowcode link a try and see what that gives. I have tried loading both analog and binary with different values, and they never resemble what I read. The exception is binary, which has a 50% chance of being right! I say this as if I make repeated coil read requests, ...
by jhill
Thu May 02, 2019 7:56 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Good Morning Ben, Have you had a chance to look at this? Are you able to tell me what client you use for testing? As it does not appear to work in simulation, and you cannot find an issue with my program, which essentially follows the example, can i assume this is a bug? Sorry if this is not the cor...
by jhill
Tue Apr 30, 2019 2:17 pm
Forum: Bug Reports
Topic: Change Float variable to other
Replies: 2
Views: 2042

Re: Change Float variable to other

Yep, this was the same in 7, not sure why?
by jhill
Tue Apr 30, 2019 8:01 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi, To give some more information on this issue, I get exactly the same results in simulation, which i have to admit i did not try before :roll: Capture1.PNG Capture2.PNG As you can see, both values should be "1". I am not sure where 27887 comes from? What software are you using to test this, maybe ...
by jhill
Thu Apr 25, 2019 2:51 pm
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi Ben, I use Abacom profilab, which connects fine but returns random numbers, not the values written to the registers. https://www.electronic-software-shop.com/lng/en/electronic-software/profilab-expert-40.html?language=en The same software works fine using modbus serial. I have the same problem us...
by jhill
Thu Apr 25, 2019 7:55 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Good Morning Ben,

Did you get a chance to take a look at this? Am i doing something wong or is there a bug?

Best Regards

James
by jhill
Thu Apr 18, 2019 2:42 pm
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi,

Thanks, please see attached.

Best regards,

James.
by jhill
Thu Apr 18, 2019 11:47 am
Forum: Bug Reports
Topic: RPI modbus TCP
Replies: 36
Views: 16344

Re: RPI modbus TCP

Hi,

I have also been trying to get this working, was the issue resolved?

Best Regards,

James
by jhill
Wed Apr 17, 2019 1:34 pm
Forum: Bug Reports
Topic: ModbusTCPSlave
Replies: 7
Views: 4747

Re: ModbusTCPSlave-UPDATE

Hi, I have ported this project over to the raspberry pi, as this has supported tcp/ip coms and should remove this "unknown" from the problem. I now longer have to re initialise the modbus coms every loop, which is good! However i still have a problem that the values written to the modbus registers i...
by jhill
Fri Feb 08, 2019 11:03 am
Forum: Bug Reports
Topic: ModbusTCPSlave
Replies: 7
Views: 4747

Re: ModbusTCPSlave

Hi Benj Thank you very much for getting back to me. I am using an arduino Ethernet shield (WizNet W5100). I appreciate that this isn’t the right module for the macro, but other people on the forums seem to using it successfully. The communication seems ok as the IP address etc is being set ok, I can...
by jhill
Tue Feb 05, 2019 2:50 pm
Forum: Bug Reports
Topic: ModbusTCPSlave
Replies: 7
Views: 4747

Re: ModbusTCPSlave

Hi, Playing with this some more, it seems that that this macro is broken? Looking at other forum posts, its appears necessary to have the “network Coms” component between the TCP/IP component and the Modbus TCP component. Can anybody confirm this is the case? This program will not compile without it...
by jhill
Thu Jan 31, 2019 4:07 pm
Forum: Bug Reports
Topic: ModbusTCPSlave
Replies: 7
Views: 4747

ModbusTCPSlave

Hi, I am in the progress of adapting a program from Modbus RTU to Modbus TCP and have come across what seems to be a bug in the ModbusTCP slave Macro. In your examples, and in my previous modbus RTU program, the initialise macro is called once, then the check for incoming macro on a loop. When used ...