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

Simulating PLC and/or IO in Roboguide

  • daniel.kunz
  • March 2, 2021 at 5:06 PM
  • Thread is Unresolved
  • daniel.kunz
    Trophies
    3
    Posts
    18
    • March 2, 2021 at 5:06 PM
    • #1

    Hello Everybody,

    is it possible to simulate a Soft PLC which writes register data to the robot in Roboguide?

    Also this PLC ist starting the whole process with PNS, is there a way to simulate the whole process with programm selection in Roboguide?

    Furthermore how can i simulate I/O's from a plc?

    I tried but i didnt manage to do it.

    Thanks a lot in advance.

    Greetings

    Daniel

  • TomFoolious
    Reactions Received
    11
    Trophies
    3
    Posts
    130
    • March 4, 2021 at 2:24 PM
    • #2

    There are a few options...

    1.) Use Logic Simulation Assistant under the Test-Run drop down menu. There is a help document along with this to explain how to use it. But in a nutshell, you point at a valid line of code and tell it what you want to simulate when it gets to that point...i.e. If you get to a Wait for Pounce signal in the robot code, you can simulate that the robot gets that DI: Wait for Pounce signal.

    2.) You could throw an additional blank/throwaway controller in the cell and setup I/O Interconnections between your main robot controller and this throwaway one. Then run a Background job on the throwaway controller that will look for DO's from the main robot in the form of DI's and then the throwaway can send DI's to the Main robot in the form of DO's...

    3.) Last option is to just put your simulate stuff in the robot code itself where you need it. When I do this I usually just mark around it **FOR DEBUG ONLY** and such.

    4.) Load the PMC option into the robot, bring up FANUC Robot ladder editor and write the PLC logic yourself in the ladder editor.

    I've used all methods depending on the situation. Logic Simulation Assistant I've only just started using...it's OK, a little confusing and sometimes maddening with the restrictions of where you can place simulated logic...The throwaway controller method I've used only once before and that got a little iffy because of the I/O Interconnections getting passed around - Roboguide is finicky at times and that can cause a corrupted workcell. Definitely take backups of the workcell to load back to when you are messing around with these things!

  • CarstenB
    Trophies
    3
    Posts
    5
    • September 30, 2021 at 11:18 PM
    • #3

    There are a few things we needed to do to also get remote start via PNS from an external PLC working with RoboGuide:

    1. Set variable $RMT_MASTER to "0" (we have to do that after every reboot)

    2. You can't set UIOs directly - use DI/DOs and configure them to the same rack/slot/start as the UIOs

    3. UIs and corresponding DIs need to be configured to rack 34 slot 1 (Rack 34 are the Flags)

    4. Do not simulate DIs used for UIs

    5. We needed to simulate all other DIs and GIs we wanted to set from an external PLC

    6. Make sure to set the simulation mode in RoboGuide (Run Configuration) to "No UOP Control" - Available from RoboGuide 9.1 Rev.G

    Good Luck!

  • hermann
    Reactions Received
    404
    Trophies
    9
    Posts
    2,595
    • October 1, 2021 at 10:09 AM
    • #4

    You also can get a test version of CODESYS for PC, and connect the roboguide cell with it via Ethernet/IP. Then you have a perfect simulation of your PLC, because you have a PLC.

    The demo version runs for an hour or so, then you have to restart it. Or you use an Raspberry PI with Codesys, also as test version, or as licensed version for less than 100 bucks or so.

  • test8986
    Trophies
    2
    Posts
    3
    • October 19, 2021 at 3:54 PM
    • #5

    You can directly connect Point/IO or plc to the RoboGuide . I have a working appliction with beckhoff pointio. It is just like a normal setup as an actual robot.

  • robin_gdwl
    Reactions Received
    1
    Trophies
    1
    Posts
    10
    • April 21, 2024 at 6:16 PM
    • #6
    Quote from TomFoolious

    3.) Last option is to just put your simulate stuff in the robot code itself where you need it. When I do this I usually just mark around it **FOR DEBUG ONLY** and such.

    Adding to this:

    This is usually the option I choose for all simple connections (mostly waiting for Acknowledgement bits or completion bits in the i/o).

    This has the added benefit of coming in handy on the real robot, not just in Roboguide.
    Being able to set a flag and then use IF( F[X:Simulation Flag] )THEN    to skip the acknowledgement or set a register to a dummy value is super useful.

    There are often times where the system I am interfacing with is not available or someone else is working on it or it would just take too long for something external to happen. Being able to skip these sections saves me a ton of time.

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

  • Simulate track movement in Roboguide

    • M1chilino
    • August 4, 2020 at 6:35 PM
    • Fanuc Robot Forum
  • Simulating KUKA program

    • RoboticsMan
    • July 1, 2020 at 6:21 PM
    • KUKA Robot Forum
  • Roboguide Gripper not working

    • Jerry19
    • March 27, 2019 at 8:17 PM
    • Fanuc Robot Forum
  • Roboguide virtual and real robot calibration

    • ORDEP81
    • August 13, 2018 at 4:14 PM
    • Fanuc Robot Forum
  • Roboguide help

    • Kyle0588
    • May 23, 2017 at 5:18 PM
    • Fanuc Robot Forum

Tags

  • roboguide
  • IO
  • PLC
  • somulation
  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