Hello?
MCU: PIC24FJ512GA606
Ethernet : W5500
Program: Modbus POLL
As a result of the previous query, compilation works fine.
But Modbus/TCP doesn't work.
what am i doing wrong?
Please help.
And still the pin number changes when I reload the project.
Modbus / TCP Error
-
- Posts: 210
- http://meble-kuchenne.info.pl
- Joined: Thu Dec 03, 2020 1:43 pm
- Has thanked: 5 times
- Been thanked: 7 times
Modbus / TCP Error
- Attachments
-
- 230717_Freezer-SPI_Ethernet_TEST.fcfx
- (58.18 KiB) Downloaded 503 times
-
- Matrix Staff
- Posts: 1517
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 212 times
- Been thanked: 351 times
Re: Modbus / TCP Error
Yes, this is always possible. In the Library Updates screen there are 2 columns shown, "current revision" and "new revision", and the latter allows you to choose which version to download and use within Flowcode.. If you select "show up-to-date files" when you have your project open, it will show all applicable files in your project. You can tick the file and select an earlier version in the "new revision" dropdown, then click "download".
We do recommend you always use the latest versions of the files, but reverting to an earlier version while we investigate the problem can help you continue developing your project until we provide a fix.
-
- Matrix Staff
- Posts: 1517
- Joined: Sat Dec 05, 2020 10:32 am
- Has thanked: 212 times
- Been thanked: 351 times
Re: Modbus / TCP Error
The instructions were in my previous message. An image may perhaps explain this better:
You will see that the ModbusMasterTCP component has two subcomponents and you may need to revert these to earlier versions as well (or instead).
You will see that the ModbusMasterTCP component has two subcomponents and you may need to revert these to earlier versions as well (or instead).
Re: Modbus / TCP Error
I tested by returning various versions of Network Comm, Modbus TCP, and W5500.
But it still doesn't work.
May I know a combination of versions that work well?
Can I get a simple example that is guaranteed to work?
I'm worried that several people will gather at the site tomorrow to test it, but it doesn't work.
Please help.
Thank you.
But it still doesn't work.
May I know a combination of versions that work well?
Can I get a simple example that is guaranteed to work?
I'm worried that several people will gather at the site tomorrow to test it, but it doesn't work.
Please help.
Thank you.
-
- Matrix Staff
- Posts: 1944
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 508 times
- Been thanked: 691 times
Re: Modbus / TCP Error
Hello,
I've just been testing the Modbus TCP component with the W5500 module.
Here we have a combined master and slave program.
I've tried both master and slave in simulation and this is working well.
I've tried master on the PC and slave on the hardware and this is working well.
I've also tried master on the hardware and slave on the PC and this seems to have an issue so I'll investigate this for you.
I've just been testing the Modbus TCP component with the W5500 module.
Here we have a combined master and slave program.
I've tried both master and slave in simulation and this is working well.
I've tried master on the PC and slave on the hardware and this is working well.
I've also tried master on the hardware and slave on the PC and this seems to have an issue so I'll investigate this for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
-
- Matrix Staff
- Posts: 1944
- Joined: Mon Dec 07, 2020 10:06 am
- Has thanked: 508 times
- Been thanked: 691 times
Re: Modbus / TCP Error
Hopefully all fixed for you now via the latest library updates. Working well for me now anyway.I've also tried master on the hardware and slave on the PC and this seems to have an issue so I'll investigate this for you.
Regards Ben Rowland - MatrixTSL
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel
Flowcode Online Code Viewer (Beta) - Flowcode Product Page - Flowcode Help Wiki - My YouTube Channel