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

Running Karel Programs without pressing shift or the deadman switch

  • Frank Yeh
  • July 11, 2023 at 11:56 PM
  • Thread is Unresolved
  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    34
    • July 11, 2023 at 11:56 PM
    • #1

    First of all, I want to thank you all for the wonderful community.

    I recently wrote a Karel program to backup all files (including subfolders) on MC to a new folder in UD1.

    If there are any interests, I will share the file once I have the chance to test it.

    My question is:

    Is there a way to run the Karel program without having to hold the Deadman switch and the shift key?

    I am currently calling the backup program from a TP program.
    Using the RUN command allows me to release the shift key, but I am hoping to be able to run the backup program even in Auto mode.
    One idea comes to mind is to use a digital output to trigger the Karel program. Is there a more straightforward way to do so?

    Thank you in advance.

  • R47
    Reactions Received
    11
    Trophies
    3
    Posts
    109
    • July 12, 2023 at 7:34 AM
    • #2

    Hi Frank,

    you could Call your Karel program in a new created Macro, which you activate with a Flag or DI.

    Menü-Selct-Macro

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • July 12, 2023 at 3:55 PM
    • #3

    For remote activation, you can trigger an KAREL program using an HTTP request from a web browser, or any program that can produce browser-style requests.

    http://Robot IP address/KAREL/KAREL Program Name?chVar1="Hello"&chVar2="World"

    chVar1 and chVar2 had to be declared in the KAREL file as String variables, with those exact names.

    The '?' is the separator between program name and variable list, '&' is separator between variables.

    Max 10 variables. Variables must be strings.

    Replace the bolded items with the robot IP and the name of the KAREL program. Variables are optional.

  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    34
    • July 12, 2023 at 8:17 PM
    • #4

    R47 Thank you for the suggestion. Running it with a Macro is a very logical step. I will most likely go this route.

    SkyeFire I wish our Robot was connected to the internet, but it is not at the moment. Thank you for the suggestion, it will come in handy one day.

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,373
    • July 12, 2023 at 8:34 PM
    • #5
    Quote from Frank Yeh

    SkyeFire I wish our Robot was connected to the internet, but it is not at the moment. Thank you for the suggestion, it will come in handy one day.

    I would not connect your robot to the internet. Not without very good firewalling. Robots don't get security patches the way PCs do.

    This trick is usable over a local network as well, however.

  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    34
    • July 12, 2023 at 11:47 PM
    • #6

    SkyeFire You have a very good point. A local network would be as far as I am willing to get the robot connected as well.

  • dha
    Reactions Received
    28
    Trophies
    6
    Posts
    397
    • July 28, 2023 at 12:13 PM
    • #7

    You can do what SkyeFire suggested, but use Browser favourite shortcut with address

    Code
    /KAREL/KAREL Program Name?chVar1="Hello"&chVar2="World"
  • Frank Yeh
    Reactions Received
    2
    Trophies
    2
    Posts
    34
    • August 2, 2023 at 12:16 AM
    • #8

    dha Thank you, sir! I am currently trying to reconnect the robot to our local network. Hopefully it will be relatively straight forward.

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