Multiple slaves on RTU

58 views
Skip to first unread message

ajay dange

unread,
Apr 25, 2016, 8:43:30 AM4/25/16
to libmodbus
hello, i want to communication multiple modbus slaves(servers) on RTU (RS 485) network using a single client.
How should i proceed? Is there any example for reference?

giorgio foga

unread,
Apr 29, 2016, 11:35:18 AM4/29/16
to libmodbus
To continue to switch from modbus_set_slave(ctx, SLAVE_ID);... your operation.... to modbus_set_slave(ctx, OTHER_SLAVE_ID);

I have an issue if I try to create a SLAVE with libmodbus (if I use commercial slave all works fine)....

regards
Giorgio
Reply all
Reply to author
Forward
0 new messages