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,144
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,509
Hey Guys, I am using a siemens IPC with a siemens RFID setup (Part numbers below). I am looking to create a screen where I can add/remove users...
Replies
2
Views
28
i am using profibus, i want to insert a hexadecimal word or byte to 4 byte like in the phot but i don't know how
Replies
6
Views
92
Hi! Is it possible to open the project I'm creating on a latest version? I'm working on TIA Portal V19, but the customer needs it on v18.
Replies
10
Views
324
Back
Top Bottom