TIA - Pointer data type insert from value from SIEMENS HMI

naturephoenix

Member
Join Date
Jan 2015
Location
Vienn
Posts
181
Is it possible to make I/O filed on HMI of POINTER data type?
Pointer data type can be either temp, IN or IN_OUT variable inside FB.


it would be great to enter and read POINTER data type value directly from HMI.
 
You can always define an HMI variable that accesses the IDB. That would make it possible to read the IDB values. TEMP is not possible (of course !).
To write into an IDB from an HMI is highly problematic, I would never do it.

You can define the address of tags by indirection. I.e. the DB is fixed, but the element is defined by another tag. Such as %DB100.DBW["Recipe_no"]
Or the DB is variable while the byte offset is fiexed, or both DB and byte offset are variable.
I have never used this functionality. Too risky for me. And if you use this with IDBs it is a disaster waiting to happen.
edit: This indirection also only works with Tags defined by absolute addresses, no symbolic addressing ! Another reason why it is not something I would use.

What is it that you want to achieve ?

I think that what you should look into, is to have one or more shared DBs with data structures defined by UDTs. You can then pass the data between the FBs in question and the shared DB via IN_OUT pins. And then you can connect you HMI to the shared DB.
 
Last edited:

Similar Topics

Hi all, Can anyone tell me if the POINTER data type is available in TIA for S7-1200 and what the format looks like? It's not listed under Data...
Replies
2
Views
4,137
Hello, Is it possible to perform operation like pointer on function. Regardless of value inside pointer or what ever variable I want to call...
Replies
2
Views
1,504
Hi PLC people, think about this scenario: The PLC is somehow connected to the same network with the facilities` network. Then someone connects to...
Replies
2
Views
51
Hello, good morning, I have been having two problems with the Tia Portal software. The first is that I have installed it on my computer and...
Replies
5
Views
172
Hello all! So I have one project with a S7-1214 and a MTP1500 "Project1" and one project with another S7-1214 "Project2". Both of these PLC:s need...
Replies
6
Views
100
Back
Top Bottom