kiltum / modbus Goto Github PK
View Code? Open in Web Editor NEWVery simple modbus for STM32 HAL FreeRTOS
License: Other
Very simple modbus for STM32 HAL FreeRTOS
License: Other
I am using your code for a USART based project. It was very simple to implement, because of the well-documented code. However, I am facing this problem:
This works fine:
modpoll.exe -a 1 -r 1 -c 6 COM5
But any -r different from 1 fails:
modpoll.exe -a 1 -r 2 -c 6 COM5
modpoll.exe -a 1 -r 3 -c 6 COM5
Data seems to arrive well in STM32F4, also mb_buf_out seems ok, I don't really know where to go from here?
Thanks
@kiltum Can we implement MODBUS master using this library?
Hi.
Your code is well described and good. I want to use it on STM32F103VET6 discovery board, and use UART1 port for modbus (not USB). I don't know how to do that and what codes I should use instead of those you used for USB.
Thank you very much...
Line 67 in 9fe319e
osThreadDef(ModBusTask,ModBusTask , osPriorityNormal, 0,128);
should be replaced with the following:
osThreadDef(ModBusTask, osPriorityNormal, 0,128);
Could you please choose a license for this project so people can know if they can modify it and use it in their own work?
osThreadDef(ModBusTask, ModBusTask, osPriorityNormal, 0, 128);
throws a too many argumentes Error
i fixed it to :
osThreadDef(ModBusTask, osPriorityNormal, 0, 128);
was the function updated by freeRTOS?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.