2/4/2025 10:03 PM | |
Joined: 5/14/2021 Last visit: 8/1/2025 Posts: 4 Rating:
|
Hello! I would like to read some modbus input words in the address range 30,001-39,999 with function 04 using the MB_CLIENT block. I got this working with MB_MODE = 104, but not with MB_MODE = 0. According to the manual (Entry ID: 109742272), MB_MODE = 0 can be used to "Read 1 to 125 input words on the remote address 0 to 9,998". Is there a possibility to read input words above register 9998? For holding registers, the same manual states that addresses 400,001 to 465,535 have to be used. Nothing seems to be mentioned for input words though. Is this supported by the MB_CLIENT block? Thanks! |
Last edited by: Mitch0 at: 02/04/2025 22:05:30Last edited by: Mitch0 at: 02/04/2025 22:06:42 |
|
2/24/2025 9:51 AM | |
Joined: 4/28/2015 Last visit: 4/19/2025 Posts: 10876 Rating:
|
Hello,
you have 2 options. One is that your actual TIA version (blocks) offer this option with specific MODE value or the 2-nd choice is you need create your own driver via OUC. But your this sentence is not clear to me: I got this working with MB_MODE = 104, but not with MB_MODE = 0. eeeehm you mean you are lucky with extended range with 104 mode? Very sry but your description is really hard to understand... |
With best regards... |
|
Follow us on