12/24/2018 4:35 PM | |
Joined: 5/6/2010 Last visit: 9/2/2024 Posts: 1978 Rating:
|
Hello, why do you need the AR2 when you program with symbolic operations. What do you want to do? The AR2 is at a 1500 not necessary. Please tell us more about your challenge. regards |
Last edited by: Jen_Moderator at: 12/25/2018 2:39:24 PMOptimized link. |
|
12/25/2018 12:39 PM | |
Posts: 76 Rating:
|
Hello CaOd, I need AR2 for indirect addressing, and I use it for indirect addressing (more precisely for transferring data between some global DB and instance DB). Easier and more elegant solution is to set AR1 address value to point to source DB, and set AR2 value to point to the destination DB, and then just write L and T instructions like this: L DBD [ AR1 , P#0.0 ] T DID [ AR2 , P#16.0 ] I have done the same thing hundred times so far, in Simatic Manager with ET200s. If I don't use AR2, I would have to first transfer data from source DB to some temp variables via AR1, then update the AR1 value to point to the destination DB, and then tranfer data via AR1 from temp variables to destination DB variables. I have tried to google this warning, and I found no posts from other users about this. |
Follow us on