Hello everyone.
Introduction: first time implementing automatic external in a Kuka robot ( kr16-2 controller KRC4 ).
1- I add a lot of trouble when trying to choose the program based on the "selected bit" -> PGNO_TYPE 1
I couldn't select the program at first try. Sometimes after 3 or 4 attempts I was able to change the program. But i never could figure out how or why. It looked like the "synchronization time" was not ok everytime. I was sending pulses like it's supposed to in the integrator manual. Does anyone have a ladder example?
2- What's the point of using cell.src, if i can run,cancel and start a regular program from sps.sub? Do i actually need the BCO check XHOME or can i remove it?
3 - Can i simply add code to sps.sub to select programs at runtime, based on the fact that i'll have only 4 progs?
Something like
IF $IN[1] ;PROGRAM SELECTION
cancel/r1/programs/myProgram()
run/r1/programs/myProgram()
ELSEIF $IN[2]
cancel/r1/programs/myProgram()
run/r1/programs/maintenancePos()
ENDIF
IF $IN[10]
start/r1/prgrams/myProgram()
ELSEIF $IN[20]
start/r1/prgrams/maintenacePos()
ENDIF
Display More
The robot and robot cell are already on the way to the final customer and I'm gonna install it next week. So.. any additional information can either be neutral or very usefull to me
Thank you