June 27, 2019, 09:02:26 AM
Robotforum | Industrial Robots Community

 Is there any print function in KRL?

normal_post Author Topic:  Is there any print function in KRL?  (Read 2593 times)

0 Members and 1 Guest are viewing this topic.

June 10, 2014, 05:27:10 AM
Read 2593 times
Offline

ravi.joshi53


I have written some code in KRL. I wanted to debug the program to see the values assigned to variables.

I wanted to know is there any print function in KRL? If not then what are the ways to debug the program and check variables?


Thanks

Today at 09:02:26 AM
Reply #1

Advertisement

Guest


June 10, 2014, 06:34:11 AM
Reply #2
Offline

Fubini


Hi,

you can use either Display->Variable->Single and enter your variables there. Or you could use the C-like printf() function we did some time ago (see attachment for a KRC 4 implementation, will not work on KRC2 due to the changed message handling). Please note that we are not able to support this implementation.

Finally you could use CWrite/CRead which since KRC4 also supports file operations:
http://www.robot-forum.com/robotforum/kuka-robot-forum/krc4-save-baseframe-in-a-file-with-date-and-hour/msg55503/#msg55503

Fubini
« Last Edit: June 10, 2014, 06:44:15 AM by Fubini »


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
print a message?

Started by AiSard on KUKA Robot Forum

5 Replies
794 Views
Last post June 20, 2018, 07:06:27 AM
by AiSard
xx
Log the print messages

Started by Alexandru on Kawasaki Robot Support Forum

3 Replies
2930 Views
Last post June 27, 2015, 01:04:16 PM
by kwakisaki
xx
variable print out

Started by mike mitchell on Yaskawa Motoman Robot Forum

4 Replies
1830 Views
Last post October 29, 2013, 12:09:04 AM
by Robo Guru
xx
I need to print a .TP program from All Above

Started by rmontalvo76 on Fanuc Robot Forum

5 Replies
5373 Views
Last post March 20, 2015, 03:10:23 PM
by andreic