2/26/2025 4:03 PM | |
Joined: 9/17/2024 Last visit: 8/6/2025 Posts: 5 Rating:
|
Hi, I'm using a S7-1200 with a CM1241 for read the data from a Modbus RTU slave. I have the register layout from the slave (attached), but I don't know how to use it with DATA_ADDR and MODE parameters from the instruction MB_MASTER : https://support.industry.siemens.com/cs/ww/en/view/107623221/69788292875 In the register layout, we can see that the register start at the address 0000 to 0037. And I want to read the address 0000 "Nombre d'impulsions : entrée 1" and for that, I need to use the modbus function 04 (Read Input Registers). But when I read the table DATA_ADDR and MODE parameters, if I want the modbus function 04, the address need to start at the address :30001 I'm lost and confused. Did someone already create a connection like this ? Thank you, Luc |
Last edited by: Moderator_Lan at: 02/27/2025 07:21:31link optimized |
|
Follow us on