I have 3 identical boards in my system which I want to control using a C# application.
The boards have 2 dip switches to set the slave address to 1 2 or 3 (0 is broadcast).
During initialization the server is inialized with the address:
uint8_t serverAddress = GpioGetBoardAddress();
nmbs_error err = nmbs_server_create(&nmbs, serverAddress, &platform_conf, &callbacks);
Tested all boards separately with dip switches set to 1 or 2 or 3. Communication works top on every slave address.
When I test with all 3 boards connected on the bus with all having their own address (board1 has addr1 etc) communication is unstable.
I (manually, so very slow) send read_holding_registers to all slave-addresses, and only one of the slaves replies with the correct answer, the others do not response, these 2 are hanging.
This is an urgent problem...
Please respond.
Best regards!
I have 3 identical boards in my system which I want to control using a C# application.
The boards have 2 dip switches to set the slave address to 1 2 or 3 (0 is broadcast).
During initialization the server is inialized with the address:
Tested all boards separately with dip switches set to 1 or 2 or 3. Communication works top on every slave address.
When I test with all 3 boards connected on the bus with all having their own address (board1 has addr1 etc) communication is unstable.
I (manually, so very slow) send
read_holding_registersto all slave-addresses, and only one of the slaves replies with the correct answer, the others do not response, these 2 are hanging.This is an urgent problem...
Please respond.
Best regards!