Hello Guest it is September 28, 2020, 08:05:45 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 - Mcgyver

Pages: « 1 2
General Mach Discussion / Re: Home switches
« on: March 23, 2008, 04:56:12 AM »
@wil tower,

Take your multimeter and confirm that all switches are connected in Normally Closed  position. The most limit switches have 3 connections, one common, 1 normally open and one normally closed. so confirm you have used the right pins on the limit switch. When you have connected the 3 limit switches in series check again on the 2 wires at the ends if they are normally closed. If you are sure about that connect everything to the parallel port.

In mach config/ports and pins you have to configure this:

Lets assume that your limit switches are mounted in the most positive side of each axis.....

x++....enabled..... port1......pin12.....active low(red cross).....emulated(red cross)
XHome...enabled...port1....pin12....active low(redcross)...emulated(redcross)
X--...enabled...port1...Pin12(doesnt matter what you put in here).....activelow(redcross..also doesnt matter)....emulated(GREEN CHECK)

The configuration as shown above you are using 1 switch for each axis, the switch is used for both homing and X++. the X-- switch is emulated, this way you can configure mach with software limits so you dont have to use 3 other switches for the lowest limit.

In the configuration shown above you have the option to wire a external e-stop button through to the limit switches.
If you use normally open switches you would have to need 3 inputs instead of one. most commenli used system in limit switches is the normally closed system.

If you are using a Breakout board with resistors on each input and with a voltage on one of the input pins you can hook up the stuff directly. If you want to connect it DIRECTLY to the parallel port try using 5V from your USB, hook up the Minus from the usb to gnd, connect the plus from the usb to first wire of your limit switches, the second wire of your limit switches to pin 12 through a 10Kohm resistor.

Good luck!

General Mach Discussion / Re: OEM code cycle jog step
« on: March 16, 2008, 04:23:03 PM »

Yeah got it thanks!

General Mach Discussion / Re: OEM code cycle jog step
« on: March 16, 2008, 04:38:22 AM »
thanks Ill try that!

I thought i've tried it before and every axis moved in the same time but i'll give it a go later on todat.

How do I get in to the button controll menu?

I've searched in the brain editor but i can't find the oem code list in there...

Thanks a lot for all the reply's



General Mach Discussion / Re: OEM code cycle jog step
« on: March 15, 2008, 01:45:13 PM »
then how can i make an oem trigger to use the same function as the ref all button? ???

General Mach Discussion / Re: OEM code cycle jog step
« on: March 15, 2008, 01:32:05 PM »
heey thats quick hahah

thanks I will try!

Do you also have the oem code for the same function as ref all in the mach screen?

I'm now using oem code 105. But this is not entirely the same as the ref all button.  with the code 105 i need to connect every reference switch to a seperate input and not in series because all the axis move at the same time.



General Mach Discussion / OEM code cycle jog step
« on: March 15, 2008, 12:49:44 PM »
Heey everybody!

I need to find the OEM code to cylce the jog step in the mpg window in mach.  I would like it to have the same function as the "cycle jog step" button.
I've searched in the mach wiki but ik cant seem to find it... does anyone know what the code should be?

I can only find the codes to select one step value, therefore i would need to have 10 buttons. I would like to do it with one to cycle trought the values



General Mach Discussion / Re: mach3 problem with operator interface
« on: March 08, 2008, 04:55:56 AM »
ok i'll try that.

I found the oem codes in the mach wiki they are 108 and 109.

The interface hasnt got preselected codes, you heve to tell the interface what keyboard buttons he has to simulate.

I can add up to 24 buttons and 4 rotary prints to the interface (now i already have 23 buttons hooked up which are all working, jogging functions etc)

The way to program the board is first to push the desired button on the keyboard and then pushing the knop on my controll board. the rotary buttons are the same.

First I'll try connecting 2 regular buttons to the  rotary input and see what happens. maybe the ratary's are to fast or something...



General Mach Discussion / Re: mach3 problem with operator interface
« on: March 08, 2008, 04:02:30 AM »
@ jimpinder

thanks for the reply,

The rotary knop isnt connected to the mach BOB I use.
If you click on the link below you will find my operator interface


The operator interface is connected in series with the cable from my pc keyboard.

I can add several buttons to the interface and program a keystroke from the pc keyboard.
So I dont have to write macro's for it.
The rotary knobs give oute pulses that will simulate pushing a button on the pc board in my configuration I'm using them for spindle speed and feedrate.

You are right that the spindle has nothing to do with it because I'm altereing the values by software and not with a normal potentio meter trough my mach BOB.

Best regards


General Mach Discussion / mach3 problem with operator interface
« on: March 08, 2008, 03:11:19 AM »
Hi everybody!

I hope I've posted this topic in the right spot.

I'm currently retrofitting my emco pc mill 50 to mach 3 witch a bob board from cncdirect.za

Everything works well only for one thing:

I've made a controll panel on my emco using a operators interface and 2 rotary knobs also from cnc direct


One rotary knob i'm using to toggle the spindle speed, every "klick" on the knob alters the spindle speed 10% incremental and works just fine!

For the feedrate I configured 2 oem buttons and hotkeys to toggle the feedrate. When I push the keys on the pc keyboard the feedrate alters nicely  in steps of 10% incremental (100%, 90, 80 etc.)
When I program the rotary knob for the feedrate i have to turn the knob quite a lot to alter the feedrate instead of one klick= 10% incr.

I've tried reprogramming the operators interface, using another port on he interface, programmed the other knob for the feedrate etc.... But it stil workst weird.
The knobs are technically in order with no malfunction but mach reacts weird on the pulses of the rotary knob for the feedrate. The knob for the spindlespeed works fine!

Who has an answer, for this?

I hope someone can help me

Best regards


Pages: « 1 2