2/5/2016 3:27 PM | |
Joined: 5/30/2013 Last visit: 7/28/2024 Posts: 112 Rating:
|
My suggestion use command "PUSH", don,t used L 0, L0. For check status AR1 and AR2 or more else in STL you mast used "Breakpoint function" - only v5.x. Read more post jacek d expecially Her trick in STL Some link: Problem with AR Pointers in a FB pass DB number to afunction and call FB with passed DB Best regards zzvss |
2/6/2016 12:47 AM | |
Joined: 10/7/2005 Last visit: 9/10/2024 Posts: 3020 Rating:
|
The reason for this is simply that you must take AR2 into account as it contains the Multi Instance offset. Have a look at the end of the FAQ How do you parameterize blocks, which have "ANY"-type or "Pointer" type parameters? for one way on how to do so. Note that this way "limits" you though to add a maximum offset of 32767 bits so if your Multi Instance DB is larger than 4kB, the method below is the better option (as per access to one multi-instance FAQ)
I hope this helps
|
Last edited by: fritz at: 2/6/2016 12:58:26 AMCheers |
|
This contribution was helpful to
3 thankful Users |
2/6/2016 7:40 AM | |
Joined: 1/15/2015 Last visit: 3/22/2022 Posts: 66 Rating:
|
Thank you all.That was very helpful |
This contribution was helpful to
1 thankful Users |
2/6/2016 11:32 AM | |
Joined: 5/30/2013 Last visit: 7/28/2024 Posts: 112 Rating:
|
You are welcome Best regards, zzvss |
Follow us on