9/30/2021 11:31 PM | |
Joined: 9/27/2006 Last visit: 9/27/2025 Posts: 12426 Rating:
|
Hello; One important information on MB_Master (ad other modbus functions for TIA Portal) is that the Error and Status outputs of the block last only for one scan, and therefore they are not visible for long enough for you to catch them. Ths quote from our frien navnag should make things clearer: "The error code value at theSTATUS parameter is valid only during the single scan where ERROR = TRUE. ( Easily missed by user if not stored )". Look at the last post on thos page: https://support.industry.siemens.com/tf/ww/en/posts/modbus-limitation/108957/?page=0&pageSize=10 So when you call your MB-Master block you must set a trap to store the value of the status error code, when the output Error becomes true. Then you can examine the error code in the TIA Portal system manual, for example, and discover what went wrong. Hope this helps, Daniel Chartier |
Follow us on