Good Morning,
I am writing this in hopes that it may help others in their programming ventures
A small amount of background here.
I was called into the plant that I work at to bring their robots up to a more functioning and persistent operational capability. That was six months ago if not a little more. Over the previous months, prior to my arrival, there had been some six knuckles replaced on one of the IRB 6700’s that are located on the site. The first thing on my agenda was to lock everyone out of the teach pendants. So many challenges started to arise and take shape into the real issues occurring on the floor. Since properly training personnel and taking the time to clean up the RAPID, there have been zero knuckles changed and the robots here are running a normal 97 percent up time with 100 percent quality per part cut.
A true challenge this was to get to this point.
Now, part of our process here requires that a properly trained technician change a saw blade out and there is a VERY defined number for when that saw blade should be swapped out for a new blade.
We then found that having people do the job properly was an even bigger task than we had faced as of yet.
After finding that people were just not changing the blades and running them into the next shift, I decided that it was time to have the Robot track the blade change.
What an interesting journey this has been….
First issue.
I called a few, very educated and experienced, programmers and each of them had just about the same thing to say. “Joey, I am not sure if RAPID can even do that”.
Here is how I am doing it. Although, it is not completely full proof it is however a start.
The Robot is cutting and reaches the number desired in the counters.
IF ((counterPart1+CounterPart2)>=5)
OR (counterPart1>=5)
OR (counterPart2>=5) THEN
ErrWrite “Blade Change Requested”,“The Blade is past its LifeSpan”;
Operator_Login;
ENDIF
Once the ErrWrite occurs The program then shifts to The Operator Login ProCall
MODULE Blade_Caller
PROC Operator_Login()
WaitUntil Technician=TRUE;
ErrLog 4800,“The Blade was changed”,“The Saw Blade”,“was changed”,“at this time”,“Something written in here”;
Stop;
!After you change the bool data for your name YOU MUST PP TO MAIN!!!
ENDPROC
ENDMODULE
I named it “Blade Caller’ just to have a name there. It has no bearing on the Program.
The Technician must login under their username to change the VAR bool that is in the data of the program.
Once that occurs there will be an Event Logged and that person then will have ownership of the Blade Swap.
THIS IS VERY IMPORTANT.
IN THE UAS YOU MUST MAKE SURE THAT YOU, AS THE ADMIN, ARE THE ONLY PERSON WHO CAN DELETE ERROR LOGS. IF THAT IS NOT ADHEARED TOO THAN YOU ARE SETTING YOURSELF UP FOR FAILURE AND LOGS CAN JUST BE DELTED BY ANYONE.
I hope everyone has a wonderful day and please let me know if you have any questions or maybe even better advice than what I have here.
God Bless,
Joey