June 27, 2019, 08:36:05 AM
Robotforum | Industrial Robots Community

 Do a loop

normal_post Author Topic:  Do a loop  (Read 263 times)

0 Members and 1 Guest are viewing this topic.

May 22, 2019, 08:36:58 AM
Read 263 times
Offline

Yaïta


Hello!
I'm new at programming Yaskawa and I would know how to do a loop.
I must move 36 pieces and pile them 6 by 6.
I tried this:
Init B0
Init Set B0=1
LABEL
MOVL  V=100
GETS P0 $P1
GETE D0=B0*
SETE P0(2) D0
MOVL P0 V= 100
INC B0
Jump LABEL if B0≤36

Thanks by advance.



Today at 08:36:05 AM
Reply #1

Advertisement

Guest

May 22, 2019, 12:08:41 PM
Reply #1
Offline

95devils


JUMP *LABEL, just like you are showing will do a loop.

Depending on generation of controller:

WHILE, ENDWHILE
FOR, NEXT
Alcohol:  The cause and solution to all life's problems

May 28, 2019, 06:46:30 AM
Reply #2
Offline

Yaïta


Thank you I'm trying that.

May 28, 2019, 01:56:50 PM
Reply #3
Offline

MIKL9Z


you should use two loop with "For" its better and more clean


Share via facebook Share via linkedin Share via pinterest Share via reddit Share via twitter

xx
How to come out from While loop after two times of loop execution

Started by rAviteja_g on Yaskawa Motoman Robot Forum

6 Replies
1798 Views
Last post August 29, 2017, 08:25:02 PM
by bmccready
xx
loop

Started by job111a on KUKA Robot Forum

10 Replies
4522 Views
Last post September 01, 2014, 04:49:56 PM
by job111a
xx
loop

Started by widelec on KUKA Robot Forum

2 Replies
2475 Views
Last post October 19, 2015, 06:57:11 PM
by widelec
xx
LOOP DX200

Started by luc.vercruysse on Yaskawa Motoman Robot Forum

5 Replies
737 Views
Last post April 30, 2018, 06:13:21 AM
by luc.vercruysse