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,134
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,501
Hello, i am using profibus as communication between plc and fanuc arm. I can easily send inputs from plc to arm, but i can't monitor any outputs...
Replies
0
Views
32
Hello, I need to write the following program in Ladder language, but I could not integrate the Fibonacci sequence into the ladder. Can you help...
Replies
17
Views
295
Back
Top Bottom