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

KAREL SHIFT Procedure and others not Recognized by ROBOGUIDE KAREL

  • ELzekio
  • January 30, 2022 at 12:05 AM
  • Thread is Resolved
  • ELzekio
    Trophies
    2
    Posts
    1
    • January 30, 2022 at 12:05 AM
    • #1

    Hello everyone.

    To keep everything in a nutshell as best I can, I've got a project to program a r-2000iA 165F robot to emulate a task that a 420F Robot is currently running via KAREL. basically we will be swapping the old s420 and controller with the 165F + r-j3ib controller.

    I've been investigating what it would take to get the currently running Karel program to work on the new controller and robot and one thing i noticed is that some of the built-in procedures/functions that were used to program the s420 don't seem to be recognized by the Roboguide Karel Compiler.

    For example, there is a function called SHIFT that is used in the s420 Karel program to offset a position variable by a specified vector. An old "Introduction to Karel" booklet describes as follows:


    When I Try to compile my Karel program in the Roboguide editor/compiler, it tells me SHIFT must be defined before using, the same goes for the VEC command that is supposed to generate a vector.

    I have also noticed some differences in the general syntax of the Roboguide version of Karel VS the version of Karel used to program the current robot in service. For example:

    in Roboguide karel, you say SET_VAR and GET_VAR instead of SETVAR and GETVAR, CNV_STR_INT instead of CONVSTR2INT, and lots of other examples of different syntax or non-recognized functions.

    I would think if the Roboguide KAREL is a newer version, it would already recognize all the built-in procedures of a older system. Overall, I'm just curious if anyone more familiar with Karel programming has noticed this and has any understanding of what's going on, or if anyone has any way to get these functions to work on the Roboguide KAREL.

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,624
    • January 30, 2022 at 8:36 AM
    • #2

    Fanuc recommends not to use movements in Karel anymore. As the path planner of Karel is very outdated and not updated since a very long time.

  • rf103
    Reactions Received
    18
    Trophies
    4
    Posts
    264
    • January 30, 2022 at 9:41 AM
    • #3
    Quote from ELzekio

    I would think if the Roboguide KAREL is a newer version, it would already recognize all the built-in procedures of a older system.

    the version of Karel you're working with was created multiple decades ago.

    Since then, many things have changed.

    Newer versions of software don't always support everything older versions supported, and in your case, the S420 version (v2.x v4.x ?) is just too old for the Karel compiler you're trying to use (v6.x ?).

    Fanuc decided to rename routines and change how things worked. In some cases, old routines were removed.

    Quote from ELzekio

    if anyone has any way to get these functions to work on the Roboguide KAREL.

    you could implement SHIFT yourself as a Karel routine in your own program. Current versions of Karel support linear algebra, such as INV and the mixed vector and position operators. Refer to the Karel manual for their description.

    Write SHIFT yourself so you don't have to change all calls to SHIFT everywhere.

    Hermann is right though. MOVE TO is still supported, but TP programs will result in better motion (faster, smoother).

  • isai blanco
    Trophies
    2
    Posts
    12
    • February 1, 2022 at 10:07 PM
    • #4

    hi, I´m working in robotguide to make HMI, how I can download FANUC ipendant controls?

    hi,good day, my name´s isai, have a problem with a kuka krc4, I want uninstall the PLC , I want a have only the robot , but the robot has jummer x311 , is for profisafety , I cant take off "kss00404" , and I cant fit out motors , can you help me?

    (only I want a have the robot , I want a take off PLC safety)

  • hermann
    Reactions Received
    412
    Trophies
    9
    Posts
    2,624
    • February 1, 2022 at 11:33 PM
    • #5

    Crosspost with RE: HMI (html) in internet explorer

    If you are working with roboguide you don't need to download I pendant controls. They are installed with roboguide.

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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • 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
  • krc5
  • KRL
  • KUKA
  • motoman
  • Offset
  • PLC
  • PROFINET
  • Program
  • Programming
  • RAPID
  • roboguide
  • robot
  • robotstudio
  • RSI
  • safety
  • Siemens
  • simulation
  • SPEED
  • staubli
  • tcp
  • TCP/IP
  • teach pendant
  • vision
  • Welding
  • workvisual
  • yaskawa
  • YRC1000

Tags

  • Fanuc
  • karel
  • Karel programming
  • Karel compilator
  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