Siemens tia help needed

stu

Member
Join Date
Aug 2005
Location
England
Posts
783
Hi
I’m after some help , I have a plc program with a baumer verisens vision camera attached I have got the signals working ect but I have an issue with putting a parameter into to the vision to compare.
I have a product code that I would like to the vision
I have taken the product code(string) and converted to a character array and put it into a db .

I have then tried to move the data to the parameter data which starts from QB53
But I can’t see how to get the data to QB53?
I can move the parameters data to another array but not to the QB53
I only need a max of 10 characters to move ?
Can anyone tell me what I’m doing wrong?

88a6768a-2e82-4829-818a-6a00356d36cd.jpeg 88059ba7-3368-4785-8fa1-c88cb9943d70.jpeg
 
How would that work I have a db with the array all ready would I have to create the udt in the existing db

88a6768a-2e82-4829-818a-6a00356d36cd.jpeg
 
Not in the existing DB, use the "Default Tag Table," and map an instance of the UDT to %Q53.0, like @LD is saying, but like this to include the "Length of data" parameter:
Untitled.png
Caveats/Notes

  • Assumes same byte order between TIA and Verisens
  • I gotta admit, for all my whinging about Siemens and TIA Portal, this was actually pretty slick.
 
that was harder then i thought lol , i have glasses in the picture and not sure why .

thank you

qr product.png
 

Similar Topics

Good, Code Totalizer: IF ( Hour = 23) and ( Minute = 59) and ( Second = 59) THEN totalizerDay_previous : = totalizerDay; totalizerDay= 0; End_IF...
Replies
8
Views
1,567
Hi guys I have a 1500 cpu and a bout 5 drives on a machine on profnet And I would like to see the current and monitor online I have the plc...
Replies
4
Views
1,595
i have a question i have a string where i see a product number , but want to be able to if less then/ equals to 1 then turn off a input ? i have...
Replies
3
Views
1,752
hi i have had a mind blank on a tia and was wondering for a easy option . i have a trigger signal that will see a mark and set a delay timer off...
Replies
12
Views
3,307
Hi all. I'm modifying a system that's created in Tia Portal ver 14. I've changed the PLC program and added screens to the HMI sections. Regarding...
Replies
16
Views
6,162
Back
Top Bottom