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. KUKA 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

Programming KRC to send program state message via email

  • Marco
  • August 6, 2016 at 3:44 PM
  • Thread is Resolved
  • Marco
    Reactions Received
    3
    Trophies
    3
    Posts
    116
    • August 6, 2016 at 3:44 PM
    • #1

    Hi there,
    Maybe some of you already did it. I would like to get my Kuka to send an email to a specific address when a program is started, when it is finished, possibly every 25% of completion of the program and whenever there is a stop for some mistake within the code. I did some research on this but I could not find any litterature about any of this goals. When I process very long milling files would be good to have this updates system. Do you have any suggestion?
    Best,
    Marco

    Kuka KR150-2 KRC2 ed05 V5.6.11<br />VFD TDE Macno<br />Spindle HSD ES915 with Automatic tool changer<br />Sprutcam 11

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • August 6, 2016 at 11:23 PM
    • #2

    i can think of many ways to do this but ... what is your system? what KSS? any tech packages?

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Marco
    Reactions Received
    3
    Trophies
    3
    Posts
    116
    • August 7, 2016 at 1:01 AM
    • #3

    I have krc2 ed05 with system version 5.6.11, no tech packages. I could implement it using an Arduino board with an Internet shield, but of course I would prefer to use the KRC hardware directly.

    Kuka KR150-2 KRC2 ed05 V5.6.11<br />VFD TDE Macno<br />Spindle HSD ES915 with Automatic tool changer<br />Sprutcam 11

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • August 7, 2016 at 3:03 AM
    • #4

    it is easy to write email client in many languages (C#, VN.NET, AutoIT) but getting such application aware of what goes on inside KRL is another story. of course one can use EthernetKRL for example or OPC etc. for most people low cost solution would be more interesting even if it means some sacrifices. on KRC2 one could use RS232 and CWRITE. on KRC4 one could use CWRITE and file access.

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • Marco
    Reactions Received
    3
    Trophies
    3
    Posts
    116
    • August 7, 2016 at 9:10 AM
    • #5

    Got it, I guess that a little interface developed through Arduino (even if it is not a solid industrial solution) is going to be the most suitable option considering my knowledge then. I was looking at the system variable book to find out if there is a variable that tells the total length of the program (total number of lines) and current line while the program is running but I could not find it. Having access to the number of line showed in the KCP at the bottom of the display when the program is running would be perfect. Do you know how to get this numbe out?

    Kuka KR150-2 KRC2 ed05 V5.6.11<br />VFD TDE Macno<br />Spindle HSD ES915 with Automatic tool changer<br />Sprutcam 11

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • August 7, 2016 at 11:14 AM
    • #6

    i am unaware of exact thing you are asking for since line numbers displayed on HMI screen are .... messed up. they are ok as relative reference, since line number values change depending on if folds are open or not etc.

    the best thing i can think of is $PRO_IP variable. or more precisely: $PRO_IP.SNR_C

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

  • panic mode
    Reactions Received
    1,268
    Trophies
    11
    Posts
    13,040
    • August 7, 2016 at 11:17 AM
    • #7

    forgot to mention, that is going to show you line number precisely - IF you activate all editor options (display DEF, open all folds, display ASCII view). in a programs like your there are hardly any inline forms so even without activating all editor options you will still be quite close....

    1) read pinned topic: READ FIRST...

    2) if you have an issue with robot, post question in the correct forum section... do NOT contact me directly

    3) read 1 and 2

    Edited once, last by panic mode (August 7, 2016 at 11:19 AM).

  • Marco
    Reactions Received
    3
    Trophies
    3
    Posts
    116
    • August 7, 2016 at 12:27 PM
    • #8

    Ok, I found the description of these variables in the manual, I will explore how to use them. Because to calculate the % of program executed I just need to read automatically the total number of lines (blocks) and the number of the current block being executed, from there through Arduino I can do all other steps I need. Thanks!

    Kuka KR150-2 KRC2 ed05 V5.6.11<br />VFD TDE Macno<br />Spindle HSD ES915 with Automatic tool changer<br />Sprutcam 11

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