Edit: I know how to create a user set variable, but I am wanting to do something a little more advanced. I want to the user to type A2 and have the robot complete the A program and then the 2 portion of the program.
Yes exactly.
Hi, Robotiq is now into packaging, palletizing and sanding applications. Learn more about our new Vacuum Grippers and the Robotiq Sanding Kit. 1-888-ROBOTIQ #275 (762-6847) Follow us on
The short answer is that you compare each character with the search character and you store the position of it.
For example:
"(" will be found only at the beginning.
")" will be found only at the end.
"," will be found at each end of a parameter.
Then you need to build up each parameters.
This is a short answer but this is long to do programming each possibility with what "Kaleb" proposed : "str_at("A2", 0) " .
Maybe it would be easier to use I/O inputs or to have a PC with a simple interface to send socket messages.
The other way is the easiest and was proposed by "GrantG_1 "
Make a sequence of popup to ask and retrieve answers.
"I did a message popup with instructions to enter the integer on the next pop-up. The next line of code was operator assignment of a variable which automatically pops up number field entry screen. "
String management can be time consuming, I suggest trying a work around that match production needs to "Start Production Faster".
Hope this helps.
Regards,
David Gouffé
Integration Coach
Coach en intégration
1-418-380-2788 #275 (Outside US and Canada)
1-418-655-9221 (Cell)
I have been assigned a task where we will want to have a pop up where an operator can assign a variable. Essentially we would want the operator to enter a variable into a popup and that would call for a specific sub program. Just trying to make one program that can accomplish multiple tasks.
Thanks in advance!!!