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

Pstart command running programs simultaneous

  • kristofv
  • February 29, 2024 at 9:14 AM
  • Thread is Resolved
  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 9:14 AM
    • #1

    Hello All,

    I'm trying to run two programs simultaneous.

    One with a turn table S1 and one with the robot R1.

    The goal is that the (welding) robot goes to it's cleaning station while the turn table gets in position to save time.

    I'm using the Pstart command.

    the turntable program is made in group S1

    the robot program is made in group R1

    However, if I make a test program were i put two Pstart commands for either job it does not work.

    Nor does it work when I use the Pstart command for one program inside the other program.

    Does this have something to do with the sub1, sub2, .... tasks?

    Could someone give an example of how to put it in the controller.

    (YRC1000)

    Thank you all in advance for the help!

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • February 29, 2024 at 11:04 AM
    • #2

    The main program must be a NO GROUP PROGRAM.

    JOB1 in S1 OR R1(but no for a NO GROUP, coz is used by the main)

    JOB2 in a different group from JOB1(but no for a NO GROUP, coz is used by the main)

    The pwait are optional.

    /JOB

    //NAME MAIN

    //POS

    ///NPOS 0,0,0,0,0,0

    //INST

    ///DATE 2023/12/14 12:15

    ///ATTR SC,RW

    ///LVARS 0,0,0,0,0,0,0,0

    NOP

    PSTART JOB:JOB1 SUB1

    PSTART JOB:JOB2 SUB2

    PWAIT SUB1

    PWAIT SUB2

    END

  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 11:19 AM
    • #3

    Thanks for the quick reply!

    I can understand the part between NOP and END.

    Could you clarify the above or is this just as an example and not useable data?

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

  • 95devils
    Reactions Received
    234
    Trophies
    8
    Posts
    1,947
    • February 29, 2024 at 11:41 AM
    • #4
    Quote from kristofv

    Thanks for the quick reply!

    I can understand the part between NOP and END.

    Could you clarify the above or is this just as an example and not useable data?

    The job is an example of what you would see when it is opened in a text editor. Name of the job, number of positions in the job, date and time of the last edit, etc. It is information that is viewed in other screens on the pendant.

    I know a thing or two, because I’ve seen a thing or two. Don't even ask about a third thing. I won't know it.

  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 11:54 AM
    • #5

    Thank you guys!

    I will give it a go!

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 12:46 PM
    • #6

    So I gave it a go and the controller doesn't give an error but the programs do not run.

    It just goes to END.

    I've uploaded a picture of the main job and will upload a picture of the 2 other programs right away.

    Images

    • 423541802_736478014911766_6613427195484844130_n.jpg
      • 126.75 kB
      • 900 × 1,200
      • 4

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 12:46 PM
    • #7

    Here are the other 2

    Images

    • 428409447_1083419672896972_8642174006155045104_n.jpg
      • 144.47 kB
      • 900 × 1,200
      • 2
    • 423735506_932437268238761_3550265539608301151_n.jpg
      • 131.26 kB
      • 900 × 1,200
      • 3

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

  • roboprof
    Reactions Received
    24
    Trophies
    4
    Posts
    469
    • February 29, 2024 at 3:29 PM
    • #8

    Switch between SINGLE mode and MULTI mode. Either hold down SHIFT and press 4, or go to SETUP - TEACHING CONDITIONS and switch between SINGLE and ALL there (near the bottom of the screen)

    If you are in SINGLE mode, nothing will happen when you do INTERLOCK+TEST START. You have to be in MULTI mode instead.

  • kristofv
    Reactions Received
    4
    Trophies
    2
    Posts
    51
    • February 29, 2024 at 4:12 PM
    • #9

    I changed the single mode and it works perfect!

    Thanks roboprof , 95devils and Motouser for your help!

    This is what i do, that doesn't mean it's the right way to do it. :smiling_face:

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

  • yaskawa
  • YRC1000
  • PSTART
  • simultaneous
  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