Welcome, Guest. Please login or register.
Did you miss your activation email?
May 23, 2012, 07:13:25 PM
Home Help Login Register
News: Any Problems or Experience with Industrial Robots ?
Register and place your Question / Answer to worldwide Robotexperts right here !

+  Robotforum | Support for Robotprogrammer and Users
|-+  Industrial Robot Help and Discussion Center
| |-+  KUKA Robot Forum (Moderators: Werner Hampel, Martin H, SkyeFire)
| | |-+  Error Messages to PLC
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: [1] Print
Author Topic: Error Messages to PLC  (Read 488 times)
presage
Newbie
*
Offline Offline

Gender: Male
Posts: 10


« on: May 03, 2010, 07:00:37 AM »

I want to get the error message and possibly the notification messages from a KRC to a PLC over the devicenet.  I see that the error messages are stored in the $MSG_T variable, does anyone have any documentation or examples of how they have transferred error/notification message numbers from this variable into a SIGNAL so that I can pass each individual number out over the devicenet?

Once a error/notification message is copied, can you clear it from the error message queue so that you can transmit the next message?  In case there is more than one active error message.
Logged
SkyeFire
Global Moderator
*****
Offline Offline

Posts: 1784



« Reply #1 on: May 03, 2010, 04:32:31 PM »

Well, $MSG_T is only used for user-created messages.  The built-in robot system messages work at a deeper level, not normally accessible from KRL.

If you want to have user-created messages appear in tandem on both the KCP and a remote device, then most likely you will have to build a message-handling program that uses a common database of messages on both ends, and transmits the appropriate message number to the PLC whenever it posts one to the KCP.  Also, you can have this program respond to signals from the PLC or to buttons on the KCP, whichever.

If you want to send system messages to the PLC, that's a different proposition.  You could put a routine in the SPS that constantly checks the IsMessageSet() function against a list of system message numbers.  However, you would have to handle the different message types differently.
Logged
presage
Newbie
*
Offline Offline

Gender: Male
Posts: 10


« Reply #2 on: May 03, 2010, 10:21:54 PM »

Yes, I want to send system message numbers out fo the KRC controller without having to purchase Kuka KRmsgNET as I don't need all the function that come with this addon package.

I am using v5.5.9, is this a new function in v5.6 because I have never come across this function IsMessageSet().
Do I need to upgrade my controller software?
Logged
SkyeFire
Global Moderator
*****
Offline Offline

Posts: 1784



« Reply #3 on: May 04, 2010, 04:08:24 PM »

No, IsMessageSet() is an undocumented system function that's been around for a while.  You can learn more about it by searching for it using the forum's Search function.

Logged
Pages: [1] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!