slave initialisation

Asked by Will

Hello,

If I am setting up holding registers on a slave that start at address 40000, is there a simple way to do this without having modbus_mapping_new() create 40000 empty entries?

Thanks,
Will.

Question information

Language:
English Edit question
Status:
Solved
For:
libmodbus Edit question
Assignee:
No assignee Edit question
Solved by:
Will
Solved:
Last query:
Last reply:
Revision history for this message
Will (will-intellidesign) said :
#1

Hi,

Another quick thing: Should slaves be responding to broadcast requests? (modbus.c line 1056).

Will.

Revision history for this message
Stéphane Raimbault (sra) said :
#2

1 - No, a new option to set the base address of the mapping would be convenient!

2 - In next version 2.2.0 (see trunk for now), slaves respond to broadcast requests.

Revision history for this message
Will (will-intellidesign) said :
#3

Okay, thanks.

Will.