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

Programming robot on PC

  • PetrBroza
  • November 5, 2020 at 1:39 PM
  • Thread is Unresolved
  • PetrBroza
    Trophies
    2
    Posts
    49
    • November 10, 2020 at 5:44 PM
    • #21

    Back to the original topic.

    How do I edit *.TP program? If I open it Roboguide, I can only edit it on virtual pendant, it's just like editing program on real pendat, plus I have to import/export to real robot.

    If I export it to *.LS file, I'm editing just plain text, have to write everything manually and do import/convert/export.

    Is there other program which can make programing easier?

    I have quite a few positions/movements so I need to switch them around, rename PR registers, split them into programs, then create similar programs for second robot, which is quite time consuming on the pendant.

  • Nation
    Typical Robot Error
    Reactions Received
    537
    Trophies
    9
    Posts
    1,917
    • November 10, 2020 at 5:46 PM
    • #22

    You won't be able to access the robot's webserver from the profinet card. You have to run a short jumper ethernet cord from the card to a controller port. Also make sure the controller port and the profinet port have unique ip addresses, otherwise a conflict will occur.

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

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

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • November 10, 2020 at 7:33 PM
    • #23

    There is no dedicated IDE to make text based programming better. If you want to program in text, your best option is to find a nice text editor that has a syntax highlighting plugin/file for Fanuc TP programs.

  • PetrBroza
    Trophies
    2
    Posts
    49
    • November 11, 2020 at 7:54 AM
    • #24

    Oh wow, that's pretty expensive option just for text editor. I found plugin for notepad++, if anyone is interested (windsortech dot eu / download).

    How about PR/DIO? I didn't found a way to export them from *.VR/*.IO to *.LS to be readable for the text editor.

  • TomTom
    Reactions Received
    9
    Trophies
    3
    Posts
    49
    • November 11, 2020 at 9:49 AM
    • #25

    *.VA are the readable counterparts to the *.VR files. There's also a lot of *.DG files on the robot that contain some readable stuff. I recommend using the HTTP Server that comes with most newer robots. In RoboGuide that's accessible under the "Robot" dropdown menu and then under "Internet Explorer". Alternatively you could also connect with any FTP tool to localhost while RoboGuide is running. There are lots of files that you don't normally see.

    The PR are in POSREG.VA for example. For DIO it depends if you mean the IO configuration or the current IO signals.

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • November 11, 2020 at 3:44 PM
    • #26

    The Register and IO files cannot be compiled from text, but you can view them in text. For Registers and IO you can use the web server Comment tool as TomTom stated.

  • PetrBroza
    Trophies
    2
    Posts
    49
    • November 12, 2020 at 10:52 AM
    • #27

    Thanks gents. So if I would like to shift positions in PR around, I would have to manually reteach them or manually punch in positions coordinates, correct?

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,609
    • November 12, 2020 at 11:49 AM
    • #28

    Yes, or you can do it in a program.

  • PetrBroza
    Trophies
    2
    Posts
    49
    • November 12, 2020 at 12:18 PM
    • #29

    What do you mean by "do it in a program"?

  • hermann
    Reactions Received
    406
    Trophies
    9
    Posts
    2,609
    • November 12, 2020 at 12:30 PM
    • #30

    You wirte a program where the PR[] will be manipulated.

    Code
    PR[1,2]=PR[1,2]+100

    Shifts the Y coordinate of PR[1] for 100mm.

  • PetrBroza
    Trophies
    2
    Posts
    49
    • December 10, 2020 at 1:04 PM
    • #31

    Is there way to convert posreg.VA back to posreg.VR? I've tried to import it into OlpcPro, but it does not recognize VA file

  • HawkME
    Reactions Received
    568
    Trophies
    11
    Posts
    3,268
    • December 10, 2020 at 1:26 PM
    • #32

    No, I said in my last post you cannot do that.

    You can copy them wholesale from one robot to another. You can assign values to them programmatically. You can modify descriptions on the webserver. BUT you cannot import the .va text file, it is for your reading enjoyment only.


    I think this would be a good one to add the the Fanuc wish list.

  • PetrBroza
    Trophies
    2
    Posts
    49
    • December 10, 2020 at 1:38 PM
    • #33

    That's ridiculous, given that there is just 100 PR. Thanks for answer tho

  • TomFoolious
    Reactions Received
    11
    Trophies
    3
    Posts
    130
    • December 10, 2020 at 1:50 PM
    • Best Answer
    • #34
    Quote from PetrBroza

    That's ridiculous, given that there is just 100 PR. Thanks for answer tho

    You can expand the number of PR's if you have enough memory via Controlled Start -> Menu -> Program Setup -> Position Registers. I've had to do this in the past for a home routine that needed to retain multiple points in two jobs to bring the multi-arm controller's robots home from any taught position. I was able to go up to 285 on that setup before the controller kept wiping out any number above that number. So primitive brain Tom said "OK that's the max I can do with the memory I have". Not sure if I'm completely correct and safe to think that way, but I haven't heard anything from that customer that the home routine isn't working.

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

  • KAREL programming FANUC

    • Kawazaki02
    • September 29, 2020 at 5:18 PM
    • Fanuc Robot Forum
  • Fanuc Roboguide Grinding

    • pasu979
    • April 30, 2020 at 9:22 AM
    • Fanuc Robot Forum
  • KUKA Programming tools

    • loopindex
    • November 3, 2020 at 9:47 PM
    • KUKA Robot Forum
  • Bizarre GET_REG behavior

    • SkyeFire
    • October 26, 2020 at 7:12 PM
    • Fanuc Robot Forum
  • VKRC4 offsets

    • Roboter321
    • November 2, 2020 at 12:36 PM
    • KUKA Robot Forum
  • one doubt about a KUKA instruction.

    • danao
    • October 23, 2020 at 4:25 PM
    • KUKA Robot Forum
  • Calibration of tool using irVision

    • RudiVoller
    • October 21, 2020 at 5:09 PM
    • Fanuc Robot Forum
  • CPC programming

    • BubbaSr77
    • September 29, 2020 at 11:07 PM
    • Fanuc Robot Forum
  • Programming Styles

    • Im not a robot
    • May 30, 2019 at 9:00 PM
    • Fanuc Robot Forum
  • HELP WITH FANUC R2000ib 165 F

    • Fran94
    • February 10, 2017 at 8:39 PM
    • Fanuc 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