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

Beginner question

  • Ecohollywood
  • July 27, 2020 at 3:53 PM
  • Thread is Unresolved
  • Ecohollywood
    Trophies
    3
    Posts
    2
    • July 27, 2020 at 3:53 PM
    • #1

    Hi I’m new here,

    I’m working with a dx200, and a two ferris wheel rotator, I was wandering if there is a way (if so the easiest ) to have a program run for “x” cycles then stop,

    thanks.

  • Go to Best Answer
  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • July 28, 2020 at 1:24 PM
    • #2

    Welcome to the forum......:beerchug:

    Ecohollywood I think this belongs in the Yaskawa Motorman board so I've moved it.

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • kwakisaki July 28, 2020 at 1:24 PM

    Moved the thread from forum Kawasaki Robot Forum to forum Yaskawa Motoman Robot Forum.
  • Robodoc
    Reactions Received
    56
    Trophies
    7
    Posts
    1,057
    • July 28, 2020 at 2:51 PM
    • #3

    Yes, you can increment a variable (INC command in ARITH) and then jump IF that variable is less than "x".

    Robodoc

  • Lemster68
    Reactions Received
    295
    Trophies
    9
    Posts
    2,454
    Blog Articles
    7
    • July 28, 2020 at 3:36 PM
    • Best Answer
    • #4

    Or Decrement and repeat if it is greater that 0. You could also choose to do a While loop.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • July 29, 2020 at 12:00 AM
    • #5

    Is there no specific command that can be used, or ( Robodoc and Lemster68) is it only manageable through boolean, logic and arguments?

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Lemster68
    Reactions Received
    295
    Trophies
    9
    Posts
    2,454
    Blog Articles
    7
    • July 29, 2020 at 2:41 PM
    • #6

    I am no Motoman guru, I just know some stuff that we use here. With a DX200 there may even be a FOR loop available.

  • 95devils
    Reactions Received
    230
    Trophies
    8
    Posts
    1,934
    • July 29, 2020 at 3:05 PM
    • #7

    If the cell came from the US there are already canned jobs dumped in. There is already a counter set up in the CLEAN job. I000 is used as the part counter. The counter is reset in the CLEAN job. In the Robot WORK-A or Robot WORK-B at the bottom is the INC I000.

    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.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • July 29, 2020 at 7:59 PM
    • #8

    Ah right..............

    In Kawasaki they have a program command: EXECUTE program name, execution cycles, step no.

    So in essence a simple instruction:

    EXECUTE main,10

    Would execute the main program 10 times without the requirements of boolean, logic or conditional arguments etc.

    I take it Yaskawa Motorman do not have this type of 'language' available to it.......?

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • Lemster68
    Reactions Received
    295
    Trophies
    9
    Posts
    2,454
    Blog Articles
    7
    • July 29, 2020 at 8:04 PM
    • #9

    I am not familiar with anything like that.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • July 29, 2020 at 8:39 PM
    • #10

    Ah ok.......Not that I'm involved with Yaskawa, I thought I would participate from 'knowledge build' perspective, always interested to learn about other OEM offerings and how 'they' do it...

    View my channel at Industrial Robotics Consultancy Limited - YouTube

  • vmec
    Reactions Received
    7
    Trophies
    3
    Posts
    41
    • August 3, 2020 at 1:13 AM
    • #11

    I doubt you can't get it any better than a FOR or WHILE statement. They are not fixed, you can nest, you can use variables and, most importantly, you can write inside whatever you want.

  • Motouser
    Reactions Received
    39
    Trophies
    4
    Posts
    288
    • August 18, 2020 at 3:24 PM
    • #12
    Quote from kwakisaki

    Ah right..............

    In Kawasaki they have a program command: EXECUTE program name, execution cycles, step no.

    So in essence a simple instruction:

    EXECUTE main,10

    Would execute the main program 10 times without the requirements of boolean, logic or conditional arguments etc.

    I take it Yaskawa Motorman do not have this type of 'language' available to it.......?

    Display More

    Hi,

    I'm a bit late...I was in holidays.

    Yeah this is a very big difference between kawasaki and yaskawa.

    On kawa side you have a "prompt command"(very very useful) in which you can use a lot of instruction, simply in yaskawa there is not.

    The most important, in my opinion, is the way you have to recall a main program:

    On kawasaki side you have to PRIME and of course you can do it from the terminal viceversa on yaskawa side you have a dedicated menu in which you set a master job that will be called each time you put the robot in automatic mode.

    I've not enough experience but maybe even on kawasaki could exist this way of prime/call master.

  • kwakisaki
    Reactions Received
    694
    Trophies
    11
    Posts
    4,770
    • August 18, 2020 at 3:53 PM
    • #13

    Motouser

    Not going to go off topic.....but briefly

    Quote from Motouser

    On kawasaki side you have to PRIME and of course you can do it from the terminal viceversa on yaskawa side you have a dedicated menu in which you set a master job that will be called each time you put the robot in automatic mode.

    I've not enough experience but maybe even on kawasaki could exist this way of prime/call master.

    Prime just loads the program into the stack (prepares it), whereas Execute will clear what is currently in the stack and execute it as long as all safety conditions are met, in repeat mode, teach lock off and motor power on and a program is not currently under execution.

    Also, Kawasaki has the feature of auto priming a master program (not well documented though).

    It's quite common for clients to have it configured as soon as you set the dedicated automatic output or go into repeat mode, to auto prime the master program.

    Ask it in the Kawasaki Board and I'll explain more there.................

    View my channel at Industrial Robotics Consultancy Limited - YouTube

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

  • Beginner, error checking

    • hosendo
    • March 16, 2020 at 10:15 AM
    • Kawasaki Robot Forum
  • Internal I/O signal in AS language - Beginner question

    • Jaksi
    • July 15, 2020 at 3:01 PM
    • Kawasaki Robot Forum
  • DataRecorder

    • Beginner
    • February 19, 2019 at 9:44 AM
    • KUKA LBR IIWA
  • Beginner Question on Speed Settings

    • Blaret and Clue
    • January 7, 2019 at 4:05 AM
    • Fanuc Robot Forum
  • HELP WITH FANUC R2000ib 165 F

    • Fran94
    • February 10, 2017 at 8:39 PM
    • Fanuc Robot Forum
  • Robotstudio (beginner question)

    • unsaint43
    • January 15, 2017 at 9:25 PM
    • ABB Robot Forum

Tags

  • Programming
  • Yaskawa dx200
  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