FreeRTOS Support Archive
The FreeRTOS support forum is used to obtain active support directly from Real
Time Engineers Ltd. In return for using our top quality software and services for
free, we request you play fair and do your bit to help others too! Sign up
to receive notifications of new support topics then help where you can.
This is a read only archive of threads posted to the FreeRTOS support forum.
The archive is updated every week, so will not always contain the very latest posts.
Use these archive pages to search previous posts. Use the Live FreeRTOS Forum
link to reply to a post, or start a new support thread.
[FreeRTOS Home] [Live FreeRTOS Forum] [FAQ] [Archive Top] [May 2013 Threads] MODBUS ImplementationPosted by Shashank on May 24, 2013 Greetings everybody!!
I am trying to implement MODBUS in PIC24FJGB on FreeRTOS. I am doubtful about how to implement inter character delay and inter frame delay in MODBUS using FreeRTOS. I have already implemented RS485 on FreeRTOS. Does anyone has example of MODBUS implemented on FreeRTOS? Can anyone suggest something?
Thanking you in advance! :)
RE: MODBUS ImplementationPosted by Dave on May 24, 2013 How short are the delays required, and how accurate do the delays need to be. For example, if the delay needed to be 1ms does it matter if it is greater than 1ms so long as it is not shorter than 1ms? How would you implement the delays without an RTOS?
MODBUS ImplementationPosted by mqn on March 24, 2016 Hi Shashank
Hope you are still around and you manged to implement you modbus as I am just embarking on the same course. I am using a PIC24F and need to implement RTU. I want to know how to implimented the character recieve and transmit timings required in modbus from within FreeRtos.
I assume, for the RX, it is a matter of notifying the RX task from the UART rx interrupt and looking at time passed since last recieved. If you could share the RTOS level code to do this I would be very greatfull.
Thanks
Mark
Copyright (C) Amazon Web Services, Inc. or its affiliates. All rights reserved.
|