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

Test program Kuka KRC2

  • dudz
  • April 18, 2022 at 4:50 PM
  • Thread is Unresolved
  • dudz
    Reactions Received
    12
    Trophies
    2
    Posts
    65
    • April 18, 2022 at 4:50 PM
    • #1

    Hi everyone

    In our factory we have just a one kuka robot, a KRC2 Titan Version=V5.5.16.

    And i'm the child's father

    I have experience in Fanuc robots and ABB robots, and i find a lot of difficulties to make a program on KUKA, but i got it.

    now production wants a new program for the robot and i want to minimize downtime while making the program change.

    I'm doing a program in a orangeEdit, but i wanna a way to test the program before download to robot.

    there a program to do this??

    Sorry for the english, i'm practicing :loudly_crying_face: :loudly_crying_face:

  • massula
    Reactions Received
    200
    Trophies
    8
    Posts
    1,426
    • April 18, 2022 at 6:05 PM
    • #2

    If You want to check just logic statements and program flow, the way to go should use OfficeLite, KUKA controller/KCP simulator.

    If You want also check robot positions, You also need to use KUKA.Sim, in conjunction with OfficeLite

    I think newer KUKA.Sim can simulate old arm models, but I'm not sure if KUKA sell OfficeLite for KRC2 anymore, or if work together with new KUKA.Sim.

  • dudz
    Reactions Received
    12
    Trophies
    2
    Posts
    65
    • April 18, 2022 at 6:41 PM
    • #3

    The position i already checked.

    We just have one robot and the company don't want to buy a license the OfficeLite, and from what I've seen there isn't a trial version of the OL like the kuka.sim

    i did the same logic in ROBOGUIDE e test the logic and program flow and works like i want, but i don't know if in the kuka the logic will be work

  • Online
    SkyeFire
    Reactions Received
    1,037
    Trophies
    12
    Posts
    9,369
    • April 18, 2022 at 8:15 PM
    • #4
    Quote from dudz

    The position i already checked.

    We just have one robot and the company don't want to buy a license the OfficeLite, and from what I've seen there isn't a trial version of the OL like the kuka.sim

    i did the same logic in ROBOGUIDE e test the logic and program flow and works like i want, but i don't know if in the kuka the logic will be work

    Well, without a simulator, your only testing environment will be the robot itself.

    That said, you can take steps to reduce the downtime involved. Testing the logic in RoboGuide isn't a bad idea -- basic logic is going to work the same between robot brands, aside from language differences. Like IF statements -- in Fanuc TP, IF statements can only result in JMP commands, but in KRL, an arbitrary amount of code can be placed between the IF, ELSE, and ENDIF keywords.

    General rules: modularize. Make a "logic module" where your non-motion code goes, set up as subroutines or functions that can be called from the motion routines. Make each sub/func as small and single-purposed as possible. That minimizes the number of things that can go wrong, will make troubleshooting easier, and also make it easier to translate between TP and KRL when you're trying to use RoboGuide as a logic tester.

    Create your "motion module" as a separate module, and write the "skeleton" of it in OrangeEdit. Use lots comments like "Program Pick Position 1 here". Put calls to your logic module in the correct places between these comments. Then, when you load the modules into the robot, you can just go to the correct comment, hit the Move button, and add in the motion command you want.

    When loading more than one module into the robot, load the "lowest" modules first. That is, if Module A makes calls to Module B, and Module B makes calls to Module C, load in the order C, then B, then A. That'll help avoid linking errors during load. In fact, load C first, then fix any errors found in C before loading B -- that way, if new errors occur when loading B, you can be confident that the errors are either in B, or in the calls between B and C.

  • dudz
    Reactions Received
    12
    Trophies
    2
    Posts
    65
    • April 18, 2022 at 8:50 PM
    • #5

    I will try this method SkyeFire, thanks a lot!!

    The Kuka Robots still a challenge to me, but i always want to improve :grinning_squinting_face:

  • Online
    hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • April 19, 2022 at 8:22 AM
    • #6
    Quote from SkyeFire

    .. in Fanuc TP, IF statements can only result in JMP commands, but in KRL, an arbitrary amount of code can be placed between the IF, ELSE, and ENDIF keywords.

    On newer Fanucs there is a similar IF/then/else.

  • dudz
    Reactions Received
    12
    Trophies
    2
    Posts
    65
    • April 19, 2022 at 1:19 PM
    • #7
    Quote from hermann

    On newer Fanucs there is a similar IF/then/else.

    Yes, i'm using the same program structure.

    One more question, is a problem use a lot the instruction "GOTO" in a KRL?

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,026
    • April 19, 2022 at 1:52 PM
    • #8

    That is a problem in any programming language... For humans, not for computers...

    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

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

Similar Threads

  • Endless external axis rotation

    • Acapulka
    • October 4, 2017 at 4:15 PM
    • KUKA Robot Forum
  • USED KRC2 ed05- Cannot create New program or jog the robot at all

    • RoboIvan
    • January 16, 2021 at 9:50 PM
    • KUKA Robot Forum
  • Output after power off

    • Casius
    • September 9, 2017 at 10:50 PM
    • KUKA Robot Forum
  • RSI PossCorr ABC

    • JM212
    • September 27, 2021 at 1:59 AM
    • KUKA Robot Forum
  • $MOVE_ENABLE Input not allowed or $MOVE_ENABLE Eingang nicht Erlaubt

    • Brook
    • July 21, 2010 at 9:02 AM
    • KUKA Robot Forum
  • KRC2 Motherboard - alternatives

    • Pump Parts
    • January 26, 2020 at 4:49 PM
    • KUKA Robot Forum
  • KUKA KRC2 OfficeLite 5.2.OL FLEXlm License Finder

    • EngineerTex
    • December 17, 2019 at 5:23 PM
    • KUKA Robot Forum
  • Accents in char arrays... Can this be done?

    • robotecnik
    • April 3, 2019 at 1:24 PM
    • KUKA Robot Forum
  • Connection of laptop to KRC2sr via Ethernet

    • wktan25
    • July 10, 2018 at 8:33 AM
    • KUKA Robot Forum
  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