[Emc-users] Is there an include directory inside NGC files, and local variables

2010-08-09 Thread Igor Chudov
I started writing some G code subroutines and I would like to know if there is a include directive (like #include in C)whereby I can #inlude library files. Also, if I use a variable like # = [#1+#2] is that a locally scoped variable inside a sub?

Re: [Emc-users] Is there an include directory inside NGC files, and local variables

2010-08-09 Thread Sebastian Kuzminsky
On 08/09/2010 11:20 AM, Igor Chudov wrote: > I started writing some G code subroutines and I would like to know if > there is a include directive (like #include in C)whereby I can #inlude > library files. > I think there's nothing that's just like #include, but there's something sort of simil

[Emc-users] EMC Lathe G Code examples.

2010-08-09 Thread Don Stanley
Hi All; With EMC 2.3.4.1 I am unable to find EMC G Code examples on the computer. I thought they were on older versions. I searched for examples and only found some on Wiki. They seem to be anything but EMC. Does anyone have, or know where to get Emc Lathe examples of Offsets, CSS and other commo

Re: [Emc-users] memory locations used by D.R.O.

2010-08-09 Thread Jim Wilkin
Thank you Andy ,got it working. On 08/08/2010 02:03 PM, Andy Pugh wrote: > On 8 August 2010 16:50, Jim Wilkin wrote: > > >> Writing a gcode program to machine a rectangle shaped part. >> Plan to touch off 3 on sides then move to the fourth side (cycle >> start) import the distance from t

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE

2010-08-09 Thread Greg Bentzinger
The Hurco KM3P has a setup somewhat like Igor's. In the KM3P (P denotes programmable spindle speed) there is a small 3ph motor with a worm gear which drives the shaft where the crank handle would be on your average BP type mill. There is a Voltac card which reads a single prox switch which coun

Re: [Emc-users] Spindle speed control with SPEED INCREASE/DECREASE

2010-08-09 Thread Igor Chudov
On Mon, Aug 9, 2010 at 7:40 PM, Greg Bentzinger wrote: > The Hurco KM3P has a setup somewhat like Igor's. > > In the KM3P (P denotes programmable spindle speed) there is a small 3ph motor > with a worm gear which drives the shaft where the crank handle would be on > your average BP type mill. >

[Emc-users] Spindle sync setup?

2010-08-09 Thread Don Stanley
Hi All; The following G Code does a great Left Hand thread but I have to lower the AXIS Spindle Override slider before spindle-at-speed will come on and start threading. The Spindle gear selected is 230 RPM max, but the spindle-rpm-cmd goes past that and is continually trying to run the spindle fa