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

Fanuc RTCP mathematics

  • qlab
  • July 29, 2024 at 8:30 PM
  • Thread is Unresolved
  • qlab
    Trophies
    3
    Posts
    3
    • July 29, 2024 at 8:30 PM
    • #1

    Hi,

    I am the developer of the robotic plugin for Rhinoceros 3D: RhinoRobot

    I have been making post processors for major brands for 10 years, including ABB, Comau, Kuka, Kawasaki, Staubli, Fanuc, UR, Motoman, etc. , each one with its own syntax and Euler angles convention.

    Today I am facing an issue on the mathematical logic behind Fanuc's RTCP:
    For almost every other brands remote TCP works in the same way as a normal TCP, the points coordinates and rotations being expressed regarding to a robot mounted frame (usually the A6 flange's frame, but could be another one on the tool itself), along with a specific syntax but with the same mathematical calculations and Euler convention used for a normal TCP of that brand.

    For Fanuc RTCP that logic is not working and the resulting trajectory is very weird.
    I have tested all the combinations of transformations and Euler conventions I can think of without good results.

    I am in contact with Fanuc France but even them don't understand the logic used behind their own RTCP mathematical logic, and they don't want to give me the contact of a Japan colleague who could help.

    If anybody here could give me a lead on the Fanuc RTCP mathematical logic, or have the contact of a Fanuc mathematician in Japan or anywhere else, it would be greatly appreciated !

    Thanks !

  • Nation July 29, 2024 at 10:14 PM

    Approved the thread.
  • YakawFaBB
    Reactions Received
    12
    Trophies
    1
    Posts
    74
    • July 31, 2024 at 7:51 AM
    • #2

    Hi qlab

    i doubt that Fanuc France you can help you for this specific question.

    You have tried to contact Fanuc Japan to the form on their website : https://www.fanuc.co.jp/en/contact/form/index.html ?

    You can try to contact Fanuc America too (lot of development is done over there)

    i find this : https://doc.rc-visard.com/v21.07/en/pose_format_fanuc.html but i think you have already check this link and is probably insufficient.

  • Nation
    Typical Robot Error
    Reactions Received
    547
    Trophies
    9
    Posts
    1,925
    • July 31, 2024 at 3:42 PM
    • #3

    I've never really dived into that math behind it, but I figured it would be an interesting challenge. It has been interesting. I've been doing some experimentation in Roboguide, and here is what I found:

    The way Fanuc represents a remote tool center point in a program is actually the inverse of the transform from the utool it is referenced to. It leads to some pretty counter intuitive behavior of the point. Changes to the XYZ portion of the point move the opposite direction of the defined utool coordinate system, and rotations also reversed, and are preformed first, with the Cartesian move applied after. This is counter to how all other local points are defined in traditional Fanuc programs.

    The RTCP point is defined like so (Matrix math notation):

    PFaceplate = PRTCP-1 * Utool

    PRTCP = PFaceplate-1 * Utool

    I've attached an excel workbook showing the math. It uses a macro to extract Euler angels out of the matrices, so you will have to enable macros to play with it. Also, the macro is not password protected, so you can look at the math.

    Files

    RTCP Math Investigation.zip 24.09 kB – 40 Downloads

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

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

  • qlab
    Trophies
    3
    Posts
    3
    • August 1, 2024 at 4:43 PM
    • #4

    Thanks Nation , I will check this out.

    I think I already tested the inverse of the normal transform with good result in one direction but not so good in another, but if you have good results with your Excel calculation in Roboguide I will check that again.

    I tested so many different ways that I lost count... :wallbash:

    If you have time could you check with different orientations to see if it still behave correctly? I don't have access to Roboguide.

    Thanks for your time already :folded_hands:

  • DS186
    Reactions Received
    200
    Trophies
    6
    Posts
    1,072
    • August 1, 2024 at 4:55 PM
    • #5
    Quote from qlab

    I don't have access to Roboguide.

    You can use ROBOGUIDE with a 30 days trial license. Either ask your local FANUC sales rep or download it by yourself from one of the FANUC portals (depending on your location).

  • Nation
    Typical Robot Error
    Reactions Received
    547
    Trophies
    9
    Posts
    1,925
    • August 5, 2024 at 5:43 PM
    • #6

    I'm not sure If I am following. Would you be able to send your program output? That, CAD of the tool, and the RTCP path.

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

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

  • qlab
    Trophies
    3
    Posts
    3
    • August 12, 2024 at 10:53 AM
    • #7

    Sorry for my late reply, I am in a bit of holidays, what I meant was: did you check that the calculation you made in Excel ends up to the correct position/orientation also in Roboguide, and that for different pose with different orientations?

    Thanks

  • grunftz
    Reactions Received
    7
    Trophies
    3
    Posts
    21
    • March 18, 2025 at 11:14 AM
    • #8

    Nation while there is no stupid question:frowning_face:. I just wonder how to use this tool of yours. If i understood corectly RTCP Point in XYZWPR are value of remote user frame. But Utool in XYZWPR (Utool Definition) is position of tool in specific point or tooldefinition from roboGuide?

  • grunftz
    Reactions Received
    7
    Trophies
    3
    Posts
    21
    • March 26, 2025 at 2:11 PM
    • #9

    So finally i found problem, the formula needed to be in this format:


    PFaceplate = Utool* PRTCP-1 ;

    PRTCP = PFaceplate-1 * Utool;


    then the result is for both conversion work ok. Thx

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
  • help
  • RTCP
  • Euler Angles
  • Remote TCP
  • Mathematics
  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