4/15/2011 7:39 PM | |
Joined: 4/5/2006 Last visit: 8/13/2023 Posts: 642 Rating: (131) |
Hello, i think you must use LIR and TIR. Regards
André Räppel --------------------------------------------------------------------------------- www.raeppel.de work faster withinnovative PLC-Tools |
4/16/2011 3:19 AM | |
Joined: 10/7/2005 Last visit: 5/6/2024 Posts: 3004 Rating: (1046)
|
Hello ziko so called "Absolute memory access" via for example LIR/TIR commands as suggested by sps-conceptwill certainly be one way to do it.
Another way is to manipulatethe Data block start address (DBA, e.g. add an offset to it) which can be done via commands or via inbuilt system OB's in some but not all S5 CPU's (e.g. OB180 in a 928B CPU). The first thing to do in your case is to grab the manual for your CPU (do a search for it @ https://support.automation.siemens.com) as S5 CPU's differ in their memory structure and available commands/inbuilt system OB's. I hope this helps and please make sure to let us know what S5 CPU you have shouldyou come back here with more questions. |
Cheers |
|
4/17/2011 1:33 PM | |
Posts: 4 Rating: (0) |
thnx sps-concept, it's worthy to give try..i'm going to try |
4/17/2011 3:38 PM | |
Joined: 10/7/2005 Last visit: 5/6/2024 Posts: 3004 Rating: (1046)
|
Hello ziko please check you CPU part number again, a 984 does NOT exist so I presume you mean 948. If so, OB180 does exist in it too (just like in a 928B) and would be the easiest way to do what you want to do (certainly easier and less fraud with danger than using Absolute memory access via LIR/TIR commands). Attached is anextract from the manual about OB180 and should you need to copy a bunchof words you'll find that OB182 will come in handy. I hope this helps AttachmentCPU948 - OB180.pdf (60 Downloads) |
Cheers |
|
4/19/2011 1:39 AM | |
Joined: 10/7/2005 Last visit: 5/6/2024 Posts: 3004 Rating: (1046)
|
That's exactly what OB180 allows you to do dear ziko |
Cheers |
|
Follow us on