Hello Guest it is January 28, 2022, 11:42:44 PM

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 - mike^3

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »
General Mach Discussion / Tool changer help?
« on: October 06, 2015, 09:46:57 AM »
I have a tool changer on my lathe and need some help...

Its 8 stations, and i have 4 states that come off the tool changer.

Output 6 is the output to start and stop the turret.

Tool    pin 2   pin 3   pin 4   pin 5
1   1   0   0   0
2   0   1   0   0
3   1   1   0   0
4   0   0   1   0
5   1   0   1   0
6   0   1   1   0
7   1   1   1   0
8   0   0   0   1

Can anyone help me set up this in the inputs and tool change macro?

Thank you!

General Mach Discussion / New cnc lathe turret macro ? :D
« on: October 02, 2015, 08:51:58 PM »
Hi Guys, how would I make my macro if these were the steps I wanted? For a tool changer, I have 8 inputs on my c23 board for each tool change position. inputs 1 - 8 = tool 1 - 8

goto z0.2 (machine coordinates)

activate output 6

wait for signal on input 1 (high) for tool 1 ( and input 2-8 if I want tools 2 - 8) (it is an 8 station tool changer)

if signal is not seen within 20 secs, e-stop and alarm and stat (tool changer not sensing input)

then deactivate output 6

Update current tool to selected tool, and tool offset

resume program,

Any help guys?>

General Mach Discussion / Re: Turret macro question! VERY COOL TURRET :D
« on: October 02, 2015, 07:17:12 PM »
I could slow the turret down during tool change, this would eliminate the speed issue, (small adjustment on back of turret :).

I looked in the manual, and there are 4 outputs from the encoder, I will need to power it and read the inputs to see what the logic is.

I do think mach 3 can see it quick enough to handle.

I think it would all rely on the code.

Worse case scenario is that I install 8 hall effect transistors and replace the encoder with 8 outputs and feed then right to the inputs on my card.

Yes I do have lots of inputs, 34 I think to be exact ;)

General Mach Discussion / Re: Turret macro question! VERY COOL TURRET :D
« on: October 02, 2015, 06:29:47 PM »
Hi MC,

I have never used a PLC before, and yes the turret hauls butt....do you know of a PLC I can use?

General Mach Discussion / Turret macro question! VERY COOL TURRET :D
« on: October 02, 2015, 06:10:18 PM »
 ;D ??? ::) >:D ???

Hello Mach community! I have an awesome project I am working on, with your previous help I have been able do so much :)!.

I am converting a CHNC right now, I have one prob though....

The turret is very unique...

This is the process of what should happen:

Trigger output 5 ON (lift and spins turret counter clockwise)

Wait for input (this is where it gets narly)

There is 4 wires that come off of this encoder (signal outputs 12v), yet there is 8 positions, so I am assuming there is a BCD code, like tool one = 1001, tool two = 1010

The (1) represents wire (X) is high and (0) represents wire (x) is low

So I have the outputs wired to 4 inputs on my cnc4pc c23 card.

When is gets the right output on the right inputs, then

Trigger output 6 (fires a stop dog that stops the turret)

Trigger output 5 OFF
Trigger output 6 OFF

change current tool to selected tool and current offset to selected offset.

continue program.

If you could help it would be very appreciated!!! :D

Mike ???

Thanks RICH! Hows Mach 4 lathe coming along?

Thanks rich, I'm trying to get the threading to work now lol,

I emailed ya it was the front and rear tool post selection, all must be front or rear


When using my cnc lathe, that has a rear tool post with tool changer, I can't seem to get the gcode right for cutting.

Everytime I use the lathe wizard, it thinks the tool is in the front and posts that way, how do I change it to use the rear post?

I already tried to change the tool from front to rear im mach 3, still doesnt help, it still assumes that the tool is in the front.

Any help?

Hello, here is a sample script

 If GetSelectedTool = 1 Then
  Code "G53 G0 A0"
 Code "G53 G0 A-5"
 Code"G92 A0"   
 While IsMoving()
 End If

However, I only want the tool changer that I have (8 station) to rotate in ONE direction, positive, not negative. Where it stands right now it will rotate to the g0 a0. I would like for it to go forward until it goes to the tool no matter where (360 degrees) it is at. Forward direction only, is this possible?


Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 »