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

modify point with Offline system

  • Zenigata
  • May 7, 2020 at 1:41 PM
  • Thread is Unresolved
  • Zenigata
    Trophies
    3
    Posts
    6
    • May 7, 2020 at 1:41 PM
    • #1

    I'm a sw developer recently I'm starting to work on a new project, I'm using for the project Officelite KS 8.5.385.

    The robot has to finish a piece that arrives from robotic cells, these pieces don't arrive in the correct position, a system of cameras with a external SW establishes the actual position of the piece and a Offline system recalculates the correct trajectory.

    How can I send a series of points to the controller that's in EXT ? without having to download the program again.

    The offline system can modify add or remove points from the original paths

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • May 7, 2020 at 2:41 PM
    • #2

    transfer points coordinates, for example using EthernetKRL

    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

  • Zenigata
    Trophies
    3
    Posts
    6
    • May 7, 2020 at 3:34 PM
    • #3

    yes, i Can use EthernetKRL or OPC for the comunication.

    change the coordinates of a point is my problem

    I'm testing with officelite to modify a point by opening the .dat file C:\KRC\ROBOTER\KRC\R1\Program

    if I change the coordinates of the point and save the file, the robot reaches the previously saved point(1), not the modified point(2)

    1:

    DECL E6POS Xp1={X 1382.27820,Y 1520.95349,Z 1848.50830,A -13.8077745,B 84.0260620,C -63.7030296,S 2,T 35,E1 0.0,E2 0.0,E3 0.0,E4 0.0,E5 0.0,E6 0.0}

    2:

    DECL E6POS Xp1={X 1482.27820,Y 1520.95349,Z 1848.50830,A -13.8077745,B 84.0260620,C -63.7030296,S 2,T 35,E1 0.0,E2 0.0,E3 0.0,E4 0.0,E5 0.0,E6 0.0}

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • May 7, 2020 at 3:48 PM
    • #4

    of course.... that folder is just a backup on the HDD. current files are on RAM drive and they are obviously not affected.

    effects would be visible after reboot or manual import of a program using HMI or import using DirectoryLoader.

    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,262
    Trophies
    11
    Posts
    13,027
    • May 7, 2020 at 4:28 PM
    • #5

    btw that is a special place as KSS is actively updating files in there. you should not touch those files due risk of corruption.

    RAM drive is even more special - it is priprietary and so far there is no open way to get to it hence need for DirectoryLoader

    this is why data exchange with KSS is not file based, it uses communication through some sort of network/fieldbus.

    KSS8.x can also read/write files such as CSV thogh there are limitations. but this is neither fast nor flexible. check READ FIRST

    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

  • Zenigata
    Trophies
    3
    Posts
    6
    • May 7, 2020 at 4:38 PM
    • #6

    Yes, I saw the DirectoryLoader package, i just downloaded the manual,

    can I load a new program from the offline system with this package ?

    thanks I'll start reading the manual

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • May 7, 2020 at 4:44 PM
    • #7

    ask questions after reading manual

    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

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • May 8, 2020 at 12:11 AM
    • #8

    DirLoader isn't what you want, I don't think. That's mostly for pulling very large offline-generated programs into the robot, or memory-swapping to get around the KRC4's (frankly ridiculous) small memory capacity.

    You need an actual communications method between the robot and the camera system. Which one depends on what options your robot has, and what your camera system supports. Almost all Cognex machine vision systems, for example, can communicate using ProfiNet or EthernetIP. If your vision system is PC-based, and supports simple communication by strings over TCP/IP, then the EthernetKRLXML (EKI) option option for the robot will make that available. OPC-UA (a subset of the "full" OPC) is possible, but would require adding that option to the robot, and that your vision system support OPA-UA.

    As Panic mentioned, there is a method to access text files from KSS 8.x, but this would have a timing issue -- how would you be able to confirm that the file the robot is pulling data from is the one most recently written by the vision system? This is why you need some sort of bidirectional communication with handshaking.

    You could try KUKAVARPROXY (look in the forum archives), but it's not a supported product, so might not be robust enough for production.

    Also as Panic mentioned, accessing the program files on the hard drive directly is a bad idea. The way KRCs work, is that they load all the operating files from the hard drive during boot, into a RAM drive in the robot's memory. Then, the robot runs from that RAM drive. The files on the hard drive are only updated periodically or on certain events, and the RAM drive is not accessible from the outside.

  • hermann
    Reactions Received
    403
    Trophies
    9
    Posts
    2,593
    • May 8, 2020 at 7:51 AM
    • #9
    Quote from SkyeFire
    ....

    As Panic mentioned, there is a method to access text files from KSS 8.x, but this would have a timing issue -- how would you be able to confirm that the file the robot is pulling data from is the one most recently written by the vision system? This is why you need some sort of bidirectional communication with handshaking.

    ....

    This is the way we do it in many systems without any issue.

    But parallel we use profinet for synchronization.

  • Zenigata
    Trophies
    3
    Posts
    6
    • May 12, 2020 at 3:41 PM
    • #10
    Quote from SkyeFire

    DirLoader isn't what you want, I don't think. That's mostly for pulling very large offline-generated programs into the robot, or memory-swapping to get around the KRC4's (frankly ridiculous) small memory capacity.

    You need an actual communications method between the robot and the camera system. Which one depends on what options your robot has, and what your camera system supports. Almost all Cognex machine vision systems, for example, can communicate using ProfiNet or EthernetIP. If your vision system is PC-based, and supports simple communication by strings over TCP/IP, then the EthernetKRLXML (EKI) option option for the robot will make that available. OPC-UA (a subset of the "full" OPC) is possible, but would require adding that option to the robot, and that your vision system support OPA-UA.

    As Panic mentioned, there is a method to access text files from KSS 8.x, but this would have a timing issue -- how would you be able to confirm that the file the robot is pulling data from is the one most recently written by the vision system? This is why you need some sort of bidirectional communication with handshaking.

    You could try KUKAVARPROXY (look in the forum archives), but it's not a supported product, so might not be robust enough for production.

    Also as Panic mentioned, accessing the program files on the hard drive directly is a bad idea. The way KRCs work, is that they load all the operating files from the hard drive during boot, into a RAM drive in the robot's memory. Then, the robot runs from that RAM drive. The files on the hard drive are only updated periodically or on certain events, and the RAM drive is not accessible from the outside.

    ok Thanks.

    the project is still under development so I have all the possibilities to develop it in the best way,

    what do you advise me to use?

  • Online
    SkyeFire
    Reactions Received
    1,038
    Trophies
    12
    Posts
    9,371
    • May 12, 2020 at 3:46 PM
    • #11
    Quote from Zenigata

    ok Thanks.

    the project is still under development so I have all the possibilities to develop it in the best way,

    what do you advise me to use?

    That depends entirely on what you need to send to the robot, and on what communications options you have available. For a vision system, you only need to probably send 6 values (X,Y,Z,A,B,C) to the robot, so doing that over ProfiNet or EIP would be easy -- assuming your vision system can use one of those.

  • panic mode
    Reactions Received
    1,262
    Trophies
    11
    Posts
    13,027
    • May 12, 2020 at 3:59 PM
    • #12

    vision result can be exchanged in many ways, including OPC, EKI, fieldbus..

    one rather crude option is to just save result as a text file that robot program can read using CWRITE.

    you can delete or remove file after use so that next time file is present indicates availability of result.

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