Hello Guest it is March 28, 2024, 03:53:08 PM

Author Topic: direction signal from mach3  (Read 6269 times)

0 Members and 1 Guest are viewing this topic.

direction signal from mach3
« on: April 09, 2009, 08:11:06 AM »
i have a bridge cutter for marble and i tried to modify it as cnc but its axises work by normal ac motor so i choose to drive it with omron f7 inverter with can use it to work  as servo but when i use mach 3 i can't change the direction of motor from mach 3 because the driver need a contact between 2 point to change the direction but i don't know the direction signal in mach 3. is it one pulse for every change direction or it's a pulse train or it's  a contact  so can you help me to know it's uniform and if it possible also how can i convert it to normal contact between 2 physical point by electronic circuit or relay or any other solution all the best

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: direction signal from mach3
« Reply #1 on: April 09, 2009, 08:24:28 AM »
The Dir signal is a High or Low signal depending on direction. Therefore it should be easy enough for you to do this via a relay, however I think youmay end up with problems as the direction change may well be too slow by this method unless axis speeds are low.
Hood
Re: direction signal from mach3
« Reply #2 on: April 09, 2009, 09:02:54 AM »
thanks a lot hood that's main in on direction it will be hi and in another direction it will be low so i can use a realy but i'd like to ask also about the current on it is enough to make a relay work or may be i'm in need to use a transistor to drive this relay
thanks alot

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: direction signal from mach3
« Reply #3 on: April 09, 2009, 09:05:04 AM »
Best bet would be to use a powered  breakout board I think.
Hood
Re: direction signal from mach3
« Reply #4 on: April 09, 2009, 09:09:53 AM »
i tried to use a relay 5 volt and i connect its coil contact to pin #3 and pin#18 ant take contact from it's contact's but the relay is not work so i think may be the signal from mach 3 is not hi and low o according to the direction can anyone help me to solve this problem

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: direction signal from mach3
« Reply #5 on: April 09, 2009, 09:14:47 AM »
The signal is High and low, if your PP puts out 5V it will be 5V one way 0V the other, check that pin 18 is grounded properly, also check you have the axis enabled or Mach will not change the dir. Tes with a voltmeter and you will see the Hi/Lo change.
Hood
Re: direction signal from mach3
« Reply #6 on: April 09, 2009, 09:26:29 AM »
about the axis its enable but i'll chick about the ground of pin 18 and tell u thanks a lot
Re: direction signal from mach3
« Reply #7 on: April 12, 2009, 06:45:14 AM »
i checked pin 18 i found its grounded but i also found that when i measure the voltage between pin 3 and pin 18 i found it 3.5 volt and when i conect it to the 5 volt relay it's droped to 1.5 and in the other direction it will be 2.1 milli volt what can i do to solve this problem pls

Offline Hood

*
  •  25,835 25,835
  • Carnoustie, Scotland
    • View Profile
Re: direction signal from mach3
« Reply #8 on: April 12, 2009, 06:47:43 AM »
I would use a powered breakout board, that will give a true 5v out of the port and should be capable of powering a relay, in fact most have at least one relay on them.
Hood
Re: direction signal from mach3
« Reply #9 on: April 12, 2009, 07:16:50 AM »
can u help me for breakout board circuit diagram drawing