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
  5. Manuals, Software and Tools for Fanuc Robots (you should look here first before posting)
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

Program Call Graph Generator Web App

  • Nation
  • September 29, 2024 at 11:26 PM
  • Thread is Unresolved
  • Nation
    Typical Robot Error
    Reactions Received
    522
    Trophies
    9
    Posts
    1,900
    • September 29, 2024 at 11:26 PM
    • #1

    I've created a small web app that will generate the CALL graph hierarchy from a full MD: backup. It parses the .ls files, and looks for CALLS to other programs. Just zip up the backup, with no directories inside.

    Using this tool, you can see what programs get called from where, and if there are any isolated programs in your backup.

    Give it a try here: https://synapticrobotics-robotbackupcallgraph.web.val.run/

    Your backup is deleted after the analysis is done.

    Hovering over a program node will show what nodes it calls as orange. It will also show nodes that call it as blue. If a call is made to a program that isn't present in your backup (such as a system level karel program) it will show up as red. Programs that are present will show up as green.

    You can also click and drag nodes around if you like, and also save a high resolution .png of the graph using the button below the graph area.

    Short video of it in action:

    Call Graph.mp4

    Current issues:

    • Macro calls are not supported.
    • Run commands are not supported.

    Let me know if you have any issues with the tool.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • cattmampbell
    Reactions Received
    4
    Trophies
    1
    Posts
    16
    • September 30, 2024 at 6:45 PM
    • #2

    Whoa, this is very nice. Thank you for sharing!

  • massula
    Reactions Received
    200
    Trophies
    8
    Posts
    1,426
    • September 30, 2024 at 7:54 PM
    • #3

    Waiting for something like this for so long... thanks, Nation!

  • EnergyAddict
    Reactions Received
    45
    Trophies
    4
    Posts
    133
    • October 15, 2024 at 4:54 PM
    • #4

    I've tried uploading several different backups, and I continue to get the message:

    "Upload rejected: The zip file contains directories. Please upload a zip file with files only."


    I don't have anything other than files in the zip.

  • Nation
    Typical Robot Error
    Reactions Received
    522
    Trophies
    9
    Posts
    1,900
    • October 16, 2024 at 12:57 AM
    • #5

    Hmm. Would you message the backup to me directly? I'll debug it.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • Leviafun
    Reactions Received
    6
    Trophies
    1
    Posts
    17
    • October 16, 2024 at 4:41 AM
    • #6
    Quote from Nation

    Hmm. Would you message the backup to me directly? I'll debug it.

    I have the same issue. Can I help?
    Some backups are working, but only isolated nodes are displayed.

    I've tried to create a similar program before but just with .LS files. Why are you use MD backup and BACKDATE.DT? Are you planning to publish it to open source? Maybe I could test it or commit to it.

  • Nation
    Typical Robot Error
    Reactions Received
    522
    Trophies
    9
    Posts
    1,900
    • October 16, 2024 at 10:53 AM
    • #7
    Quote from Leviafun

    I've tried to create a similar program before but just with .LS files. Why are you use MD backup and BACKDATE.DT? Are you planning to publish it to open source? Maybe I could test it or commit to it.

    I originally had more grandiose plans for the app, mainly parsing the macro structure. That would require the sysmacro.va file.

    I made it public if you guys want to fork it. It's a bit of a hot mess, as I used the townie AI to help write it.

    You can view the source here:

    @synapticrobotics/RobotBackupCallGraph
    An interactive, runnable TypeScript val by synapticrobotics
    www.val.town

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

  • Leviafun
    Reactions Received
    6
    Trophies
    1
    Posts
    17
    • October 18, 2024 at 4:24 AM
    • #8
    Quote from Nation

    I made it public if you guys want to fork it. It's a bit of a hot mess, as I used the townie AI to help write it.

    You can view the source here:

    https://www.val.town/v/synapticrobotics/RobotBackupCallGraph

    Only one question, could you explain why backup.zip should not contain any directories?
    For example, my MD backup creates the following folders (120iC, R30iB V9.10, created in Roboguide):

    D:.
    └───MNT_DATA
    ├───DLOG
    ├───MDB
    ├───MD_LS
    ├───RSCH
    └───_BACKUP_

    LS files are located in MD_LS, and the BACKDATE.DT is located in MDB.
    So, what format does your MD backup have?

  • Nation
    Typical Robot Error
    Reactions Received
    522
    Trophies
    9
    Posts
    1,900
    • October 18, 2024 at 11:19 AM
    • #9

    I mainly did that to simplify the code on the server side.

    When I do a MD: backup, I just copy the entire contents of the MD: device into a folder via FTP. If I don't have FTP access, I do the same on the controller into a folder in the USB stick.

    Check out the Fanuc position converter I wrote here! Now open source!

    Check out my example Fanuc Ethernet/IP Explicit Messaging program here!

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