I try to use RTU 485 to communicate with inverter, and I also use LibDRVmbus sample, i don’t understand where do I get the pDevice value for the slave and master, can someone explain this to me? thank you
Some different ways to find out the correct pDevice can be found from this post here in the community.
What considered as Slave and Master for Modbus program? I tried to control Inverter via X20CS1030, and for the PC I use PPC2200
Master = Client, Slave = Server in more moder terminology.
In your case the Inverter is the slave and the PLC(PC) is the master.
Do I need to use the Slave program too or just the Master?