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. Yaskawa Motoman 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

CALLING PROGRAM FROM PLC TO MOTOMINI/GP8/GP12

  • randz113
  • January 17, 2019 at 2:44 AM
  • Thread is Resolved
  • randz113
    Trophies
    3
    Posts
    15
    • January 17, 2019 at 2:44 AM
    • #1

    Good Day!


    I just want to ask help on how to call programs in Motomini/GP8/GP12 from PLC.

    Example condition:

    I have 2 or more different programs with different functions, I want to call each program using PLC.
    Do I need to use master job?
    Is there a function in YRC1000 that can solve this inquiry?
    I already have communication in PLC so there's no problem on I/O Signals.


    I knew how to use CALL Function but I think this is only used inside the YRC1000 programs (calling programs on programs).


    Thank you very much in advance.

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • January 17, 2019 at 4:37 PM
    • #2

    Hi

    Use a master job. You have to declare it
    For the IO, pick any group of I/O and send the value from PLC word
    The program could be

    if gi1 = 1 call prg1
    if gi1 = 2 call maintenance

    You could write this program many different ways

    Retired but still helping

  • randz113
    Trophies
    3
    Posts
    15
    • January 18, 2019 at 11:25 AM
    • #3

    Hi Sir Fabian Munoz

    Thank you very much!

    I understand it but I will also ask, is this master job always running and ready to accept any signal?
    On your example:

    ::Master Job
    if gi1 = 1 call prg1
    if gi1 = 2 call maintenance

    If the prg_1 is running inside the master job, then I turn on the signal to call maintenance, will the maintenance program will work even
    without CALL Maintenance inside Prg1?


    Thank you very much for the help.

  • Fabian Munoz
    Reactions Received
    133
    Trophies
    9
    Articles
    1
    Posts
    1,517
    • January 18, 2019 at 3:28 PM
    • #4

    No ,
    for maintenance to run, call prg1 has to be finished AND gi1 = 2
    It's a sequential loop. One operation at the time
    Even if prg1 is done, if prg1 is not 2, program will go to the end, then start again,

    Retired but still helping

  • randz113
    Trophies
    3
    Posts
    15
    • February 18, 2019 at 5:04 AM
    • #5

    Hi Sir Fabian Munoz,

    Thank you for the detailed information.
    Sorry if my response was very late.

    I made a program following your instructions then it really works.
    I'm now working with YRC1000 GP8 and GP12 Force Sensor and also Motomini Robot Arm.

    Thank you very much again for the help.


    Best Regards,

    randz113

  • bzoccol1
    Trophies
    3
    Posts
    5
    • March 21, 2019 at 3:42 PM
    • #6

    Hello,

    I am currently trying to do something similar to this from a PLC. I am sending a byte from the PLC to the robots external input. Not sure which data type to use in the robots program to monitor the full byte in the master job. I understand the logic I can use to call different jobs from the master job, just don't know which data type to select in my program. Any help would be appreciated.

    Thanks

    Quote from Fabian Munoz


    Hi

    Use a master job. You have to declare it
    For the IO, pick any group of I/O and send the value from PLC word
    The program could be

    if gi1 = 1 call prg1
    if gi1 = 2 call maintenance

    You could write this program many different ways

  • randz113
    Trophies
    3
    Posts
    15
    • March 22, 2019 at 11:30 AM
    • #7

    Hi,

    Like what Sir Fabian Munoz said about this conversation, there are many ways to write the program specially when using Master Job.
    You may also switch working jobs using the state of general purpose Input Signals.
    For example, use the IN#1 to IN#8 as the signal for specifying the type or use any Input Signals.
    Please output the signal of the job you want to work from PLC.
    The robot checks the state of the signal and executes the allocated work job.

    JOB ; MASTER

    DIN B000 IG(#01)
    CALL WORK-A IF B000=1
    CALL WORK-B IF B000=2
    CALL WORK-C IF B000=3
    CALL WORK-D IF B000=4

    There you have it, you can switch jobs.
    Hope this will help you.

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

Users Viewing This Thread

  • 1 Guest
  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