6/17/2025 11:35 AM | |
Joined: 6/19/2012 Last visit: 8/12/2025 Posts: 3 Rating:
|
Hi, I like this solution, but in this case, what data type are the variables (e.g. idbModbusMaster)? If it is P2P_MB_BASE type, then you don't need #idbModbusMaster".MB_DB" at the end. Could you provide more detailed information about your solution? ------------------------------------------------------------------------------------------ |
Last edited by: Moderator_Lan at: 06/17/2025 12:46:20New subject after splitting |
|
6/17/2025 3:53 PM | |
Joined: 3/30/2020 Last visit: 9/11/2025 Posts: 5444 Rating:
|
I can only tell you what the documentation says.. as I did already. It is difficult to visualize what you are seeing by reading only your text description. Consider putting down a sample project. Use the "Classic Forum" view to add one ZIP file as an attachment. Else search "S7-1200 V20 Modbus RTU" as search words in the knowledge base on this support site to find some sample code that is very helpful. Further alternative is to use the wrapper from a 3rd party that I use. You can find the library files and documentation here: [Rexhip on Github :: Extended Modbus library for Siemens PLCs] |
Activities of this user is voluntary. There is no obligation or liability placed on this user. Though optional, your 'please' and 'thank you' is highly valued. |
|
This contribution was helpful to
1 thankful Users |
Follow us on