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 Robot - PC: Communication protocols

  • tboekhorst
  • October 27, 2020 at 6:28 PM
  • Thread is Unresolved
  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • November 11, 2020 at 2:32 PM
    • #21

    Anyway You will have timing issues, because TCP/IP isn't real time capable.

    But give it a try.

  • tboekhorst
    Reactions Received
    3
    Trophies
    2
    Posts
    24
    • November 11, 2020 at 2:47 PM
    • #22

    I managed to read out the current position data of the robot by using TCP/IP in a python application.

    This is performed every 0.08 seconds (80ms).

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • November 11, 2020 at 3:03 PM
    • #23

    Calculate the distance that a robot can move within 80 ms if he has a speed of only 500 mm/s. That's pretty slow for a small Fanuc.

  • tboekhorst
    Reactions Received
    3
    Trophies
    2
    Posts
    24
    • November 12, 2020 at 9:33 AM
    • #24

    The speed of the robot will be 300 [mm/sec] in his range of motion. So calculated with messages of 80 [ms] = 2.4 [cm].

  • hermann
    Reactions Received
    407
    Trophies
    9
    Posts
    2,612
    • November 12, 2020 at 9:49 AM
    • #25

    Congrats, You have calculated correct😉.

    If that missalignment will not be a problem, OK, go for it.

    But what application are you planning, that a minimum error of 24mm doesn't matter?

  • tboekhorst
    Reactions Received
    3
    Trophies
    2
    Posts
    24
    • November 16, 2020 at 11:17 AM
    • #26

    The software on our side (FTS) has camming/gearing functionalities, which makes it possible to rectify this inaccuracy over a CamTable ( hermann)

    However, the data does indeed need to come in faster to improve synchronization. There is already a connection to FANUC's web server via TCP/IP. Nevertheless, we would like to explore the possibility of master-slave communication using R648: User Socket Msg. The license is on the controller (R30iA Mate). Furthermore, the controller does not contain a KAREL license ( Famous_Fella).

    Quote from ps0f0r

    Your best bet would be using KAREL Socket Messaging function to send and recieve positional data to and from the robot with .csv file manipulation

    Is there any information I could find on Socket Messaging R648?

    Note: This involves reading out the position data of the robot into a python program.

    Edited once, last by tboekhorst (November 16, 2020 at 11:52 AM).

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • November 16, 2020 at 12:02 PM
    • #27
    Quote from tboekhorst

    The software on our side (FTS) has camming/gearing functionalities, which makes it possible to rectify this inaccuracy over a CamTable ( hermann)

    However, the data does indeed need to come in faster to improve synchronization. There is already a connection to FANUC's web server via TCP/IP. Nevertheless, we would like to explore the possibility of master-slave communication using R648: User Socket Msg. The license is on the controller (R30iA Mate). Furthermore, the controller does not contain a KAREL license ( Famous_Fella).

    Is there any information I could find on Socket Messaging R648?

    in the above link you will find what you need:

    http://therobotguyllc.com/downloads/

    I have not developed nor maintained the above site and I am not connected to the author by any way. This is the manual you need and I found it using google service for the sole purpose of not giving you the manual myself as it is forbiden by fanuc. Chapter 11 goes in debth about Socket Messaging and how to use it.

    Here you can also check an implementation with Karel Socket messaging and a vision application. There is also Karel code you can study Socket messaging implementation between a vision system and a Fanuc robot.

    https://docs.pickit3d.com/en/2.1/robot-i…anuc/index.html

    Good luck!

  • Famous_Fella
    Reactions Received
    25
    Trophies
    4
    Posts
    131
    • November 16, 2020 at 1:18 PM
    • #28

    Hid my advice and refrain from using the Robot as a client being fed with positional data to move to. Instead use it as a server and feed its positional data as variables accepted by your FTS system to calculate its next movement. The reason behind this has already been mentioned:
    1) you don't need to cripple your robot's motion planner and look-ahead functions
    2) latency will introduce heavy motion judder, stops, and errors
    3) Its a lot easier to rely on the fact that the robot is a machine with great repeatability factors (and not so great accuracy factors). Program a good path, use strict control logic and the programmed path will have an almost perfect repeatability. Then rely on this fact to accurately program your FTS system since there is already a hardware cam implementation which dramatically raises its accuracy.

    4) It is a lot easier to program a linear system to follow a six-axis system than the opposite.

    Always when designing a new system my design approach is as follows:

    1) Identify the main parts that will form your machine. (Robot, FTS system, conveyor etc)
    2) Brake them into smaller parts or segments. (Robot = robot manipulator+controller+vision system?, FTS system cam sensors controll mode (PC/PLC), Conveyor system (motor inverters maybe, electrovalve actuators).
    3) Try to make a list of all your variables. I mean, logical system variables.
    4) Try to convert as many variables as possible into constants with your main goal being your system's robustness, integrity, repeatability.

    In your project the first thing I would convert to constants, are the facts that your FTS has great built in hardware tools towards accuracy where as your robot has all the tools you need towards repeatability. Those 2 advantages combined together would be my building blocks for a system that relies on syncronized movement.

    I would still prefer the Fanuc built-in functions, but by all means I dont want to discourage you. after all evolution comes with trial and error and your project is surely doable.

    Edited once, last by Famous_Fella (November 16, 2020 at 1:44 PM).

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

  • Dynamic control of FANUC Robot in Run-Time

    • Gokul N A
    • July 3, 2019 at 10:39 AM
    • Fanuc Robot Forum
  • Group entrance - coordinates

    • Stest69
    • May 22, 2020 at 11:46 AM
    • Fanuc Robot Forum
  • Communication between Schneider PLC and Fanuc robot

    • mathias drapier
    • May 16, 2019 at 9:09 AM
    • Fanuc Robot Forum
  • Communication with PC

    • Velcro
    • May 18, 2018 at 8:55 PM
    • Fanuc Robot Forum
  • Fanuc with Omron and Micrologix

    • Qvixote_Roux
    • August 12, 2017 at 9:44 PM
    • Fanuc Robot Forum

Tags

  • Fanuc
  • r30ia mate
  • IO
  • protocol
  • Communication
  • Python
  • realtime
  • GO
  • Group Output
  • PC
  • Fanuc robot lr mate 200iC
  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