Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Has anybody experience with MODBUS to read temp sensors?
#24
Hi Petr,

I'm busy migrating from the Raspberry Pi to mini PCs (Aliexpress...),
 where I'm replacing the Windows operating system with Linux Mint 22.x (Wilma) with an xfce4 desktop. 
This is, of course, only possible thanks to your beautifully designed software for reading PT100 sensors. 

The relays for switching heating elements, pumps, and valves ON or OFF are now controlled via "usbrelay" software (I already posted the latter on this forum). 

But on the mini PC I'm programming on, the PT100 software crashed again.
I performed the following test: In QB64, 
I placed a few statements: PRINT "AAAA test" SLEEP and I noticed that the program hung in the "SerialFlush" subroutine
So I out-commanded your first call in the programlistings to the "SerialFlush h%" routine
I pressed F5... 
Your listing immediately started displaying the temperatures

Question: What I've done now is act like a "headless chicken"... 
Can I leave this first call to SerialFlush disabled? 

(Incidentally: If my (brewing) setup works as expected, 
I'll definitely post a schematic of the SSR power control via USB BRELAY software and my home-made UPS system here. 
OK... it's a bit off-topic, but our PCs and software can't work without a good voltage and power supply...).

Regards, Rudy
Reply


Messages In This Thread
RE: Has anybody experience with MODBUS to read temp sensors? - by Rudy M - 02-22-2026, 04:14 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
Question How to read Google Calendar events? Ikerkaz 10 1,882 07-10-2023, 11:06 AM
Last Post: Ultraman
  SHELL creates unicode file, can't read correctly with LINE INPUT thesolarcode 3 1,248 05-06-2023, 09:41 PM
Last Post: thesolarcode
  Read / Allocate Cores dISP 10 2,231 04-25-2023, 12:23 PM
Last Post: dISP
  Can images be read from a file into an array? PhilOfPerth 11 2,560 02-17-2023, 03:31 AM
Last Post: TerryRitchie

Forum Jump:


Users browsing this thread: 1 Guest(s)