I got message create manuals but can any body tell where to write this program step by step
Message program
-
Thejesh -
January 21, 2016 at 5:45 PM -
Thread is Resolved
-
-
Which controller are you working with KRC2 or KRC4? If it is KRC4 then you can use KUKA inbuilt message program functions programmed in the module named "MsgLib.src" in the system folder. You can call these functions depending on your need anywhere in your program structure where you want to generate the message. Some of the examples would be:
CodeNotify Message Example: MsgNotify("VACUUM FAILURE","ROB",,,1) Parameter Message Example: MsgNotifyTextPar("CYCLE TIME:=%1", "ROB:", $TIMER[9],,,5)
For KRc2 you have to go through a different approach as it does not have KUKA inbuilt functions. You can copy attached code in your program or system folder and then can call the functions as below:
CodeNotify Message Example: NOTIFYMSG("HMI",1,"MY ROBOT PROGRAM-1") Parameter Message Example: NOTIFYPARAMMSG("ROB:",5,"CYCLE TIME:=%1",$TIMER[10])
Apart from this, I would strongly recommend you to go through the manual you have as it contains detailed explanation about various messages structures of KUKA robots and you can have variety of messages at your disposal.
Good Luck.
-
Thank you
-
Is it a solution to copy KRC4 MsgLib to krc2 System folder?
Will i get any error?
I am working in home office right now and i don't have here a kuka robot krc2 to test it
Thanks for your help in advance!:)
-
Sorry...
I found it finally.
User Messages to TP?