1/30/2018 7:49 AM | |
Joined: 4/28/2015 Last visit: 2/24/2025 Posts: 10832 Rating:
|
Hello, no you don't need create big array in case you want read only one register. In this case you need only pay attention if you need read f.ex. REAL value from device because it takes 2 WORDs, so in this case you need create 2 WORD data type structure or similar array. Number of elements in recv DB depends to how much registers you want read with one request (LEN parameter you need set correctly) so to this you need think about max elements in your DB. Attachments7300_modbus_master_operating_instructions_en-US_en-US.pdf (238 Downloads) |
Last edited by: Duris_I at: 1/30/2018 7:53:48 AMWith best regards... |
|
1/31/2018 8:18 AM | |
Joined: 4/28/2015 Last visit: 2/24/2025 Posts: 10832 Rating:
|
Hello, better to explain for first clearly what system your CP341 use. Look to attachment of Slave system, page 42 explain how to use more options, also with cooperation page 24 how define access. Attachments7300_modbus_slave_operating_instructions_en-US_en-US.pdf (159 Downloads) |
With best regards... |
|
Follow us on