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

FILE-008 when running Karel file

  • coffeeBean
  • October 11, 2024 at 6:01 PM
  • Thread is Unresolved
  • coffeeBean
    Reactions Received
    4
    Posts
    18
    • October 11, 2024 at 6:01 PM
    • #1

    Hello!

    I have encountered FILE-008 error, and I'm having a really rough time debugging it... As I understand from the error manual, it comes from an "Illegal Device Name", and that the device name might contain illegal characters. Great. No more info there, really.

    The interesting thing is that the same code is executed without a problem on two different CRX robots, with a slightly older SW (updated within the last year), while the one that encounters this issue is running a more recent SW version (V9.40P/63).

    There is also an older version of this code, however, FILE names used for socket communication in the code have not changed between the two versions. The older version runs fine on all of the robots.

    I've also asked for a Full Backup (without image backup) of the problematic robot, and when I ran the code in Roboguide replicated cell, I did not encounter the same FILE-008 Warning, but I also did not establish a socket connection as I do not have that setup in my Roboguide (not sure if that's even possible, as I've tried it once and did not get anywhere), in case that would give anybody a clue.

    I'm not sure if it would make sense that the robot SW version difference would be causing this issue. But how can I debug this? Seems like because of this warning, socket communication fails and cannot be established, even though the karel programs that have been started are running (checked under STATUS -> Program).

    Any advice on how to move forward with this would be greatly appreciated!

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,607
    • October 12, 2024 at 7:34 AM
    • #2

    As always on Karel programs you are digging blindfolded for a needle in a haystack.

    You must insert some debug messages or setting variables, you can observe on TP into the Karel program to debug it.

    Edit: you can compare source of old and new code to see the difference, as you said the older one runs on all robots.

  • Shellmer
    Reactions Received
    52
    Trophies
    5
    Posts
    161
    • October 13, 2024 at 4:32 AM
    • #3
    Quote from hermann

    As always on Karel programs you are digging blindfolded for a needle in a haystack.

    You must insert some debug messages or setting variables, you can observe on TP into the Karel program to debug it.

    Edit: you can compare source of old and new code to see the difference, as you said the older one runs on all robots.

    Inserting messages is the way to go to debug when you can't see the code being executed... also, keep in mind that even while karel is compiled + encrypted and you can't see what is being executed, the line number from the .pc file matches the one of the .kl file.

    So if the robot reports an error on line 8 of the karel routine and you have the karel source code, check the line 8 on the source code as it will be the same.

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

Tags

  • Fanuc
  • CRX
  • File
  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