10/31/2024 11:44 PM | |
Joined: 9/13/2012 Last visit: 9/4/2025 Posts: 27 Rating:
|
Dears, I am trying to write small FB which will move data from one part of DB to other. Generally it is some kind a recipe change . I have issue that input values for the block is changed during realisation of the block. Until the usage of part without indirect programing input value remain unchanged . After usage of AR2 one of the input limits is changed. I ve checked the code but dont see reason for this situation . Run test on PLC and in PLC sim with same results. I ve tried few times to generatre DB for the called block. Later also other input values are chnaging . Any advices ? Kind regards Wojtek AttachmentMmf_ukl_.zip (352 Downloads) |
11/1/2024 9:29 AM | |
Joined: 6/24/2013 Last visit: 9/12/2025 Posts: 1696 Rating:
|
if you use multiple instance calls AR2 is used for these. you need restore AR2 after using it. |
11/1/2024 12:40 PM | |
Joined: 6/24/2013 Last visit: 9/12/2025 Posts: 1696 Rating:
|
Hi attached project - it contains recipe handling block functionality database - recipe database (all recipes) used - one currently used for production displayed - one displayed on hmi for selection or edit covers activation of recipe (copy database-->activated), undo edit (database-->displayed), undelete/delete/save and navigation i.e. show first / prev / next and option to show/skip empty (deleted) records.c AttachmentIS0000_S7300_PROJECT.zip (320 Downloads) |
This contribution was helpful to
1 thankful Users |
11/5/2024 6:03 AM | |
Joined: 10/7/2005 Last visit: 9/14/2025 Posts: 3049 Rating:
|
See also THIS FAQ to complement Jacek D's spot on correct advice |
Cheers |
|
Follow us on