angeloc/simplemodbusng

Why there is no modbus master with SoftwareSerial?

Closed this issue · 2 comments

I need to read modbus registers from a slave over rs485 using softwareSerial, why there is an example only for salve with softwareSerial?

@mohamedpsx : Ususally modbus is a slave matter, on the master side you have already something who can speak modbus.

So, this implementation only offer the slave side of the story.

@angeloc but is it okay to read the register values from slave using the rx and tx pin of arduino and at the same time printing those values on serial monitor. I am implementing arduino as master and raspberry pi as slave but getting garbage values on serial monitor. Any idea why is this happening?