1. Home
    1. Dashboard
    2. Search
  2. Forum
    1. Unresolved Threads
    2. Members
      1. Recent Activities
      2. Users Online
      3. Team Members
      4. Search Members
      5. Trophys
  3. Articles
  4. Blog
  5. Videos
  6. Jobs
  7. Shop
    1. Orders
  • Login or register
  • Search
This Thread
  • Everywhere
  • This Thread
  • This Forum
  • Articles
  • Pages
  • Forum
  • Blog Articles
  • Products
  • More Options
  1. Robotforum - Support and discussion community for industrial robots and cobots
  2. Forum
  3. Industrial Robot Support and Discussion Center
  4. Fanuc Robot Forum
Your browser does not support videos RoboDK Software for simulation and programming
Visit our Mainsponsor
IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Sponsored Ads

sending active alarms to PLC through profibus

  • RKind
  • November 22, 2018 at 7:55 AM
  • Thread is Resolved
  • RKind
    Trophies
    3
    Posts
    31
    • November 22, 2018 at 7:55 AM
    • #1

    Hello All,

    I am willing to send active alarms in robot to the PLC over Profi-bus protocol. ( using R-30ic controller)

    Active alarms like Tucker faults or welding faults in robot pendent wanted to show on HMI. Adding to this, tucker device is having more than 750 alarms.


    Your help is highly appreciated!


    Thank you

  • Sergei Troizky
    Reactions Received
    69
    Trophies
    6
    Posts
    651
    • November 22, 2018 at 8:49 PM
    • #2

    Error Code Output J527 is a paid option.

    Do it well right away. It will become bad by itself.

  • RKind
    Trophies
    3
    Posts
    31
    • November 23, 2018 at 8:18 AM
    • #3

    Isn't any other option for sending alarm ???
    :help:
    I am not sure about this but is it possible to receive alarm code from tucker system in one byte and just send it to plc. and later plc will display those alarm code using data block.

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • November 23, 2018 at 12:11 PM
    • #4

    It is possible to send the alarm to the PLC with 2 GroupOutputs.
    However, you will only recieve the code, not a string. So you will still have to look it up.

  • RKind
    Trophies
    3
    Posts
    31
    • November 23, 2018 at 12:33 PM
    • #5

    hello dewitm,

    I only need to send alarm code and not the complete string. and you said it is possible sending only code, how do we do that :help:

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • November 23, 2018 at 2:24 PM
    • #6

    Make a program with (in my example called: COND_ERROR):

    Quote

    1: WHEN UO[6:Fault]=ON+,CALL ERROR_OUTPUT ;
    2: WHEN UO[6:Fault]=OFF-,CALL ERROR_OUTPUT ;

    Another program with (in my example called ERROR_OUTPUT):

    Quote

    CALL ERROR_TO_REG(10) ;
    MONITOR COND_ERROR ;


    The (10) is the register where the code is written to, when you see the karel-code below, the register after the input is also used. So you will recieve the error in register 10 and 11 with my example, choose freely your own registers.

    Karel-program with:

    Quote

    PROGRAM error_to_reg
    %NOLOCKGROUP
    %NOPAUSE= COMMAND + TPENABLE + ERROR
    %NOBUSYLAMP
    %NOABORT = ERROR + COMMAND
    %COMMENT= 'ERROR SEND'

    VAR
    par_no,par_typ,par_int,int_reg:INTEGER
    par_real:REAL
    par_str:STRING[10]

    seq_num,error_code,cause_code,time_int,severity,STATUS :INTEGER
    error_string,cause_string,prog_nam:STRING[40]
    prog_stop:BOOLEAN

    BEGIN
    par_no=1
    GET_TPE_PRM(par_no,par_typ,par_int,par_real,par_str,STATUS)
    IF (par_typ=1) AND (STATUS=0)THEN
    int_reg=par_int
    ENDIF

    ERR_DATA(MAXINT, error_code, error_string, cause_code, cause_string, time_int,severity, prog_nam)
    SET_INT_REG( int_reg,error_code DIV 1000,STATUS)
    SET_INT_REG( int_reg+1,error_code MOD 1000,STATUS)


    END error_to_reg

    Display More

    Perform a controlled start
    Change next variable: $TPP_MON.$GLOBAL_MT
    To $TPP_MON.$GLOBAL_MT=2

    Restart controller with cold start [FCTN -> Cold Start]

    Make a condition monitor with ERROR_OUTPUT
    Menu > 0 > Status > Type: Condition
    System: COND_ERROR

    Register 10 = Facility Code
    Register 11 = Error Code

    Example: Facility Code: 11 stands for SRVO

    Good luck!

  • RKind
    Trophies
    3
    Posts
    31
    • November 23, 2018 at 2:44 PM
    • #7

    Thank you dewitm :dance2:

    I have checked these codes and its working perfect.

    Can i ask you one more thing, is it possible to seperate robot error and slave devices error?

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • November 26, 2018 at 8:14 AM
    • #8

    Hi,

    Never worked with slave devices before. What kind of slave devices do you mean?

  • RKind
    Trophies
    3
    Posts
    31
    • November 26, 2018 at 9:05 AM
    • #9

    Hello,

    currenly I am working on Tucker device (stud weld) and willing to pass on all the errors from tucker device to the plc.

    :help:

    thank you in advance

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • November 27, 2018 at 8:14 AM
    • #10

    Sorry, really don't know how to do that.

Advertising from our partners

IRBCAM
Robotics Channel
Robotics Training
Advertise in robotics
Advertise in Robotics
Advertise in Robotics

Job Postings

  • Anyware Robotics is hiring!

    yzhou377 February 23, 2025 at 4:54 AM
  • How to see your Job Posting (search or recruit) here in Robot-Forum.com

    Werner Hampel November 18, 2021 at 3:44 PM
Your browser does not support videos RoboDK Software for simulation and programming

Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Thread Tag Cloud

  • abb
  • Backup
  • calibration
  • Communication
  • CRX
  • DCS
  • dx100
  • dx200
  • error
  • Ethernet
  • Ethernet IP
  • external axis
  • Fanuc
  • help
  • hmi
  • I/O
  • irc5
  • IRVIsion
  • karel
  • kawasaki
  • KRC2
  • KRC4
  • KRC 4
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • robodk
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000
  1. Privacy Policy
  2. Legal Notice
Powered by WoltLab Suite™
As a registered Member:
* You will see no Google advertising
* You can translate posts into your local language
* You can ask questions or help the community with your knowledge
* You can thank the authors for their help
* You can receive notifications of replies or new topics on request
* We do not sell your data - we promise

JOIN OUR GREAT ROBOTICS COMMUNITY.
Don’t have an account yet? Register yourself now and be a part of our community!
Register Yourself Lost Password
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on Google Play
Robotforum - Support and discussion community for industrial robots and cobots in the WSC-Connect App on the App Store
Download