Issue with MODBUS register address configuration
Posted: Sun Dec 08, 2024 11:31 am
Hi Friends,
I want to store data in the Holding register address from 44300 to 44500 (specific 200 registers) using MODBUS register starting address and number of addresses configuration (In flow code 4299 to 4499). But failed to compile.
1. I am using PIC18F46K42 microcontroller. I have configured modbus slave in my project with starting address "0" and number of addresses "100", It works fine, Data space occupied 8.7%.
2. Re-configured with starting address "1600" and number of addresses "1700", It works fine, Data space occupied 86.9%.
3. Once again re-configured with starting address "4300" and number of addresses "4400", Now compilation failed with 'could not find space'.
I realized that Flowcode Modbus Slave alwys access "0" as start address and considering the data given.
I don't know is it bug or doing something in wrong manner.
I have attache the program and screen-shots for reference.
Kindly help me to fix this issue. Thanks in advance for your valuable support.
I want to store data in the Holding register address from 44300 to 44500 (specific 200 registers) using MODBUS register starting address and number of addresses configuration (In flow code 4299 to 4499). But failed to compile.
1. I am using PIC18F46K42 microcontroller. I have configured modbus slave in my project with starting address "0" and number of addresses "100", It works fine, Data space occupied 8.7%.
2. Re-configured with starting address "1600" and number of addresses "1700", It works fine, Data space occupied 86.9%.
3. Once again re-configured with starting address "4300" and number of addresses "4400", Now compilation failed with 'could not find space'.
I realized that Flowcode Modbus Slave alwys access "0" as start address and considering the data given.
I don't know is it bug or doing something in wrong manner.
I have attache the program and screen-shots for reference.
Kindly help me to fix this issue. Thanks in advance for your valuable support.