Siemens tia storing a string

stu

Member
Join Date
Aug 2005
Location
England
Posts
786
Hi
I have a vision camera that I’m getting the string data P908765 from the vision on an advance trigger .which im using a S -move. Then I put that into a <> to compare 3 codes.
But I’ve noticed that when the advanced trigger is not active I get drop the value.
I’m thinking I need a storage of the string so very time the code updates it stores it in the compare function and on the display,
How would you store a string, would you move the vision string to another string and then S-move that to the display
Stu
 
Yes, make a string tag in a relevant DB (or as a static of your FB, whichever), and move it in whenever a new value is available. Then have the compares and the display point to the new tag.
 

Similar Topics

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
123
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
210
I am currently am in a PLC class and need urgent help on how the ladder logic would be laid out. I understand how to get the traffic lights to...
Replies
19
Views
499
Hello, If the date on the license manager of tia Portal has expired, can I still work with it? or is this just to keep the program up to date...
Replies
7
Views
244
Does anyone know why my one string is displaying this way? It is causing issues with my HMI displaying it.
Replies
4
Views
286
Back
Top Bottom