Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Posted by
cnc002@a...
on 2001-05-08 08:10:41 UTC
In a message dated 5/8/01 9:54:53 AM Eastern Daylight Time,
fenerty@... writes:
The canned cycles are predefined as to what they do. Each has a
specific function such as boring, pecking, tapping, etc. You cannot redefine
the function of a canned cycle, but you should be able to use it anywhere in
the program. For instance if you wanted to bore/drill a pattern of holes you
might use G81 then define the pattern, safe Z levels, etc. You can define
the hole pattern anyway you like however, you can only do boring or drilling
with the G81 command (if G81 is the canned cycle call for boring in the
control).
Traditionally, subroutines are put at the end of the main program and
called for use within the main program.
Example:
G0 G90 Z0
X0 Y0
M98 P1
G0 Z0
X0 Y0
M30
$1
G01 Z-2 F50
X-10
Y-10
X10
Y10
Z0
M99
The program would start, go to the M98 command then look for the $1, when it
finds it then it will run the code between the $1 and the M99, when it sees
the M99 it will go back to the first line AFTER the M98 call and continue to
run the program from there. I don't know if this is the exact format used in
EMC but it is a generic example of a simple subroutine call.
Hope this is some help.
Regards,
Randy Abernathy
Woodworking Machinery Specialist
4626 Old Stilesboro Road NW
Acworth, GA 30101
Phone / Fax: 770-974-5295
E-mail: cnc002@...
[Non-text portions of this message have been removed]
fenerty@... writes:
> Thanks for all the responses. I agree, that the EMC interpreter is definitelyArt:
> not an amateur controller. It's code is very complex and can handle a great
> deal of advanced features. I would appreciate it if someone can tell me how
> to tell BobCad how to output standard Canned Cycles. I don't think EMC can
> handle subroutines due to the fact that the subroutines are contained at the
> end of the G-Code file. EMC is a top down translator, it must read the
> Canned Cycle first, store it, and then call the Cycle when it's required. Do
> I understand correctly, that a Canned Cycle is a subroutine by another name,
> or is a canned cycle limited in its application?
>
> Thanks,
> Art
>
The canned cycles are predefined as to what they do. Each has a
specific function such as boring, pecking, tapping, etc. You cannot redefine
the function of a canned cycle, but you should be able to use it anywhere in
the program. For instance if you wanted to bore/drill a pattern of holes you
might use G81 then define the pattern, safe Z levels, etc. You can define
the hole pattern anyway you like however, you can only do boring or drilling
with the G81 command (if G81 is the canned cycle call for boring in the
control).
Traditionally, subroutines are put at the end of the main program and
called for use within the main program.
Example:
G0 G90 Z0
X0 Y0
M98 P1
G0 Z0
X0 Y0
M30
$1
G01 Z-2 F50
X-10
Y-10
X10
Y10
Z0
M99
The program would start, go to the M98 command then look for the $1, when it
finds it then it will run the code between the $1 and the M99, when it sees
the M99 it will go back to the first line AFTER the M98 call and continue to
run the program from there. I don't know if this is the exact format used in
EMC but it is a generic example of a simple subroutine call.
Hope this is some help.
Regards,
Randy Abernathy
Woodworking Machinery Specialist
4626 Old Stilesboro Road NW
Acworth, GA 30101
Phone / Fax: 770-974-5295
E-mail: cnc002@...
[Non-text portions of this message have been removed]
Discussion Thread
Art Fenerty
2001-05-05 08:47:35 UTC
Re: [CAD_CAM_EDM_DRO] BoBCad Question
cnc002@a...
2001-05-06 07:07:48 UTC
Re: [CAD_CAM_EDM_DRO] BoBCad Question
Ray
2001-05-06 20:51:56 UTC
Re: Re: BoBCad Question
cnc002@a...
2001-05-07 07:40:59 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: BoBCad Question
Art Fenerty
2001-05-07 12:08:04 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: BoBCad Question
Smoke
2001-05-07 13:27:21 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: BoBCad Question
ballendo@y...
2001-05-08 03:57:09 UTC
Re: BoBCad Question
cnc002@a...
2001-05-08 04:06:11 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: BoBCad Question
ballendo@y...
2001-05-08 04:10:24 UTC
EMC interpreter was Re: BoBCad Question
Art Fenerty
2001-05-08 06:17:03 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
cnc002@a...
2001-05-08 07:29:32 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
cnc002@a...
2001-05-08 08:10:41 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Fred Smith
2001-05-08 08:22:36 UTC
EMC interpreter was Re: BoBCad Question
Fred Smith
2001-05-08 08:50:14 UTC
EMC interpreter was Re: BoBCad Question
Jon Elson
2001-05-08 09:44:06 UTC
BoBCad Question
Art Fenerty
2001-05-08 12:20:42 UTC
Re: [CAD_CAM_EDM_DRO] BoBCad Question
Alan Marconett KM6VV
2001-05-08 13:00:56 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Art Fenerty
2001-05-08 14:01:31 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Alan Marconett KM6VV
2001-05-08 16:11:45 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Art Fenerty
2001-05-08 17:05:50 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
Alan Marconett KM6VV
2001-05-08 18:10:37 UTC
Re: [CAD_CAM_EDM_DRO] EMC interpreter was Re: BoBCad Question
ballendo@y...
2001-05-08 20:03:43 UTC
canned cycles was EMC interpreter was Re: BoBCad Question
Ray
2001-05-09 12:14:10 UTC
Re: Re: EMC interpreter was Re: BoBCad Question
Mike
2001-05-09 12:19:19 UTC
Re: [CAD_CAM_EDM_DRO] canned cycles was EMC interpreter was Re: BoBCad Question
Jon Elson
2001-05-13 23:37:34 UTC
Re: [CAD_CAM_EDM_DRO] Re: Re: EMC interpreter was Re: BoBCad Question