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. ABB 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

ABB IRC5 FlexPendant Being Used Simultaneously With Allen-Bradley HMIs and PLC Code

  • PhilC
  • July 10, 2023 at 3:18 PM
  • Thread is Unresolved
  • PhilC
    Trophies
    1
    Posts
    8
    • July 10, 2023 at 3:18 PM
    • #1

    Hello,

    I have been struggling to utilize an ABB IRC5 FlexPendant and Allen-Bradley HMIs simultaneously for the same commands. The FlexPendant has to be far away from the robot, so utilizing HMIs for the control would be tremendous help. Code is written in a PLC to transfer data to/from the IRC5 for HMI and FlexPendant control, but when trying to then use the FlexPendant as well, the HMI program gets wiped out. Ethernet/IP connection is being used. Does anyone have an idea what may be wrong? Thank you for your time!

  • SkyeFire July 10, 2023 at 3:47 PM

    Approved the thread.
  • saberdud
    Reactions Received
    6
    Trophies
    1
    Posts
    46
    • July 12, 2023 at 10:57 PM
    • #2

    What are you referring to when you say 'wiped out'? Do the commands from the HMI not work anymore? are you running in Automatic mode to control from the FlexPendant?

  • PhilC
    Trophies
    1
    Posts
    8
    • August 8, 2023 at 4:54 PM
    • #3

    Yes, automatic mode to control from the FlexPendant.

    And yes, the HMI no longer works after using the FlexPedant.

    At this point, we would like to not use the FlexPendant entirely and just use the Rockwell HMIs/PLC to control the robot, but are struggling to relinquish control to the PLC. How does one go about making the PLC the master?

  • Online
    Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,469
    Blog Articles
    7
    • August 8, 2023 at 5:33 PM
    • #4

    First off, what industrial protocol are you using for communication? The PLC ought to be the bus master and the controller a slave device. Then, you map system signals in from the PLC. For example, motors on, start program execution, stop, etc. Also system signals out to the PLC, Program executing, error, and so on.

  • PhilC
    Trophies
    1
    Posts
    8
    • August 10, 2023 at 2:25 PM
    • #5

    I'm using Ethernet IP, currently we want to run programs that are present in the robot's system already (currently being ran from the FlexPendant), from an Allen-Bradley PLC/HMI. The exact steps to run a particular program and switch between programs we are struggling to get to work correctly. The company has had a video meeting with ABB in the past, took the info, and applied it, but seem to have made an error and cannot manage to run and select programs from an HMI rather than the FlexPendant. We already have a connection established between them as the PLC relays safety IO device information to the robot to not allow it to run unless certain conditions are met. Thank you for your help and I hope it is clear enough.

  • Online
    Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,469
    Blog Articles
    7
    • August 10, 2023 at 4:03 PM
    • #6

    Typically, the PLC with give a program number via a group input. The robot program should read it and echo the number back to ensure that they match. The the PLC can give a command to commence execution of that program number. When the program is finished, the robot could give a program complete signal or another to say that it is ready for the next program to be selected.

  • PhilC
    Trophies
    1
    Posts
    8
    • August 10, 2023 at 4:17 PM
    • #7

    How does the robot program know what number corresponds with each given PLC program number? I'm struggling to see how to find assigned numbers for each part program or how to assign numbers to each part program. The group input "giEN0_ProgramSelection" is present and mapped to 8 different bits in EN_Internal_Device but I don't get how to associate those with the current programs.

    Thank you so much!

  • Online
    Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,469
    Blog Articles
    7
    • August 10, 2023 at 4:27 PM
    • #8

    Your robot program will have to be written to select the program indicated by the Group input value. The programmers get together and decide which number runs which program.

  • PhilC
    Trophies
    1
    Posts
    8
    • August 10, 2023 at 4:56 PM
    • #9

    Yes that is what I am having issues with, how do I set a number to indicate which program I mean by that number, I am the programmer but am new to ABB.

  • Online
    Lemster68
    Reactions Received
    301
    Trophies
    9
    Posts
    2,469
    Blog Articles
    7
    • August 10, 2023 at 5:23 PM
    • #10

    Real quick example:

    VAR num nProgramNumber;

    nProgramNumber := GInput (giEN0_ProgramSelection);

    TEST nProgramNumber

    CASE 1:

    myProgram1;

    CASE 2:

    MyProgram2;

    DEFAULT

    Stop;

    !Something has gone wrong

    ENDTEST

  • PhilC
    Trophies
    1
    Posts
    8
    • August 10, 2023 at 6:38 PM
    • #11

    Awesome! Thank you! I thought that may be how I should go about it but it wasn't entirely clear and I didn't want to change things without some certainty.

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

  • ABB IRC5 controller
  • PLC
  • hmi
  • Allen Bradley
  • flexpendant
  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