Hi I am very new to ignition and scripting. but I am trying to make a project for our production or quality team to be able to enter in a rack serial number and then what ever position the part is on the rack.
example they could put in rack 23 position 4. and then the plc side will run a check before the robot can execute the pick or place.
my problem is creating the script and tags for this I was wanting to make 18 check boxes for each part position and then a text box for the rack serial. and when they hit submit it uploads to the table and also updates the tags.
but my main issue comes from it currently being 2 different tags and all the check does is see if the 2 tags have a matching value so the robot will just see a value for all of the different position and stop at each one if the rack matches instead of just stopping at the 1 position we wanted for that rack
Sounds like you will need PLC and/or Robot code changes, too. Share more details.
on the plc side how we did it for just checking a rack was a bit that once the qr code is scanned the plc would run a check against the tag created on ignition and if the qr code matches what's on the tag the robot stops and wont load or unload.
what I am trying to do is add a way to instead of completely stopping you could add the part position and the robot would only pick or place tell it hits the designated position
now how i tried to do it was the same way it was set up before by just making a new tag and they whenever someone updates the table on vision it now updates 2 tags one with rack serial and one with part position.
this is where the issue came all the plc does is read the values on each tag and if you wanted say rack 10 to stop at part 5 it would see the value on the tag for rack 10 but also see values for multiple position and stop at each one since all the plc is doing is matching values
I am trying to stop it from stopping at each one and only the assign position for that rack
If that's how the PLC is coded, you have to change the PLC code. So far, nothing you've shared would lead to an Ignition script as the solution. (But an Ignition script might be part of a solution.)
Share more details, like actual tag names for all the signals involved. Perhaps a diagram of the rack.
Tip: capitalise and punctuate your posts properly for ease of reading and clarity of meaning.