2/25/2012 12:57 PM | |
Joined: 10/7/2005 Last visit: 1/24/2025 Posts: 3032 Rating: (1059) |
Hello fredlnord not too sure if it helps, but I can tell you that the "classic" Step 7 (e.g. V5.x) behaves in the same fashion as the TIA PortalStep 7. Any 16 bit or longer dataype (e.g.WORD, INT, REAL etc.) will be allocated an even startaddress in the DB. You can avoid your"gap" by either restructering your DB or - if you use a 1200 - by setting the DB properties to "optimized block access" when creating the DB. This new "feature" is something that only S7-1200'soffer, but you will in that case be forced to work purely symbolically and loose the ability to directly access the adresses in the DB. I hope this helps |
Cheers |
|
2/25/2012 11:40 PM | |
Joined: 7/7/2010 Last visit: 1/24/2025 Posts: 15558 Rating: (2468) |
fritz, I did a test DB with a byte, then word and it put the word at offset 1.0, not 2.0 as you might be suggesting. It was for a S7-1214C FW2.2 using TIA Portal V11 SP2, and I compiled the DB to get the offsets to appear (meaning it was not using the symbolic only access). I thought it would put them on even word boundaries, but was surprised by the behavior. Seems DB versus MW has a different behavior, hence the confusion. |
science guy |
|
2/26/2012 2:44 AM | |
Posts: 20 Rating: (0) |
Thanks for your help Fritz, I deposit a support request. i'm waiting for some information. Best regards. |
2/26/2012 2:49 AM | |
Posts: 20 Rating: (0) |
hello huggy could you take a screenshot of your dblike me. I'am interresting to show at the hotline that it's a bug. thanks. Best regards. |
Follow us on