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 - PLC communication

  • CrazyRobo
  • November 16, 2018 at 10:38 AM
  • Thread is Resolved
  • CrazyRobo
    Guest
    • November 16, 2018 at 10:38 AM
    • #1

    Hi guys,
    I'm an amatour in robots programming, because I don't have many chances to work with it at my university, but:
    We have a fanuc robot, and Siemens PLC with HMI panel, and I was wondering if it is possible to controll robot moves from HMI panel buttons and send informations about current position from robot to PLC. We don't have any software for the robot like roboguide so I can only use teach pendant.
    If you know if it is possible, and know how to solve this I would be grateful for your help.
    :help:

  • dewitm
    Reactions Received
    3
    Trophies
    3
    Posts
    99
    • November 16, 2018 at 12:12 PM
    • #2

    'control robot moves' can mean a lot of things, do you mean:
    1. Jogging the robot
    2. Select a predefined position and move the robot to that position
    3. Use calculations based on inserted values on hmi and move to the calculated position...

  • bidzej
    Reactions Received
    23
    Trophies
    4
    Posts
    592
    • November 16, 2018 at 1:27 PM
    • #3

    You want to jog ther robot from the PLC/HMI?
    If so, write a couple of macros for each axis and direction and use DIs to call these macros.

    For example, a macro for moving J1 in + could look like this:

    Code
    PR[1] = JPOS
    PR[1,1] = PR[1,1] + 1
    J PR[1] 100% CNT100

    Then, in Macro Setup, assign a DI to this macro. Assuming that all conditions for running a motion macro are satisfied, the macro will be executed as long as the DI is ON, which will result in jogging the robot by 1 deg. with each iteration.

    Repeat this for all axes and directions, possibly both for joint and linear motion (which will differ by JPOS/LPOS and motion type).

  • CrazyRobo
    Guest
    • November 16, 2018 at 1:47 PM
    • #4

    Sorry for not specifying the movement.
    I would like to create 12 buttons on my HMI similar to these on teach pendant and use it in the same way as on TP World mode and show the current position on HMI.

  • bidzej
    Reactions Received
    23
    Trophies
    4
    Posts
    592
    • November 16, 2018 at 1:49 PM
    • #5

    So you have your answer above. Be aware, that these motion macros will only be executed in AUTO, with the TP switched OFF, safety IO etc.

  • CrazyRobo
    Guest
    • November 18, 2018 at 1:21 AM
    • #6

    Ok, thanks for your help guys, but there is a little problem.
    Firstly, can I show the current position on the HMI panel, and if yes - how can I do this?
    We have only 6 DI available so if I understand you correctly I'm able to do movement only in 3 axes, so - is there any other way to achieve this movement control with only 6 DI?

  • Sergei Troizky
    Reactions Received
    67
    Trophies
    6
    Posts
    650
    • November 19, 2018 at 10:47 PM
    • #7

    What communication protocol(s) does your robot support now?
    Is there anything listed below Flag in the I/O menu?

    What HMI?

    Do it well right away. It will become bad by itself.

  • CrazyRobo
    Guest
    • November 19, 2018 at 11:20 PM
    • #8

    In the I/O menu we have range 109-120 DI and DO assigned to rack 34 so as I guess - they are flags
    Except that we have also 81-88 DI/DO assigned to rack 48 - address mapped I/O for LR Mate Peripheral connectors
    HMI panel - Simatic TP700 comfort

  • Sergei Troizky
    Reactions Received
    67
    Trophies
    6
    Posts
    650
    • November 20, 2018 at 12:10 AM
    • #9

    I did not ask about assignments.
    Is anything listed after Flag in I/O menu, after pressing F1-TYPE?

    Do it well right away. It will become bad by itself.

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