Thanks John, Andy, Chris and Christopher.
The DEBUG did what I needed for now.  I left the m3 s#71 because I 
use it to set the speed (PWM) on the little JET 9x20 and it also 
gives me a target for the SPINDLE at SPEED LED.
I still have a lot to learn about widgets. Now that I think about it 
there must be a way to read a program variable into HAL...otherwise 
it wouldn't know when to turn on the "Spindle at speed" LED.  I will 
pursue that path.

I am running 2.5.3.
My 10EE is a 1953 model with the Ward Leonard m/g drive.  The speed 
is controlled with two 50 watt rheostats ganged together so that the 
speed from 0 to about 1600 or so rpm is controlled by one of the 
rheostats increasing the field current of the generator and thus 
increasing the armature voltage of the drive motor while the drive 
motor field remains constant.
At about 300 volts out of the generator and 1600 rpm on the drive 
motor the generator field and drive motor armature voltage stop increasing.
At that point the other rheostat starts reducing the drive motor 
field current which increases the drive motor speed up to about 3600 
rpm over the rest of the travel.
I do not plan to change out the drive system.  I am sure I can modify 
the generator field drive by substituting a KB or similar DC motor 
drive and feeding a pwm signal to that in a manner similar to the way 
I control the DC drive on the JET.  I might even do something similar 
for the drive motor field.
The controls are in the fields of both the generator and drive motor 
so they are definitely not big "watt eaters"  note that the rheostats 
are rated 50 only watts.

Here is an extract from my program.  so you can see how I use the 
debug. This is obviously not the entire program.
.....................SNIP
#1 =  [1/11]  (true pitch P or distance between threads 11 tpi)
#70 = 20 (maximum z axis inches per minute threading MONARCH)
#71 = [#70/#1]  (max spindle rpms to not exceed #70 max Z axis threading speed)
#73 = 58     (included angle of thread)

(MSG, SET SPINDLE SPEED ABOUT 1400 RPM AND CLEAN UP TO NOMINAL MINUS 
ABOUT 1%... PAUSE OR 'S' TO CONTINUE)
m3 s1400 ( start spindle and rev up for fine finish)
M0 (program pause)

g4  p2    (wait 2 seconds for spindle to rev up)
G1  F2   X#6 (extract to clear backlash)
F2 G1  Z0 X0     (feed in for recess if not at end of stock)

(Make first pass at fine feed to make top of thread even)
F4.0 G1 Z [0-[#2+#14*[.5/sin[#73] ] ]]
  X #6         (extract)
m5   (stop spindle)
g0   Z0
(end cleanup cut)

(MSG, PROGRAM WILL PAUSE WHILE YOU MIKE THE OD and adjust spindle speed )
(MSG,  IF DIAMETER IS WRONG ADJUST COMPOUND, STOP PROGRAM AND RERUN)

m3 s#71  (start spindle and rev to threading speed)

(DEBUG, SET SPINDLE SPEED TO  #71  RPM  CLICK THE PAUSE BUTTON..or S 
key..TO CONTINUE)
M0   (PROGRAM PAUSE)
G4 p2  (wait 2 seconds for spindle to rev up)
.............Rest of threading program from here


Thanks again,
Cecil
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to