Siemens: Tag data from TP1500 to CPU1513

DairyBoy

Member
Join Date
Jun 2007
Location
UK
Posts
393
Quick & basic question, TIA v15:

Is it legitimate to directly reference (load) the PV in a counter instruction from a numeric entry field in the HMI, or does it require an intermediate tag to convey the value?

Thanks.
 
Thank you, gclshortt. I guess that so long as it's in the processor then it's accessible (subject to check-boxes in DBs, where needed), but I follow your reasoning.
 
In general, people recommend against writing directly to the instance of an FB/instruction. The biggest reason is that if the value appears out of nowhere, and especially if it doesn't show up in the cross reference, someone will have a heck of a time troubleshooting things down the road.


That said, if it's well documented, and especially if it is done consistently, then it can sometimes make things simpler and clearer.
 
mk42, I can see both sides of that argument but (at least in TIAv15) the cross referencing is very good, including all HMI uses so I'll stay with it this time.
 
mk42, I can see both sides of that argument but (at least in TIAv15) the cross referencing is very good, including all HMI uses so I'll stay with it this time.


Yeah, the HMI cross reference is better than it used to be. I swear it was amazing in like 10.5 or 11, went away, and then came back again recently.


If you have an external HMI (separate portal projects, third party, etc), then you don't get that xref advantage. Portal only recently gained the ability to cross reference tags in an instance DB to both their internal use as FB locals, and external use as a "global" DB. This helps make it less crazy, but I dpn't think it handles nested multi-instance stuff.
 

Similar Topics

This feels like a simple, elementary question, but I am a Siemens novice and know there are experts here. My S7-1500 project (TIA Portal v17) has...
Replies
10
Views
2,666
Hi, Am I being daft (again)? I want to increment a tag (Integer) by 1 each time a button on the HMI is pressed. Before the button press, the...
Replies
22
Views
2,281
Recently I work on a project where my customer has WinCC as HMI, and Siemens batch as backend, and they use APL as the interface for CM and EPH...
Replies
0
Views
441
I came across this online test question about tags - has anyone taken a Siemens course and know what is meant by "scope"?
Replies
7
Views
1,415
Hi, How to define Siemens(S7-300 via MPI) plc tags in weintek HMI Mt8102? I know Communication is established but i am not defining addresses...
Replies
1
Views
1,723
Back
Top Bottom