1) Thanks Fubini. I will make even this work.
2) These is what I remembered reading (am new was reading tons so I remembered it)
11.6 Programming
KRL code Almost all KRL instructions can be used in a SUB program. The following
statements are not possible, however:
Statements for robot motions
Robot motions can only be interpreted by the robot interpreter. For this
reason, SRC programs containing motion commands cannot be called as
subprograms from a SUB program.
Statements referring to robot motions
These include BRAKE and all TRIGGER statements.
3) If I code
...
PTP p1
LIN p2
LIN p3
...
no approximation or spline, the steps are such that the robot moves to p1, p2 and p3 NOT with constant speed it accelerates, and decelerates noticeably.
3) The robot program is in KRC:\R1, I was hoping the subroutine can be parked anywhere else even if the program is compiled and not line interpreted.
THANKS for all your answers.