Search found 30 matches

by pilot123
Wed Jul 17, 2024 9:25 am
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Re: Problem with ToString$ function

Hi
I failed to notice yesterday, that when the program was running on my H/W BL0080 Board, the String is not correct.

If Counter = 4200000001
The String = 4000049665

All works fine when simulated, but is failing to work on H/W. Any ideas to why this is happening?

Thanks
by pilot123
Tue Jul 16, 2024 11:46 am
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Re: Problem with ToString$ function

Hi Ben

Thanks for your help, all working fine now.
by pilot123
Tue Jul 16, 2024 10:06 am
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Re: Problem with ToString$ function

Hi Steve I have tried to program a BL0080 board with your updated program, but it will not compile due to error message. Please see below. C:\Users\user\Downloads>REM DIR: FCD\PIC\batch\pic_xc8_comp.bat C:\Users\user\Downloads>"C:\Program Files (x86)\Flowcode\Compilers\picV2\\bin\xc8-cc.exe&quo...
by pilot123
Mon Jul 15, 2024 6:48 pm
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Re: Problem with ToString$ function

Thanks Steve
That works fine I will add your solution into my project.

Thanks.
by pilot123
Mon Jul 15, 2024 4:19 pm
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Re: Problem with ToString$ function

Hi Steve Thanks for you quick response, much appreciated. I have tried your updated program, which works but not 100%. If I set the Counter to an initial value of 3000000000 then the String becomes 3 Counter value of 3000000011 String becomes 311, the zeros are missing. Is there a way to fix this pr...
by pilot123
Mon Jul 15, 2024 2:44 pm
Forum: Bug Reports
Topic: Problem with ToString$ function
Replies: 8
Views: 7807

Problem with ToString$ function

Hi I have noticed a problem with the ToString$ function, I am using an ULong variable, which I am using as a counter. Every Thing works fine until you get to a 10 digit number ,when yo get to a number which is 10 digits in length you no longer get the correct string displayed. Instead you get a minu...
by pilot123
Mon Nov 13, 2023 7:01 pm
Forum: User Components
Topic: W5500 Sockets
Replies: 0
Views: 19499

W5500 Sockets

Hi

The Flowcode W5500 Ethernet module supports 4 sockets 0 to 3, but the Wiz 5500 Ethernet Board supports 8 sockets.

Would it be possible to update the W5500 component so that it supports all 8 sockets?

Thanks.
by pilot123
Tue Sep 26, 2023 11:44 am
Forum: Projects - Embedded
Topic: W5500 Ethernet not working in Version 10
Replies: 20
Views: 24533

Re: W5500 Ethernet not working in Version 10

Hi Martin I have got the Version8 compiler working in Version 10 Software, and I can ping my test program. But it appears that the problem with the Modbus TCP, is due to the the fact that I was using Port A software mode for my W5500. Changing to Hardware CH 1 on Port B cures the problem, so I will ...
by pilot123
Mon Sep 25, 2023 8:52 pm
Forum: Projects - Embedded
Topic: W5500 Ethernet not working in Version 10
Replies: 20
Views: 24533

Re: W5500 Ethernet not working in Version 10

Hi Martin Thanks for getting back to me, just to let you know I have re written my Modbus TCP programs both Master and Slave, but connected my W5500 modules to Port B and made them Hardware instead of Software on channel 1 and things are now working, I am now able to set the coil on the slave. So ho...
by pilot123
Mon Sep 25, 2023 4:52 pm
Forum: Projects - Embedded
Topic: W5500 Ethernet not working in Version 10
Replies: 20
Views: 24533

Re: W5500 Ethernet not working in Version 10

Hi I am having no joy getting the V8 compiler working in V10, I am obviously doing something wrong? I did try the Pingtest programme changing the the prescale from FOSC/4 to FOSC/16 as suggested and that worked, but when I tried this solution to my Modbus project it still would no ping. Also I tried...