June 17, 2019, 04:57:40 AM
Robotforum | Industrial Robots Community

 Do a loop

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

0 Members and 1 Guest are viewing this topic.

May 22, 2019, 08:36:58 AM
Read 225 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 04:57:40 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
1773 Views
Last post August 29, 2017, 08:25:02 PM
by bmccready
xx
loop

Started by widelec on KUKA Robot Forum

2 Replies
2435 Views
Last post October 19, 2015, 06:57:11 PM
by widelec
xx
loop

Started by job111a on KUKA Robot Forum

10 Replies
4514 Views
Last post September 01, 2014, 04:49:56 PM
by job111a
clip
Program Loop

Started by David.mms on ABB Robot Forum

5 Replies
773 Views
Last post September 04, 2018, 12:38:44 PM
by David.mms