Hello Guest it is April 19, 2024, 10:39:49 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - bhouin

Pages: 1
1
General Mach Discussion / Re: New Spindle Setup - Help appreciated
« on: October 10, 2013, 07:14:41 PM »
Setup should have looked like this:

MY SETUP
Kernal Speed            35,000                   
                       
Motor Outputs                     
                       
                    Enabled      Step Pin #  Dir Pin #    Dir Low      Step Low     Step port    Dir Port
Spindle         Y                14             1               X               X                2               2
                       
                       
Output Signals                     
                       
                   Enabled    Port#         Pin#           Active Low         
Output1         Y             2               16               X         
ChargePump   X             2               17              X         
                       
Spindle Setup                     
                       
    CW               Output1               
    CCW             Output1
                       
    Spindle motor output - YES             
    Step/Dir Motor - YES               
                       
Spindle Motor Tuning                     
                       
                 Steps Per    Velocity      Acceleration  Step Pulse     Dir Pulse       
                  1000           1500         31.25               3            0       
                     
                                     Pin   Type         Output     
Start/Stop                    16              Electromechanical Relay                 2     
Forward/Reverse          1                A/C Solid State Relay                     1     
AVI (SPEED)                14              Analog Output (0-10V)                   Spindle     

2
General Mach Discussion / Re: New Spindle Setup - Help appreciated
« on: October 10, 2013, 07:13:13 PM »
Arturo at CNC4PC helped me with the solution.  I had my Mach3 setup almost right :)  I needed to put 16 on output1, set both CCW and CW to output1 and put 1 in the Spindle Dir Pin#.  I am now getting solid operation in both a CW and CCW mode.  WHOO HOO!!

Arturo was extremely helpful and I can't recommend his products highly enough!

3
General Mach Discussion / Re: New Spindle Setup - Help appreciated
« on: October 10, 2013, 06:34:12 PM »
In the Spindle Setup CW is set to 1 and CCW is set to 2.

If I understand the process right an M3 would trigger Output 1 which is tied to pin 1 to flip the For/Rev switch for the 4213 For/Rev input (per attached diagram).  However, I would also think that it needs to turn on pin 16 in order to turn the spindle on.  I think this is where my issue sits as I don't see pin 16 on at that point.

4
General Mach Discussion / Re: New Spindle Setup - Help appreciated
« on: October 10, 2013, 04:00:10 PM »
Here is some additional information:

When I give a M3 S2000 the BOB has lights on pin 1 and 14 and the diagnostic page shows Output1 highlighted

When I give a M4 S2000 the BOB has lights on pin 14 and 16 and the diagnostic page shows Output2 highlighted

The M3 command does not have any affect at the spindle.

The M4 command moves the spindle CCW appropriately.

I am attaching the wiring diagram that I used for the connection between the C11G and the 4213.  The only thing not shown on the diagram is that I have the Charge pump off and a jumper between the 5v and the EN to enable the board with the charge pump off.

5
General Mach Discussion / New Spindle Setup - Help appreciated
« on: October 10, 2013, 12:12:14 PM »
I am hoping the group here can help me with a problem that I am having.

I am having issue getting my spindle to run correctly whether I select CW or CCW rotation.
I am just setting up the spindle control for the first time.  Up to this point my spindle has been controlled manually at the machine.

Here is my setup.  I have a LittleMachineShop 3900 Mini Mill (Sieg SX2).  It has a brushless motor for the spindle so I am using the LittleMachineShop 4213 spindle control board.  I have it connected to a CNC4PC C11G BOB.  I have attached my XML file for reference as well.  Wiring is per diagram Chris provided with the LMS 4213 spindle.

So using the XML posted I can get the spindle to turn CCW (M4) at whatever speed I choose.  All good here.  I can shut off the spindle with M5.  However, when I go to turn CW (M3) I get no response at the spindle.
So I started trying to figure out the setup a bit more.  I have the following core setup:

MY SETUP
Kernal Speed            35,000                   
                      
Motor Outputs                     
                      
                    Enabled      Step Pin #  Dir Pin #    Dir Low      Step Low     Step port    Dir Port
Spindle         Y                14             0               X               X                2               0
                      
                      
Output Signals                     
                      
                   Enabled    Port#         Pin#           Active Low         
Output1         Y             2               1                X         
Output2         Y             2               16              X         
ChargePump   X             2               17              X         
                      
Spindle Setup                     
                      
    CW               Output1               
    CCW             Output2               
                      
    Spindle motor output - YES            
    Step/Dir Motor - YES               
                      
Spindle Motor Tuning                     
                      
                 Steps Per    Velocity      Acceleration  Step Pulse     Dir Pulse      
                  1000           1500         31.25               3            0       
                     
                                     Pin   Type         Output      
Start/Stop                    16              Electromechanical Relay                 2      
Forward/Reverse          1                A/C Solid State Relay                     1      
AVI (SPEED)                14              Analog Output (0-10V)                   Spindle      

I based this loosely on the CNC4PC sample XML and the manuals for the C11G and the 4213.

Now, if I add a Dir Pin of 1 to the spindle setup on Port 2, I can get the spindle to turn CW using the M3, but the M4 will turn for a bit and then stop.

I would like to be able to use M3 and M4 as necessary for tapping.

Anyway, I am open to any thoughts and ideas as I am by no means a Mach expert (just learning as I go along).

6
I have been working on a part where I need to do a roughing pass with one tool and a finishing pass with another tool.  I would like to have this setup with the tool offsets in the tool table to allow me to only need to reference the z height one time at the start.  Currently I am using TTS holders for repeatability.  I have measured the heights of tool 1 and 2 and entered them into the tool table.  I have Auto Tool Change turned on in the configuration settings.  I have manually added a G43 H# (where # equals the tool number) to the end of my M6 T# code.  I have safe Z set at .25".  I referenced the work piece to the south west corner and z at the top of the stock.  the roughing pass works just great.  It then asks for tool2 and stops like it should.  However, when it starts all of the commands are now referencing Z at ~.1445 higher.  I have done a large amount of research, but what I am sure is a small item is just alluding me.  I am hoping you all on the forum might have some wonderful insight!

I am attaching some screenshots of the setup as well as the G code at each tool change.

Beginning of code:

G00 G49 G40.1 G17 G80 G50 G90
G20
(Setup 1)
(Work Zero)
G54
(Horizontal Roughing)
M6 T1 G43 H1 (.375 2FL EM)
M0
M03 S2500
G00 Z0.2500
X0.2000 Y1.2500
G01 Z-0.0249  F5.0
Z-0.0499  F7.0
X-0.0137 Y-0.1864  F10.0
X6.5113  F10.0
X6.5910 Y-0.1637  F10.0
X6.6488 Y-0.1137


Tool change code:

G01 Z-0.8351  F5.0
Z-0.8601  F7.0
X5.9941 Y-0.1837  F10.0
X6.0219 Y-0.1781
Z-0.8351  F15.0
G00 Z0.2500
(Horizontal Finishing)
M6 T2 G43 H2 (.125 2FL EM)
M03 S2500
X6.1330 Y0.0000
G01 Z-0.3226  F5.0
X6.1312 Y0.0048  F10.0
X6.1299 Y0.0214
X6.1302 Y1.2381
X6.1329 Y1.2500

Pages: 1