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

Unintialised Data - Fanuc Teach Pendant

  • AK95
  • May 20, 2024 at 4:46 PM
  • Thread is Unresolved
  • AK95
    Trophies
    1
    Posts
    16
    • May 20, 2024 at 4:46 PM
    • #1

    I seem to have ran into an issue regarding homing off a table.

    I had this issue before a while back but the program was only a practice so i started again with a new program.
    However the issue now is that it's back I need to understand why it's doing this.

    I have attached an image to better understand my issue, all I need to do is call a program to home my table but when i do this i get the uninitialized data problem. Any ideas on how to sort this out is much appreciated.

    Images

    • Pendant.PNG
      • 112.45 kB
      • 720 × 869
      • 45
  • WisconsinCheesehead
    Reactions Received
    4
    Posts
    15
    • May 20, 2024 at 5:46 PM
    • #2

    Do you have an extended axis on this robot? You may need to check E1 on the PR is initialized with data.

  • AK95
    Trophies
    1
    Posts
    16
    • May 20, 2024 at 5:56 PM
    • #3
    Quote from WisconsinCheesehead

    Do you have an extended axis on this robot? You may need to check E1 on the PR is initialized with data.

    In this case i am trying to home off GP3 which consists of a rotary, tilt and linear rails and the PR's values seem to be registered correctly for these positioners.
    It seems it's that section "PR[18]=JPOS" is causing all the problems because i can skip past it and the thing homes off. Sorry I'm still very new to all this!

  • WisconsinCheesehead
    Reactions Received
    4
    Posts
    15
    • May 20, 2024 at 6:19 PM
    • #4

    Check the group mask in the 'detail' screen for that TP program and ensure it is set to (*,*,1,*,*).

  • AK95
    Trophies
    1
    Posts
    16
    • May 21, 2024 at 8:38 AM
    • #5
    Quote from WisconsinCheesehead

    Check the group mask in the 'detail' screen for that TP program and ensure it is set to (*,*,1,*,*).

    Checked that, and it looks ok it's set to the correct value. I'm contacting Fanuc today for some support as i have seen it could be down to the Karel program itself.

  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • May 21, 2024 at 9:01 AM
    • #6

    Yes the error you're getting is in the KAREL program 'HOME_TABLE'. It's using a variable that has no value assigned yet.

  • AK95
    Trophies
    1
    Posts
    16
    • May 21, 2024 at 9:18 AM
    • #7
    Quote from hoitzing

    Yes the error you're getting is in the KAREL program 'HOME_TABLE'. It's using a variable that has no value assigned yet.

    I think you are right.
    I have zero experiance with Karel so I think I'm gonna have to get support from Fanuc.

    Have to learn at some point I guess!

  • AK95
    Trophies
    1
    Posts
    16
    • May 22, 2024 at 9:23 AM
    • #8

    Little bit more digging this morning.

    I loaded that program straight into another Roboguide PC and the program worked just fine.
    However when I export it back from that PC back into my Roboguide PC i get the same error, definitely looks to me like I have a software issue....

  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • May 22, 2024 at 9:33 AM
    • #9

    It might be that the program uses a position register that is loaded on the 'other PC', while it's uninitialized on your own PC. If you have access to the source code (the *.KL file) you can easily trace the steps of the program to see if the problem is in an uninitialized KAREL variable, or a position register.

  • AK95
    Trophies
    1
    Posts
    16
    • May 22, 2024 at 10:44 AM
    • #10

    Thats great thanks!

    What steps do I need to take in order to trace the issue?

  • hoitzing
    Reactions Received
    24
    Trophies
    1
    Posts
    128
    • May 22, 2024 at 12:00 PM
    • #11

    Your original screenshot shows that it's paused at 'HOME_TABLE LINE 4', so you check what variable(s) is/are used in line 4 of the source code. If the program includes other files, this will mess up the line numbers and make debugging a bit more complex.

    To see the current values of the KAREL variables, if you have the program selected (HOME_TABLE in this case), you can go to DATA > TYPE > KAREL Vars/Posns to monitor them. This way you can manually deduce what steps in the program are successfully executed, and where it must have stopped.

    You can also post the source code of the program here so we can take a quick look at it.

  • AK95
    Trophies
    1
    Posts
    16
    • May 22, 2024 at 2:06 PM
    • #12

    Posted a picture below, however, i dont seem to have access to any variables?

    I've put the posted-out program in a txt format here as well is that right?

    Images

    • image.png
      • 37.84 kB
      • 684 × 516
      • 14

    Files

    HOME_TABLE.txt 776 Byte – 11 Downloads
  • AlanL
    Reactions Received
    22
    Trophies
    3
    Posts
    77
    • May 22, 2024 at 6:15 PM
    • #13

    Go to your PRs and shift touchup PR[18]. PRs need to be initialized before you can use them.

  • RobcadSim
    Reactions Received
    8
    Trophies
    2
    Posts
    59
    • May 23, 2024 at 3:45 AM
    • #14

    'HOME_TABLE' is not a karel pro,just a simple TP pro. You have to initialized the PR which u used in the pro.

    Manually ini the PR, just record PR[18] in anywhere ,EVERYTHING WILL BE OK.....

    Nice day~!

  • AK95
    Trophies
    1
    Posts
    16
    • May 23, 2024 at 10:07 AM
    • #15

    I tried to shift record the PR to initialise it however this still does not work I still get unintialized data problems.

    The original cell from yonks ago with the same program however works, it seems to be just this cell where it does not like the program.

    Here are some links to a video with the issue, one is called OLD CELL this is the exact same program in an older version of what I am working on which is working.
    The other one I have called NEW CELL which is the one with the Unintialized data issue.

    OLD CELL :

    Old_Cell_Test.mkv
    Shared with Dropbox
    www.dropbox.com


    NEW CELL:

    New_Cell_Test.mkv
    Shared with Dropbox
    www.dropbox.com


    Re-Recorded PR:

    Re_Recorded_PR.mkv
    Shared with Dropbox
    www.dropbox.com


    Please correct me if i have made a mistake!
    Cheers!

  • AK95
    Trophies
    1
    Posts
    16
    • May 29, 2024 at 9:23 AM
    • #16

    Ok, so interestingly I am now 99% sure this was a software bug.
    I do not have the issue anymore and literally, the only thing I did was save and rename my cell (As we had to change it).
    Very very strange.....

  • RockemSockem
    Reactions Received
    13
    Trophies
    2
    Posts
    74
    • May 29, 2024 at 1:42 PM
    • #17

    I have had issues with Karel programs when using programs compiled on older controllers. That includes TP programs; I've had issues where it appears that the arguments were not passed correctly to the Karel program when called from an old TP program. Did you copy the TP programs from the older cell?

  • R47
    Reactions Received
    11
    Trophies
    3
    Posts
    109
    • May 29, 2024 at 2:30 PM
    • #18

    hi AK95,

    how did you set Up the Group Mask of the new cell Program?

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
  • roboguide
  • teach pendant
  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