![]() ![]() ![]() ![]() ![]() ![]() |
||
![]() |
||
![]() ![]() ![]() ![]() This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc. |
||
![]() |
|
![]() |
#1 |
Lifetime Supporting Member
|
Should I be able use the AT keyword in TIA Portal
This is what I have:
xxx.pngHowever, I cannot add an overlay i.e. an AT ... in the data type. There is a description of how to use the AT keyword in the help that comes with my TIA portal. What am I missing? TIA Brian Carcich
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() |
![]() |
![]() |
#2 |
Lifetime Supporting Member
![]() ![]() Join Date: Nov 2006
Location: UK
Posts: 6,391
|
Block must be set for non-optimised access.
__________________
S7-300 to 1500 conversions done - email to s7conversions@hotmail.com |
![]() |
![]() |
#3 |
Lifetime Supporting Member
|
Thanks for the reply.
Yah, I am sure it is something silly* I overlooked, but it's not that (I am pretty sure I unchecked that box before the OP). * It is Siemens after all, and they want to be as silly as A-B, only they add unneeded complexity to try to hide it. yyy.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() Last edited by drbitboy; January 16th, 2022 at 05:18 PM. |
![]() |
![]() |
#4 |
Lifetime Supporting Member
|
P.S. there are only two auto-complete results when I type "A" in [Data Type] cell, and neither is "AT" as predicted by the help file.
yyy.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() |
![]() |
![]() |
#5 |
Member
|
1. Have you compiled the block since de-optimizing? Try that.
2. Try collapsing The_reals before adding the AT 3. Delete the row, add a new one in its place, and try selecting the data type before entering the tag name.
__________________
A few minutes with someone who loves you |
![]() |
![]() |
#6 | |
Lifetime Supporting Member
|
Quote:
1. Yes, no change 2. Done, no change 3. Done, no change Perhaps my TIA Portal (V14) predates AT functionality? I started a project from scratch, created the DB, made it standard (not optimized) access, compiled both [Software (Rebuild all)] and [Software (Rebuild all blocks)], added the Real Array and collapsed its row, deleted the (empty) row, and this was the result: zzz.png
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() |
|
![]() |
![]() |
#7 |
Lifetime Supporting Member
![]() ![]() Join Date: Nov 2006
Location: UK
Posts: 6,391
|
You cannot use AT in a DB, it can only exist in the interface of an FB/FC/OB
__________________
S7-300 to 1500 conversions done - email to s7conversions@hotmail.com |
![]() |
![]() |
#8 |
Member
|
As L_D mentioned you can do it inside a fb/fc/ob
Below i found a video showing this https://www.youtube.com/watch?v=qHL1H0qsObk |
![]() |
![]() |
#9 |
Lifetime Supporting Member
|
Ah, thank you, the help said "code blocks" but I missed it. d'Oh!
That does make it less useful.
__________________
_ Brian T. Carcich i) Take care of the bits, and the bytes will take care of themselves. ii) There is no software problem that cannot be solved with another layer of indirection. iii) Measurement is hard. iv) I solemnly swear that I am up to no good ![]() |
![]() |
![]() |
#10 |
Member
![]() ![]() Join Date: Jan 2006
Location: Finland
Posts: 1,789
|
Also on some TIA version before (14, 15?) AT command needed to be on next line from data type.
|
![]() |
![]() |
#11 |
Lifetime Supporting Member
![]() ![]() Join Date: Jun 2013
Location: MI
Posts: 2,841
|
See support site FAQ:
https://support.industry.siemens.com.../view/57132240 It doesn't NEED to be a non-optimized FB/FC, but if it is optimized the retentivity needs to be "Set in IDB" for some reason. I don't make the rules, I just try to bend them to my will. |
![]() |
![]() |
Bookmarks |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Modifying Identification and Maintenance info with TIA portal | AlfredoQuintero | LIVE PLC Questions And Answers | 9 | April 3rd, 2021 03:44 AM |
TIA Portal v15 - does it overwrite v14 / v13? | uptown47 | LIVE PLC Questions And Answers | 20 | March 8th, 2019 03:59 AM |
run Step 7 without TIA Portal | dmned64 | LIVE PLC Questions And Answers | 4 | June 7th, 2017 06:39 AM |
License for TIA Portal ( from S7 to TIA ) | Oliver Micka | LIVE PLC Questions And Answers | 2 | November 29th, 2016 07:40 AM |
Siemens OP77B Trouble in TIA Portal | Tim James | LIVE PLC Questions And Answers | 4 | December 24th, 2012 03:27 PM |