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

Hi Petr, 

Due to the holidays, there's been a delay in the delivery of an ordered USB-RS485 adapter. 
It's a bidirectional type with a CG343G chip. The baud rate table already shows the standard "9600" rate. 
I expect it to arrive early next week. Big Grin  
I'm trying to keep the connections between the screw adapter and the PT100 card as short as possible.

I've run your listing (without the adapter and sensor card) in QB64, and I'm not getting any errors. 

For  convenience, I've already translated the English comments into Dutch. 
(If any Dutch-speaking forum members would like a copy, please send me a private message with your email address, and I'll email you the listing with the Dutch commands.) 
Meanwhile, I'm mounting the sensor card on a board and connecting it to the four PT100 sensors and a 12-volt power supply. 
As soon as I've tested the USB adapter, I'll post my findings here again. 

Greetings, Rudy M


First part of my Configuration info:
PC: Linux Mint 22 (Wilma) with XFCE as desktop
qb64pe version: lnx-4.3.0
PTA8D08 card:
DIP switch 1 = ON 
DIP switch (2 to 6) = OFF

USB to RS485 connector:
Industrial USB TO RS485 Bidirectional Converter, Onboard original CH343G, Multi-Protection Circuits
USB TO RS485 (B) baudrate support: 50, 75, 100, 110, 134.5, 150, 300,
600, 900, 1200, 1800, 2400, 3600, 4800, 9600, 14400, 19200, 28800,
33600, 38400, 56000, 57600, 76800, 115200, 128000, 153600, 230400,
256000, 307200, 460800, 921600, 1M, 1.5M, 2M, and 3M.

Number of PT100 sensors I'm going to use: 4
Number1: controls de T in the (beer)boiling vessel
Number2: controls de T in the waterboiler
Number3: controls de T of the outgoing temp. of the plate cooler (to avoid spoiling of water).
Number4: Reserve-sensor (I put him in 'open air')
-------------------------------------------------------------------------------------------------------------------------------------
Reply


Messages In This Thread
RE: Has anybody experience with MODBUS to read temp sensors? - by Rudy M - 01-04-2026, 11:16 AM

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)