Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Posted by
diazden
on 2001-01-05 00:09:08 UTC
Alan, Matt and the list;
back in 1983 when I started c.n.c programming the controller that the machine
used to came with, had what I believe the best way of defining subroutines and
variables, for example you could define your subroutine at the beginning of the
program , as per example
g57r1 ( definition of subroutine)
G00 X0.Y50.
ZV1(use variable 1 for Z)
G1 G42 HV2 Y10.
G1 X30.
G00Z10.
G40X0Y0
G58( subroutine ends)
T1 m6
f.1s1000m3
G00Z25 T1 01
G55V1A-10. V2A2.(Z = -10. remember ZV1 above, HV2 offset for G42=2MM )
G59R1( exec the subroutine)
I firmly believe that the above method is much more easier to learn vs the
other systems like Fanuc as you need on a separate program for each
subroutine with the disadvantage of having to move between programs every time
that you have to alter something on the subroutine.The advantage of the Fanuc
system is that you can alter most of the machine parameters within the program
that is executing via variables but I think that it is a bit dangerous? and I have
got no need of doing that on 17 years
hope that this helps
mariano
Matt Shaver wrote:
back in 1983 when I started c.n.c programming the controller that the machine
used to came with, had what I believe the best way of defining subroutines and
variables, for example you could define your subroutine at the beginning of the
program , as per example
g57r1 ( definition of subroutine)
G00 X0.Y50.
ZV1(use variable 1 for Z)
G1 G42 HV2 Y10.
G1 X30.
G00Z10.
G40X0Y0
G58( subroutine ends)
T1 m6
f.1s1000m3
G00Z25 T1 01
G55V1A-10. V2A2.(Z = -10. remember ZV1 above, HV2 offset for G42=2MM )
G59R1( exec the subroutine)
I firmly believe that the above method is much more easier to learn vs the
other systems like Fanuc as you need on a separate program for each
subroutine with the disadvantage of having to move between programs every time
that you have to alter something on the subroutine.The advantage of the Fanuc
system is that you can alter most of the machine parameters within the program
that is executing via variables but I think that it is a bit dangerous? and I have
got no need of doing that on 17 years
hope that this helps
mariano
Matt Shaver wrote:
> Alan Marconett KM6VV wrote:
>
> > I have been thinking of adding variables. NIST
> > uses #nnn for a variable name. Not very intuitive (no disrespect
> > intended as I admire the efforts of NIST; but variable NAMES are a lot
> > easier to work with). CNCpro has variables, might be same/similar.
> > What's the standard (ha)? I'm inclined to "do my own", you know how us
> > programmer types are. ;>)
>
> Most commercial controls have three or four digit numbered variables
> (usually called parameters in the documentation). They're used for all
> kinds of purposes including configuring the behavior of the control and
> displaying the state of internal logic terms. I figure that's where NIST
> got the idea to use numbered, rather than named, variables.
>
> Matt
>
> Welcome to CAD_CAM_EDM_DRO@...,an unmoderated list for the discussion of shop built systems, for CAD, CAM, EDM, and DRO.
>
> Addresses:
> Post message: CAD_CAM_EDM_DRO@egroups.com
> Subscribe: CAD_CAM_EDM_DRO-subscribe@egroups.com
> Unsubscribe: CAD_CAM_EDM_DRO-unsubscribe@egroups.com
> List owner: CAD_CAM_EDM_DRO-owner@egroups.com, wanliker@...
> Moderator: jmelson@... [Moderator]
> URL to this page: http://www.egroups.com/group/CAD_CAM_EDM_DRO
> FAQ: http://www.ktmarketing.com/faq.html
> bill,
> List Manager
Discussion Thread
ballendo@y...
2001-01-03 19:09:24 UTC
Re: Scanner/Digitizer skip function/probe details?
Alan Marconett KM6VV
2001-01-03 20:14:38 UTC
Re: Scanner/Digitizer skip function/probe details?
Matt Shaver
2001-01-03 22:55:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
dave engvall
2001-01-04 09:04:46 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Alan Marconett KM6VV
2001-01-04 12:56:07 UTC
Re: Scanner/Digitizer skip function/probe details?
Lee Studley
2001-01-04 16:30:19 UTC
Re: Scanner/Digitizer skip function/probe details?
dave engvall
2001-01-04 17:12:31 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Alan Marconett KM6VV
2001-01-04 21:59:42 UTC
Re: Scanner/Digitizer skip function/probe details?
diazden
2001-01-05 00:09:08 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Smoke
2001-01-05 08:38:22 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
ballendo@y...
2001-01-05 09:04:08 UTC
Re: Scanner/Digitizer skip function/probe details?
ballendo@y...
2001-01-05 10:13:05 UTC
RE:Re: re: Scanner/Digitizer skip function/probe details?
Andrew Werby
2001-01-05 10:58:56 UTC
Re: Scanner/Digitizer skip function/probe details?
Smoke
2001-01-05 11:57:03 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Alan Marconett KM6VV
2001-01-05 13:04:11 UTC
Re: Scanner/Digitizer skip function/probe details?
ballendo@y...
2001-01-05 14:09:36 UTC
Re: Scanner/Digitizer skip function/probe details?
Alan Marconett KM6VV
2001-01-05 14:33:51 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
Smoke
2001-01-05 15:25:56 UTC
Re: [CAD_CAM_EDM_DRO] Re: Scanner/Digitizer skip function/probe details?
ballendo@y...
2001-01-05 16:36:27 UTC
re:Re: Scanner/Digitizer skip function/probe details?
ballendo@y...
2001-01-05 16:50:12 UTC
Re: Re: Scanner/Digitizer skip function/probe details?