B4R Code Snippet esp32 RS485 bus: ModBus RTU module via Serial2: Slave + Master, pins settings - peacemaker    Jul 28, 2025   (4 reactions) ModBus RTU module 'v.2.0 'Slave code © OGmac https://www.b4x.com/android/forum/members/ogmac...* unused) { ::Serial2.begin(b4r_modbus::_port_speed, SERIAL_8N1, b4r_modbus::_rx_gpio, b4r_modbus::_tx_gpio); b4r_modbus::_serialnative2->wrappedStream = &::Serial2; } #End If #Region Functions Private Sub Stream_Error Log("Modbus stream error") End Sub Private Sub Receive....Modbus_NewData(c) 'pass the received data block to needed module Else... B4A Question Modbus TCP - Connect to multiple devices - Mike1970    Jun 9, 2025 Hi everyone I found this library by @Walter95 and it seems pretty cool. I already did some test with a PLC and I’m able to read something. However, my question is: if I have multiple devices (PLC) is it possible to have them all connected simultaneously or I’ve to circle between them periodically to get data and sensor readings? Thanks in advance... B4A Question Modbus CRC16 calculation - FreeWolF    Apr 10, 2014 Hello, I have to calculate the CRC16 of a MODBUS string. Unfortunately I have no idea how can I do...-------------------------------------------------
' returns the MODBUS CRC of the lbuf first bytes of "buf" buffer (buf is a global... B4A Library Modbus TCP Library - Walter95    Nov 9, 2022   (15 reactions) Hello everyone,
Given the difficulties in finding a "ready-made" library for Modbus TCP... server can't reply to me")
All code run in background.
ModbusTCP
Author: Walter Maniero... B4R Question RS485 ModBus Master - peacemaker    Aug 18, 2021 Hi, All
Anyone already tried to implement Master side of Modbus protocol over RS485 interface ?
Any shared code (even to be paid) ?... B4J Question Shared Modbus RTU RS485 code for B4J and B4R - peacemaker    Aug 12, 2021 cross-platform coding of MODBUS RTU sensor's protocol ?
Any links to MODBUS code modules ?... B4R Question ModBus RTU - barx    Apr 23, 2020 Hello,
Has anyone successfully created a project that can communicate (Get & Set) with ModBus RTU
I have already seen this post --> https://www.b4x.com/android/forum/threads/modbus-rtu... B4J Library Asynchronous modbus TCP master - Coldrestart    Sep 22, 2020   (15 reactions) Hello everyone,
Here a modbus TCP master library, fully programmed in b4j.
This library is asynchronous, by use of the asyncstreams and Callback method.
The response is an event, a separate sub... B4R Question b4r modbus, possible? - barx    Mar 15, 2018 b4r, esp8266, modbus communication (over rs485).
Any way to do it?
I have a rs485 to ttl adaptor,
Cheers... B4A Question XUIViews having issues with MODBUS TCP? - FabianGS (first post)    Nov 27, 2023 Thank you very much Erel!!... Page: 1   2   3   4   |