stm8s20x series MODBUS RTU and ASCII
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-10-19 7:10 PM
Posted on October 20, 2012 at 04:10
Hi
I looked at google MODBUS RTU and ASCII for some source code for stm8 but i could not find any source code for stm8 series... 1. Is there any source codes for stm8 series?2. When a device is connected to stm8 uart(like PLC), is interrupt proper way for this? or do you suggest another way for this? Best regards... Thank you in advance #modbus-rtu-ascii
Labels:
- Labels:
-
Modbus
This discussion is locked. Please start a new topic to ask your question.
2 REPLIES 2
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-10-22 5:38 AM
Posted on October 22, 2012 at 14:38
Hello!
The Modbus protocol isn't tightened to a particular device. You can use any Modbus implementation which sends and retrieves bytes by using an UART. Microcontrollers differences arise only in how an UART is driven. STM8 software library has got all you need to use an UART, so it's only up to you to replace the Modbus implementation low-level calls with the corresponding ones in the STM8 software library. EtaPhiOptions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2012-10-24 3:10 PM
Posted on October 25, 2012 at 00:10
Thank you EtaPhi,
But i mean another question....Is there any library ported to stm8 like freemodbus?or any source code?... I decided to make modbus rtu layer by uart interrupts...Thank you in advance...