Hello
Guest
it is
December 04, 2023, 08:10:50 AM
Guest
Login
Register
Menu
Home
Help
Search
Calendar
Members
Members
View the memberlist
Search For Members
Login
Register
YouTube
Machsupport Forum
/
Mach Discussion
/
General Mach Discussion
/
loops and nested loops. Can I use my bridgeport programs?
« previous
next »
Print
Pages:
1
Go Down
Author
Topic: loops and nested loops. Can I use my bridgeport programs? (Read 4010 times)
0 Members and 1 Guest are viewing this topic.
bart
4
loops and nested loops. Can I use my bridgeport programs?
«
on:
June 15, 2006, 05:58:26 PM »
I have just installed the trial mach 2 into my new control. Mach 2 didn't recognize my loop commands (=N0010/25) Do I need to rewrite my programs? bart
Logged
Graham Waterworth
2,638
Yorkshire Dales, England
Re: loops and nested loops. Can I use my bridgeport programs?
«
Reply #1 on:
June 15, 2006, 07:24:54 PM »
Loops are done in mach with :-
M98 P100 L25
M98 = call sub program with loop code in
P100 = program number to call
L25 = number of times to call sub program.
Graham.
Logged
Without engineers the world stops
Brian Barker
3,857
Re: loops and nested loops. Can I use my bridgeport programs?
«
Reply #2 on:
June 15, 2006, 07:25:02 PM »
Are you talking about looping a Sub? If so it is the Q number that sets the number of times it is run
Logged
Fixing problems one post at a time
www.newfangledsolutions.com
www.machsupport.com
bart
4
Re: loops and nested loops. Can I use my bridgeport programs?
«
Reply #3 on:
June 16, 2006, 01:31:01 PM »
Thanks, I used your format and created a loop subroutine. I'll keep working on the nested loop. bart.
Logged
bart
4
Re: loops and nested loops. Can I use my bridgeport programs?
«
Reply #4 on:
June 17, 2006, 09:25:55 AM »
Hi guys, machine is running on mach 2 trial version. I had to use P with O and Lwith Q. Nested subroutines works well. Thank you for your help.
Logged
Print
Pages:
1
Go Up
« previous
next »