Modbus RTU for LCPXpresso804

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Modbus RTU for LCPXpresso804

ソリューションへジャンプ
1,755件の閲覧回数
Mayk_Blanco
Contributor I
Hi. I want to know if there is already a library for the Modbus RTU protocol for LCPXpresso804. I need to control a PLC. If anyone has nan example it would help me a lot.
 
Greetings to all.
ラベル(1)
0 件の賞賛
返信
1 解決策
1,747件の閲覧回数
ErichStyger
Specialist I

I use Modbus with K22, RP2040 and LPC845.

You should be able to easily use it with the LPC804, as it is similar to the LPC845.

You can find it here:

https://github.com/ErichStyger/McuOnEclipseLibrary/tree/master/lib/Modbus

and the RS-485 driver is here: https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuUart485.c

You can check the project described here (has a link to the GitHub project too):

https://mcuoneclipse.com/2022/12/31/controlling-an-ev-charger-with-modbus-rtu/

See the other links at the end of above article.

 

I hope this helps,

Erich

元の投稿で解決策を見る

2 返答(返信)
1,706件の閲覧回数
Mayk_Blanco
Contributor I

Thank you a lot!

0 件の賞賛
返信
1,748件の閲覧回数
ErichStyger
Specialist I

I use Modbus with K22, RP2040 and LPC845.

You should be able to easily use it with the LPC804, as it is similar to the LPC845.

You can find it here:

https://github.com/ErichStyger/McuOnEclipseLibrary/tree/master/lib/Modbus

and the RS-485 driver is here: https://github.com/ErichStyger/McuOnEclipseLibrary/blob/master/lib/src/McuUart485.c

You can check the project described here (has a link to the GitHub project too):

https://mcuoneclipse.com/2022/12/31/controlling-an-ev-charger-with-modbus-rtu/

See the other links at the end of above article.

 

I hope this helps,

Erich