开云体育

ctrl + shift + ? for shortcuts
© 2025 Groups.io
Date

Re: VFD and PWM and G540

 

The KBIC is NOT isolated from the mains, there is NO transformer inside of it. There is no need for it to be and it would just add to the cost to do so. Since they have made them for 25 years or so I guess the design is solid. With a VFD you have a completely different type of speed controller. It takes the incoming AC, rectifies it to DC, then switches the DC quite quickly to produce AC again at the desired frequency. The control circuits on most VFDs are isolated but you should always RTFM to be sure.



Jeff Birt

Soigeneris.com



From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Wednesday, March 11, 2015 10:43 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM and G540





i checked the manual for my KBIC speed control and it is clear that what you describe is the case. i also measured from the pot to ground (earth) and was shocked to find just what you describe. the question is why? does it have to be done this way? is the same true for the Chinese VFD controllers? i guess you could make a simple circuit with a digital pot but it makes more sense to buy your board that does everything correctly.

On 3/11/2015 1:35 AM, Peter Homann groups@... [mach1mach2cnc] wrote:



No I don't think I was over the top.

If you use a multimeter to measure the voltage across the manual speed
potentiometer of a KBIC-120 controller you will get a reading around 10-15V.

Touch the wire that is the 0V side of that measurement and you will get a main
voltage shock. Connect that 0V wire to the 0V of your breakout board and you
will release a lot of magic smoke.

On the KBIC, the 10V terminal(P3) sits at 115V, the 0V terminal sits at around
100V.

So yes, the 10 volts can kill you.

Peter.

On 11/03/2015 4:31 PM, Chris microcnc_31@... [mach1mach2cnc] wrote:


Peter:

Did you just go over the top 10 volt DC will kill you. The pin our isolated
(7&9) on 540 as we know it. I let you know if I blow something up

Good trying

C

*From:*mach1mach2cnc@... [mailto:mach1mach2cnc@...]
*Sent:* Tuesday, March 10, 2015 9:49 PM
*To:* mach1mach2cnc@...
*Subject:* RE: [mach1mach2cnc] VFD and PWM and G540


Hi,

Without exception (from my experience to date ) all VFD's have a 10Vdc supply
that is used as a power supply for attaching a manual speed potentiometer.
This 10V supply is used to provide power to the G540 VFD pins 7 and 9.

If you are controlling a DC motor controller that does not provide such a
supply you will need to use an auxillary dc power supply of a voltage that
suits you spindle speed controller's input specification.

NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v
reference for this supply may be near main potential voltage. 110/220V. If
you don't use an isolated supply you may end up destroying your motor
controler, cnc controller, PC and yourself.

If you don't understant the above then DON'T attempt to wire it up as the
voltages involved may kill you. Also, any work involved with Mains Voltage
needs to be done by a qualified electrician.

Cheers,

Peter

-------------------------
Peter Homann


On Wed 11/03/15 9:15 AM , "Chris microcnc_31@...
<mailto:microcnc_31@...> <mailto:microcnc_31@...> [mach1mach2cnc]" <mach1mach2cnc@...
<mailto:mach1mach2cnc@...> <mailto:mach1mach2cnc@...>> wrote:

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... <mailto:mach1mach2cnc@...> <mailto:mach1mach2cnc@...>
[mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@... <mailto:mach1mach2cnc@...> <mailto:mach1mach2cnc@...>
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@...
<mailto:microcnc_31@...> <mailto:microcnc_31@...> [mach1mach2cnc] wrote:


Hello:

Can anyone tell me how the PWM signal comes out of Mach?. And if you
have made connection correctly from G540?. Pin 7,8 and 9 are connected
to VFD, Does pin
7 and 9 put out 12V on their own?

Thanks

Chris



---
This email has been checked for viruses by Avast antivirus software.
<parse.php?redirect=%3ca%20href=>">



------------------------------------

------------------------------------


<parse.php?redirect=%3ca%20href=>">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links






------------------------------------
Posted by: Chris <microcnc_31@... <mailto:microcnc_31@...> <mailto:microcnc_31@...>>
------------------------------------


<parse.php?redirect=%3ca%20href=>">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links


(Yahoo! ID required)

mach1mach2cnc-fullfeatured@...
<mailto:mach1mach2cnc-fullfeatured@...> <mailto:mach1mach2cnc-fullfeatured@...>



----------------------------------------------------------

Message sent via Atmail Open -




Re: Where are we in Mach 4

 

开云体育

So I went a little further in the configuration(set up my pins/signals in the ESS), shut down and reran Mach4, and now, when I attempt to get back into the ESS Plugin configuration, it highlights the "Configure" button and then just sits there.

?

If I then close the Plugin Config window, and close Mach4, the Mach4GUI process stays up.

?

Looks like this PC may be more of a help than we thought.......

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Wednesday, March 11, 2015 9:02 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Thank you Andy!
That was a real help for us, Steve worked on your issue for 8 hours! it was that hard to find and I think he did one heck of a job to find it that quickly!

This should help many users, we will keep pushing forward!

Thanks
Brian


On 3/10/2015 9:51 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

?

Brian and Steve spent some time on my PC with a remote connection yesterday, and were able to solve the problem by making changes in Mach4.

?

Brian did mention that this PC is at the low end of what is acceptable.

?

Thanks, Brian (and Steve)!

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:34 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

I was thinking you where at work now :)


Sure thing.. here is the URL :



On 3/9/2015 1:24 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

What do I need to do to get you in there? Is there a program I need to install?

?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:18 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

We have a server here that we use... the package is called screen connect.

On 3/9/2015 10:17 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Sure, Brian, I could get you in there-what remote software do you prefer?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 10:04 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Hello Andy,
Is there any chance I could remote into that machine to see if I can see what is going wrong? Very sorry I didn't see that on the forum, I have been working on code and testing, My forum time is very limited and I count on direct contact so please feel free to contact me directly if you have an issue! I want them fixed!!!!

Thanks
Brian





On 3/9/2015 9:51 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Hi Brian:

?

I posted on the Machsupport Forum about this. I am using an ESS, but before I even et to that point, things go haywire.

?

-After install of Mach4, when I try to run it, it says that "the application cannot run because the configuration is incorrect". Based on a tip from someone on the Machsupport forum, i installed Gearotic, and then manually ran the VC++ redistributable install from Gearotic, and was then able to run Mach4GUI. But after running the GUI a few times, it started to not appear on teh screen, that is, there would be a process called Mach4GUI, but I would never see it on my monitor.

?

-So in that state, I could run wxmach, and it does appear on my screen, but as soon as I try to setup the ESS plugin, Mach4 crashes.

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 9:34 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Andy what seems to be the issue on your machine?

What are you running for a device?

Thanks
Brian

On 3/6/2015 4:52 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Geez, Ozzie....I'd be happy if I could just get Mach4 to show up on the screen more than once per reboot.....:)

?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Friday, March 06, 2015 4:43 PM
To: mach1mach2cnc@...
Subject: [mach1mach2cnc] Where are we in Mach 4

?

?

Hi Brian,

Please tell us where we are in the grand scheme of Mach 4.?

Can we expect a package comparable to Tormach's new conversational version of Linux for both mill and lathe? Of course I own the Mill Wizard, but that does nothing like the Tormach program for lathe.?

Will we see Mach 4 with probing sequences built-in, set-up?

Many of us bought on faith, please let us in on what to expect, or is this it.

Thanks,

Jerry "Ozzie" Pryor

?

?

?

?

?


Re: VFD and PWM and G540

Spencer Chase
 

开云体育

i checked the manual for my KBIC speed control and it is clear that what you describe is the case. i also measured from the pot to ground (earth) and was shocked to find just what you describe. the question is why? does it have to be done this way? is the same true for the Chinese VFD controllers? i guess you could make a simple circuit with a digital pot but it makes more sense to buy your board that does everything correctly.

On 3/11/2015 1:35 AM, Peter Homann groups@... [mach1mach2cnc] wrote:
?

No I don't think I was over the top.

If you use a multimeter to measure the voltage across the manual speed
potentiometer of a KBIC-120 controller you will get a reading around 10-15V.

Touch the wire that is the 0V side of that measurement and you will get a main
voltage shock. Connect that 0V wire to the 0V of your breakout board and you
will release a lot of magic smoke.

On the KBIC, the 10V terminal(P3) sits at 115V, the 0V terminal sits at around
100V.

So yes, the 10 volts can kill you.

Peter.

On 11/03/2015 4:31 PM, Chris microcnc_31@... [mach1mach2cnc] wrote:
>
>
> Peter:
>
> Did you just go over the top 10 volt DC will kill you. The pin our isolated
> (7&9) on 540 as we know it. I let you know if I blow something up
>
> Good trying
>
> C
>
> *From:*mach1mach2cnc@... [mailto:mach1mach2cnc@...]
> *Sent:* Tuesday, March 10, 2015 9:49 PM
> *To:* mach1mach2cnc@...
> *Subject:* RE: [mach1mach2cnc] VFD and PWM and G540
>
>
> Hi,
>
> Without exception (from my experience to date ) all VFD's have a 10Vdc supply
> that is used as a power supply for attaching a manual speed potentiometer.
> This 10V supply is used to provide power to the G540 VFD pins 7 and 9.
>
> If you are controlling a DC motor controller that does not provide such a
> supply you will need to use an auxillary dc power supply of a voltage that
> suits you spindle speed controller's input specification.
>
> NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v
> reference for this supply may be near main potential voltage. 110/220V. If
> you don't use an isolated supply you may end up destroying your motor
> controler, cnc controller, PC and yourself.
>
> If you don't understant the above then DON'T attempt to wire it up as the
> voltages involved may kill you. Also, any work involved with Mains Voltage
> needs to be done by a qualified electrician.
>
> Cheers,
>
> Peter
>
> -------------------------
> Peter Homann
>
>
> On Wed 11/03/15 9:15 AM , "Chris microcnc_31@...
> [mach1mach2cnc]" <mach1mach2cnc@...
> > wrote:
>
> Excellent, what type of power supply can I use for this as it appears a
> second power supply is required
>
> Thanks
>
> Chris
>
> -----Original Message-----
> From: mach1mach2cnc@...
> [mach1mach2cnc@...]
> Sent: Tuesday, March 10, 2015 1:59 PM
> To: mach1mach2cnc@...
> Subject: Re: [mach1mach2cnc] VFD and PWM and G540
>
> Hi,
>
> No, the G540 pins 7 and 9 do not output a 12V supply on their own.
>
> The G540 generates an isolated control voltage on pin 8. The amplitude of
> the voltage is voltage is a percentage of the voltage that is supplied to
> pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
> the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
> connector.
>
> So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
> pin 8 of the terminal block will be 25% of the voltage you supply across
> pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
> will generate 2.5V on pin 8.
> If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
> when
> Mach3 outputs a PWM with a duty cycle of 25%
>
> Note, the recommended max voltage supply across pins 7,9 is 12Vdc.
>
> Cheers,
>
> Peter
>
>
>
> On 11/03/2015 3:48 AM, Chris microcnc_31@...
> [mach1mach2cnc] wrote:
> >
> >
> > Hello:
> >
> > Can anyone tell me how the PWM signal comes out of Mach?. And if you
> > have made connection correctly from G540?. Pin 7,8 and 9 are connected
> > to VFD, Does pin
> > 7 and 9 put out 12V on their own?
> >
> > Thanks
> >
> > Chris
> >
> >
> >
> >
>
> ---
> This email has been checked for viruses by Avast antivirus software.
> ">
>
>
>
> ------------------------------------
>
> ------------------------------------
>
>
> "> - Web site Access
> ------------------------------------
>
> Yahoo Groups Links
>
>
>
>
>
>
> ------------------------------------
> Posted by: Chris <microcnc_31@... >
> ------------------------------------
>
>
> "> - Web site Access
> ------------------------------------
>
> Yahoo Groups Links
>
>
> (Yahoo! ID required)
>
> mach1mach2cnc-fullfeatured@...
>
>
>
>
> ----------------------------------------------------------
>
> Message sent via Atmail Open -

>
>
>
>

---
This email has been checked for viruses by Avast antivirus software.



--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


G03 Feed Rate

Ralph Tuttle
 

开云体育

Using win 7, Mach3 Turn, gecko g540 and uc100

?

Just starting to use Turn and ran into something I don’t understand (there’s a lot I don’t understand).

?

When I issue a G03 command it seems to multiply the feed rate by a factor of ten.?

?

g01 f5 x0.325

z0.050

x0.300

g03 x0.200 z0.225 i0.000 k-0.02500 ; just zips around the arc!

g01 z0.275

g0 x0.3625

?

Shouldn’t it run at the same feed rate as the G01?

?

TIA

?

RT


Re: Spindle control

Spencer Chase
 

开云体育

Sounds good, will buy the DC-03 when i decide i need program control. need to get the motor working first and determine if i can get a better finish by varying the speed for different cuts. i am trying to produce a part that does not require sanding so i have to fiddle with every rough and finish and cleanup cut.

On 3/11/2015 1:27 AM, Peter Homann groups@... [mach1mach2cnc] wrote:
?

Hi Spencer,

One or both relays on the DC-03 can be controlled separately from the spindle
control if desired.

In normal use they are controlled via the M3 and M4 commands on the Mach3
spindle setup tab, but you could use them for other uses as well.

If you wanted to you could control two VFDs with the one DC-03. You could;
1. Connect VA+ to the +10V terminal on one VFD
2. Connect AVgnd to the 0V terminal on both VFDs
3. Connect the AVout to the Control voltage input on both VFDs
4. Connect Relay one to the FWD or RUN terminal on one VFD
5. Connect Relay two to the FWD or RUN terminal on the other VFD

You can then use M3 to run on one VFD and M4 to run the other. If you have
maximum spindle speeds on the two spindles, use the pulley selection so that
pulley 1 is used on the first spindle and pulley 2 on the 2nd.

The DC-03 can also be used with spindles that use a +/-10V control voltage
inputs where a -ve voltage reversed the spindle direction. The two relays can
be wired so that when a M3 is issued the DC-03 presents a positive voltage to
the spindle controller, and then presents a -negative voltage to the
controller when an M4 is issued.

By having indepentant control of the two onboard relays they can be used to
implement a wider range of control variants.

Cheers,

Peter

On 11/03/2015 5:59 PM, Spencer Chase lists@... [mach1mach2cnc]
wrote:
>
>
> i read the manual for the DC-03V3 and it all makes sense pretty much. it looks
> like this will be a better solution to using an FET board because it must have
> some time integration that would be necessary for a low speed PWM signal as
> well as voltage isolation.
>
> since i only need CW rotation for both spindles, it looks like i can use one
> relay to control the main spindle that responds to M3 and the reverse relay
> that responds to M4 to control the second spindle. this must be what i have
> set up now.
>
> if this is so, then any speed over 0 with M4 would turn on the CCW relay that
> could be used to control the second spindle that does not need PWM control.
> the PWM signal would be present but could be ignored by the second spindle as
> only the relay is needed to enable it.
>
> do i have it right? i will probably start using manual control of the VFD and
> and second spindle using the relays that are currently controlled by M3 and M4
> but will buy the DC-03V3 controller if i decide i do need sped control from
> the program.
>
> please correct me if i have any of this wrong.
>
> On 3/10/2015 9:57 PM, Peter groups@... [mach1mach2cnc] wrote:
>>
>>
>> Hi Spencer,
>>
>> Most VFDs accpt a control coltage in the 0-10V range and supply a 10v power
>> supply for powering a conversion circuit. It is prudent to put an
>> opto-isolater to isolate this supply from your breakout board's 0V reference
>> as some spindle speed controllers have their reference near mains potential.
>>
>> Rather than building one yourself you may want to look at purchasing a
>> readymade converter such as the DC-03V3 that we produce and sell. It should
>> do what you need and also has a couple of small relays for controlling the
>> VFDs, FWD/REV and RUN/STOP inputs.
>>
>>
>>
>> Cheers,
>>
>> Peter
>>
>> ---------------------------
>> Peter Homann
>>
>>
>> On Wed 11/03/15 10:10 AM , "Spencer Chase lists@...
>> [mach1mach2cnc]" wrote:
>>
>> i read it all but it is for an air cooled spindle and the most important
>> point relates only to air cooled fans etc. mine is water cooled so i
>> don't have to worry about that aspect. i assume you run the cooling
>> water all the time the machine is running even if the spindle is stopped.
>>
>> i still need to know the best way to control the speed if i decide i
>> want to. still don't know if mach3 will pwm the step or direction pin
>> assigned to spindle in ports and pins if i choose pwm control in spindle
>> setup. if so i just need to connect an FET driver to a voltage source to
>> get what i need for the voltage following input of theVFD
>>
>> still need to know if it is possible to have one spindle PWM controlled
>> and the other one on/off without PWM control.
>>
>> On 3/10/2015 3:53 PM, jeremywillson@... [mach1mach2cnc] wrote:
>>>
>>> Read ALL of this thread
>>> and you will
>>> then be completely au fait with all aspects of the VFD etc
>>>
>>
>> --
>>
>> Best regards, Spencer Chase
>> 67550-Bell Springs Rd.
>> Garberville, CA 95542 Postal service only.
>> Laytonville, CA 95454 UPS only.
>> Spencer@...
>>
>> (425) 791-0309
>>
>>
>> ----------------------------------------------------------
>> Message sent via Atmail Open -
>
> --
>
> Best regards, Spencer Chase
> 67550-Bell Springs Rd.
> Garberville, CA 95542 Postal service only.
> Laytonville, CA 95454 UPS only.
> Spencer@...
>
> (425) 791-0309
>
>
>
>

---
This email has been checked for viruses by Avast antivirus software.



--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


Re: VFD and PWM and G540

 

Read up on what reference voltage is.



(Or read Peter’s post again – he tells you.)







From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Wednesday, 11 March 2015 4:32 PM
To: mach1mach2cnc@...
Subject: RE: [mach1mach2cnc] VFD and PWM and G540








Peter:



Did you just go over the top 10 volt DC will kill you. The pin our isolated (7&9) on 540 as we know it. I let you know if I blow something up



Good trying



C



From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 9:49 PM
To: mach1mach2cnc@...
Subject: RE: [mach1mach2cnc] VFD and PWM and G540






Hi,

Without exception (from my experience to date ) all VFD's have a 10Vdc supply that is used as a power supply for attaching a manual speed potentiometer. This 10V supply is used to provide power to the G540 VFD pins 7 and 9.

If you are controlling a DC motor controller that does not provide such a supply you will need to use an auxillary dc power supply of a voltage that suits you spindle speed controller's input specification.

NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v reference for this supply may be near main potential voltage. 110/220V. If you don't use an isolated supply you may end up destroying your motor controler, cnc controller, PC and yourself.

If you don't understant the above then DON'T attempt to wire it up as the voltages involved may kill you. Also, any work involved with Mains Voltage needs to be done by a qualified electrician.

Cheers,

Peter

-------------------------
Peter Homann


On Wed 11/03/15 9:15 AM , "Chris microcnc_31@... [mach1mach2cnc]" <mach1mach2cnc@...> wrote:

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... [mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@... [mach1mach2cnc] wrote:


Hello:

Can anyone tell me how the PWM signal comes out of Mach?. And if you
have made connection correctly from G540?. Pin 7,8 and 9 are connected
to VFD, Does pin
7 and 9 put out 12V on their own?

Thanks

Chris




Re: Where are we in Mach 4

 

开云体育

Thank you Andy!
That was a real help for us, Steve worked on your issue for 8 hours! it was that hard to find and I think he did one heck of a job to find it that quickly!

This should help many users, we will keep pushing forward!

Thanks
Brian



On 3/10/2015 9:51 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Brian and Steve spent some time on my PC with a remote connection yesterday, and were able to solve the problem by making changes in Mach4.

Brian did mention that this PC is at the low end of what is acceptable.

Thanks, Brian (and Steve)!

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:34 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

I was thinking you where at work now :)


Sure thing.. here is the URL :


On 3/9/2015 1:24 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

What do I need to do to get you in there? Is there a program I need to install?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:18 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

We have a server here that we use... the package is called screen connect.

On 3/9/2015 10:17 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Sure, Brian, I could get you in there-what remote software do you prefer?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 10:04 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

Hello Andy,
Is there any chance I could remote into that machine to see if I can see what is going wrong? Very sorry I didn't see that on the forum, I have been working on code and testing, My forum time is very limited and I count on direct contact so please feel free to contact me directly if you have an issue! I want them fixed!!!!

Thanks
Brian




On 3/9/2015 9:51 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Hi Brian:

I posted on the Machsupport Forum about this. I am using an ESS, but before I even et to that point, things go haywire.

-After install of Mach4, when I try to run it, it says that "the application cannot run because the configuration is incorrect". Based on a tip from someone on the Machsupport forum, i installed Gearotic, and then manually ran the VC++ redistributable install from Gearotic, and was then able to run Mach4GUI. But after running the GUI a few times, it started to not appear on teh screen, that is, there would be a process called Mach4GUI, but I would never see it on my monitor.

-So in that state, I could run wxmach, and it does appear on my screen, but as soon as I try to setup the ESS plugin, Mach4 crashes.

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 9:34 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

Andy what seems to be the issue on your machine?

What are you running for a device?

Thanks
Brian

On 3/6/2015 4:52 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Geez, Ozzie....I'd be happy if I could just get Mach4 to show up on the screen more than once per reboot.....:)

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Friday, March 06, 2015 4:43 PM
To: mach1mach2cnc@...
Subject: [mach1mach2cnc] Where are we in Mach 4

Hi Brian,

Please tell us where we are in the grand scheme of Mach 4.

Can we expect a package comparable to Tormach's new conversational version of Linux for both mill and lathe? Of course I own the Mill Wizard, but that does nothing like the Tormach program for lathe.

Will we see Mach 4 with probing sequences built-in, set-up?

Many of us bought on faith, please let us in on what to expect, or is this it.

Thanks,

Jerry "Ozzie" Pryor



Re: Where are we in Mach 4

 

开云体育

Hey you can do as many great things as you like but its support is getting to be limited and we picked what worked best for us.Mach4 is cross platform and so is Lua. Everyone that has taken the time to work with Lua has seen why we use it, It is SO much faster!

From Wikipedia:
"Mainstream Support for Microsoft Visual Basic 6.0 ended on March 31, 2005. Extended support ended in March 2008. In response, the Visual Basic user community expressed its grave concern and lobbied users to sign a petition to keep the product alive. Microsoft has so far refused to change their position on the matter."

Thanks
Brian

On 3/10/2015 5:17 PM, ptegler ptegler@... [mach1mach2cnc] wrote:

ha?? :-)
VBA limited?
you haven't worked in Excel/word/Project etc much have you?
I have a macro at work, nearly 40 modules now, (somewhere around 25,000 lines?)? autol oads when I auto-start Outlook first thing in the morning. Processes/catagorizes my email, manages schedules, auto responds to priorities, training programs, auto formats reports, ...about 35 daily functions now.

I've written MAJOR systems in VB .... (started back in the original DOS version then coverted/ported to Windows) controlling real-time automation robotics in a manufacturing and test environment.
I know I know...why VB?.... because it was easy for a bunch of non-programmer type engineers to hack numbers and setting to tweak stuff over the years.

VBA can do everything VB can do....anything in a DLL can be called as in VB. It's all a matter of how much of the API you understand/or are familiar with.???? :-)


ptegler


On 3/10/2015 10:12 AM, Brian Barker brianb@... [mach1mach2cnc] wrote:
Sorry I was talking about VBA
Thanks
Brian

On 3/10/2015 9:57 AM, davina5@... [mach1mach2cnc] wrote:
Brian
I guess we had better tell Microsoft that they don't support VB. ??; -)
It is in the 2015 VS preview download.?
I am guessing you mean VBA which was pretty limited.

Glenn


--
Paul Tegler ptegler@...


Re: VFD and PWM and G540

 

No I don't think I was over the top.

If you use a multimeter to measure the voltage across the manual speed potentiometer of a KBIC-120 controller you will get a reading around 10-15V.

Touch the wire that is the 0V side of that measurement and you will get a main voltage shock. Connect that 0V wire to the 0V of your breakout board and you will release a lot of magic smoke.

On the KBIC, the 10V terminal(P3) sits at 115V, the 0V terminal sits at around 100V.

So yes, the 10 volts can kill you.

Peter.

On 11/03/2015 4:31 PM, Chris microcnc_31@... [mach1mach2cnc] wrote:


Peter:

Did you just go over the top 10 volt DC will kill you. The pin our isolated
(7&9) on 540 as we know it. I let you know if I blow something up

Good trying

C

*From:*mach1mach2cnc@... [mailto:mach1mach2cnc@...]
*Sent:* Tuesday, March 10, 2015 9:49 PM
*To:* mach1mach2cnc@...
*Subject:* RE: [mach1mach2cnc] VFD and PWM and G540


Hi,

Without exception (from my experience to date ) all VFD's have a 10Vdc supply
that is used as a power supply for attaching a manual speed potentiometer.
This 10V supply is used to provide power to the G540 VFD pins 7 and 9.

If you are controlling a DC motor controller that does not provide such a
supply you will need to use an auxillary dc power supply of a voltage that
suits you spindle speed controller's input specification.

NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v
reference for this supply may be near main potential voltage. 110/220V. If
you don't use an isolated supply you may end up destroying your motor
controler, cnc controller, PC and yourself.

If you don't understant the above then DON'T attempt to wire it up as the
voltages involved may kill you. Also, any work involved with Mains Voltage
needs to be done by a qualified electrician.

Cheers,

Peter

-------------------------
Peter Homann


On Wed 11/03/15 9:15 AM , "Chris microcnc_31@...
<mailto:microcnc_31@...> [mach1mach2cnc]" <mach1mach2cnc@...
<mailto:mach1mach2cnc@...>> wrote:

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... <mailto:mach1mach2cnc@...>
[mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@... <mailto:mach1mach2cnc@...>
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@...
<mailto:microcnc_31@...> [mach1mach2cnc] wrote:
>
>
> Hello:
>
> Can anyone tell me how the PWM signal comes out of Mach?. And if you
> have made connection correctly from G540?. Pin 7,8 and 9 are connected
> to VFD, Does pin
> 7 and 9 put out 12V on their own?
>
> Thanks
>
> Chris
>
>
>
>

---
This email has been checked for viruses by Avast antivirus software.
<parse.php?redirect=%3ca%20href=>">



------------------------------------

------------------------------------


<parse.php?redirect=%3ca%20href=>">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links






------------------------------------
Posted by: Chris <microcnc_31@... <mailto:microcnc_31@...>>
------------------------------------


<parse.php?redirect=%3ca%20href=>">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links


(Yahoo! ID required)

mach1mach2cnc-fullfeatured@...
<mailto:mach1mach2cnc-fullfeatured@...>



------------------------------------------------------------------------------

Message sent via Atmail Open -




Re: Spindle control

 

Hi Spencer,

One or both relays on the DC-03 can be controlled separately from the spindle control if desired.

In normal use they are controlled via the M3 and M4 commands on the Mach3 spindle setup tab, but you could use them for other uses as well.

If you wanted to you could control two VFDs with the one DC-03. You could;
1. Connect VA+ to the +10V terminal on one VFD
2. Connect AVgnd to the 0V terminal on both VFDs
3. Connect the AVout to the Control voltage input on both VFDs
4. Connect Relay one to the FWD or RUN terminal on one VFD
5. Connect Relay two to the FWD or RUN terminal on the other VFD

You can then use M3 to run on one VFD and M4 to run the other. If you have maximum spindle speeds on the two spindles, use the pulley selection so that pulley 1 is used on the first spindle and pulley 2 on the 2nd.


The DC-03 can also be used with spindles that use a +/-10V control voltage inputs where a -ve voltage reversed the spindle direction. The two relays can be wired so that when a M3 is issued the DC-03 presents a positive voltage to the spindle controller, and then presents a -negative voltage to the controller when an M4 is issued.

By having indepentant control of the two onboard relays they can be used to implement a wider range of control variants.

Cheers,

Peter

On 11/03/2015 5:59 PM, Spencer Chase lists@... [mach1mach2cnc] wrote:


i read the manual for the DC-03V3 and it all makes sense pretty much. it looks
like this will be a better solution to using an FET board because it must have
some time integration that would be necessary for a low speed PWM signal as
well as voltage isolation.

since i only need CW rotation for both spindles, it looks like i can use one
relay to control the main spindle that responds to M3 and the reverse relay
that responds to M4 to control the second spindle. this must be what i have
set up now.

if this is so, then any speed over 0 with M4 would turn on the CCW relay that
could be used to control the second spindle that does not need PWM control.
the PWM signal would be present but could be ignored by the second spindle as
only the relay is needed to enable it.

do i have it right? i will probably start using manual control of the VFD and
and second spindle using the relays that are currently controlled by M3 and M4
but will buy the DC-03V3 controller if i decide i do need sped control from
the program.

please correct me if i have any of this wrong.

On 3/10/2015 9:57 PM, Peter groups@... [mach1mach2cnc] wrote:


Hi Spencer,

Most VFDs accpt a control coltage in the 0-10V range and supply a 10v power
supply for powering a conversion circuit. It is prudent to put an
opto-isolater to isolate this supply from your breakout board's 0V reference
as some spindle speed controllers have their reference near mains potential.

Rather than building one yourself you may want to look at purchasing a
readymade converter such as the DC-03V3 that we produce and sell. It should
do what you need and also has a couple of small relays for controlling the
VFDs, FWD/REV and RUN/STOP inputs.



Cheers,

Peter

---------------------------
Peter Homann


On Wed 11/03/15 10:10 AM , "Spencer Chase lists@...
[mach1mach2cnc]" <mach1mach2cnc@...> wrote:

i read it all but it is for an air cooled spindle and the most important
point relates only to air cooled fans etc. mine is water cooled so i
don't have to worry about that aspect. i assume you run the cooling
water all the time the machine is running even if the spindle is stopped.

i still need to know the best way to control the speed if i decide i
want to. still don't know if mach3 will pwm the step or direction pin
assigned to spindle in ports and pins if i choose pwm control in spindle
setup. if so i just need to connect an FET driver to a voltage source to
get what i need for the voltage following input of theVFD

still need to know if it is possible to have one spindle PWM controlled
and the other one on/off without PWM control.

On 3/10/2015 3:53 PM, jeremywillson@... [mach1mach2cnc] wrote:

Read ALL of this thread
<> and you will
then be completely au fait with all aspects of the VFD etc
--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


------------------------------------------------------------------------------
Message sent via Atmail Open -
--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309




Re: Spindle control

Spencer Chase
 

开云体育

i read the manual for the DC-03V3 and it all makes sense pretty much. it looks like this will be a better solution to using an FET board because it must have some time integration that would be necessary for a low speed PWM signal as well as voltage isolation.

since i only need CW rotation for both spindles, it looks like i can use one relay to control the main spindle that responds to M3 and the reverse relay that responds to M4 to control the second spindle. this must be what i have set up now.

if this is so, then any speed over 0 with M4 would turn on the CCW relay that could be used to control the second spindle that does not need PWM control. the PWM signal would be present but could be ignored by the second spindle as only the relay is needed to enable it.

do i have it right? i will probably start using manual control of the VFD and and second spindle using the relays that are currently controlled by M3 and M4 but will buy the DC-03V3 controller if i decide i do need sped control from the program.

please correct me if i have any of this wrong.

On 3/10/2015 9:57 PM, Peter groups@... [mach1mach2cnc] wrote:
?


Hi Spencer,

Most VFDs accpt a control coltage in the 0-10V range and supply a 10v power supply for powering a conversion circuit. It is prudent to put an opto-isolater to isolate this supply from your breakout board's 0V reference as some spindle speed controllers have their reference near mains potential.

Rather than building one yourself you may want to look at purchasing a readymade converter such as the DC-03V3 that we produce and sell. It should do what you need and also has a couple of small relays for controlling the VFDs, FWD/REV and RUN/STOP inputs.

?

Cheers,

?

Peter

---------------------------
Peter Homann


On Wed 11/03/15 10:10 AM , "Spencer Chase lists@... [mach1mach2cnc]" wrote:

i read it all but it is for an air cooled spindle and the most important point relates only to air cooled fans etc. mine is water cooled so i don't have to worry about that aspect. i assume you run the cooling water all the time the machine is running even if the spindle is stopped.

i still need to know the best way to control the speed if i decide i want to. still don't know if mach3 will pwm the step or direction pin assigned to spindle in ports and pins if i choose pwm control in spindle setup. if so i just need to connect an FET driver to a voltage source to get what i need for the voltage following input of theVFD

still need to know if it is possible to have one spindle PWM controlled and the other one on/off without PWM control.

On 3/10/2015 3:53 PM, jeremywillson@... [mach1mach2cnc] wrote:
?

and you will then be completely au fait with all aspects of the VFD etc


--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


Message sent via Atmail Open -

--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


Re: VFD and PWM and G540

 

开云体育

Peter:

?

Did you just go over the top 10 volt DC will kill you. The pin our isolated (7&9) on 540 as we know it. I let you know if I blow something up

?

Good trying

?

C

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 9:49 PM
To: mach1mach2cnc@...
Subject: RE: [mach1mach2cnc] VFD and PWM and G540

?

?


Hi,

Without exception (from my experience to date ) all VFD's have a 10Vdc supply that is used as a power supply for attaching a manual speed potentiometer. This 10V supply is used to provide power to the G540 VFD pins 7 and 9.

If you are controlling a DC motor controller that does not provide such a supply you will need to use an auxillary dc power supply of a voltage that suits you spindle speed controller's input ?specification.

NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v reference for this supply may be near main potential voltage. 110/220V. ?If you don't use an isolated supply you may end up destroying your motor controler, cnc controller, PC and yourself.

If you don't understant the above then DON'T attempt to wire it up as the voltages involved may kill you. Also, any work involved with Mains Voltage needs to be done by a qualified electrician.

Cheers,

Peter

-------------------------
Peter Homann


On Wed 11/03/15 9:15 AM , "Chris microcnc_31@... [mach1mach2cnc]" <mach1mach2cnc@...> wrote:

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... [mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@... [mach1mach2cnc] wrote:
>
>
> Hello:
>
> Can anyone tell me how the PWM signal comes out of Mach?. And if you
> have made connection correctly from G540?. Pin 7,8 and 9 are connected
> to VFD, Does pin
> 7 and 9 put out 12V on their own?
>
> Thanks
>
> Chris
>
>
>
>

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com">http://www.avast.com



------------------------------------

------------------------------------

http://www.machsupport.com">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links






------------------------------------
Posted by: Chris <microcnc_31@...>
------------------------------------

http://www.machsupport.com">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/mach1mach2cnc/">http://groups.yahoo.com/group/mach1mach2cnc/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/mach1mach2cnc/join">http://groups.yahoo.com/group/mach1mach2cnc/join
(Yahoo! ID required)

<*> To change settings via email:
mach1mach2cnc-digest@...
mach1mach2cnc-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/

?


Message sent via Atmail Open -


Re: Spindle control

 


Hi Spencer,

Most VFDs accpt a control coltage in the 0-10V range and supply a 10v power supply for powering a conversion circuit. It is prudent to put an opto-isolater to isolate this supply from your breakout board's 0V reference as some spindle speed controllers have their reference near mains potential.

Rather than building one yourself you may want to look at purchasing a readymade converter such as the DC-03V3 that we produce and sell. It should do what you need and also has a couple of small relays for controlling the VFDs, FWD/REV and RUN/STOP inputs.

http://www.homanndesigns.com/store/index.php?main_page=product_info&cPath=1&products_id=21

?

Cheers,

?

Peter

---------------------------
Peter Homann
http://www.homanndesigns.com/store

On Wed 11/03/15 10:10 AM , "Spencer Chase lists@... [mach1mach2cnc]" wrote:

i read it all but it is for an air cooled spindle and the most important point relates only to air cooled fans etc. mine is water cooled so i don't have to worry about that aspect. i assume you run the cooling water all the time the machine is running even if the spindle is stopped.

i still need to know the best way to control the speed if i decide i want to. still don't know if mach3 will pwm the step or direction pin assigned to spindle in ports and pins if i choose pwm control in spindle setup. if so i just need to connect an FET driver to a voltage source to get what i need for the voltage following input of theVFD

still need to know if it is possible to have one spindle PWM controlled and the other one on/off without PWM control.

On 3/10/2015 3:53 PM, jeremywillson@... [mach1mach2cnc] wrote:
?

and you will then be completely au fait with all aspects of the VFD etc


--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


Message sent via Atmail Open - http://atmail.org/


Re: VFD and PWM and G540

 


Hi,

Without exception (from my experience to date ) all VFD's have a 10Vdc supply that is used as a power supply for attaching a manual speed potentiometer. This 10V supply is used to provide power to the G540 VFD pins 7 and 9.

If you are controlling a DC motor controller that does not provide such a supply you will need to use an auxillary dc power supply of a voltage that suits you spindle speed controller's input ?specification.

NOTE: This auxillary supply NEEDS TO BE AN ISOLATED SUPPLY!!!! as the 0v reference for this supply may be near main potential voltage. 110/220V. ?If you don't use an isolated supply you may end up destroying your motor controler, cnc controller, PC and yourself.

If you don't understant the above then DON'T attempt to wire it up as the voltages involved may kill you. Also, any work involved with Mains Voltage needs to be done by a qualified electrician.

Cheers,

Peter

-------------------------
Peter Homann
http://www.homanndesigns.com/store

On Wed 11/03/15 9:15 AM , "Chris microcnc_31@... [mach1mach2cnc]" wrote:

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... [mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@... [mach1mach2cnc] wrote:
>
>
> Hello:
>
> Can anyone tell me how the PWM signal comes out of Mach?. And if you
> have made connection correctly from G540?. Pin 7,8 and 9 are connected
> to VFD, Does pin
> 7 and 9 put out 12V on their own?
>
> Thanks
>
> Chris
>
>
>
>

---
This email has been checked for viruses by Avast antivirus software.
http://www.avast.com">http://www.avast.com



------------------------------------

------------------------------------

http://www.machsupport.com">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links






------------------------------------
Posted by: Chris <microcnc_31@...>
------------------------------------

http://www.machsupport.com">www.machsupport.com - Web site Access
------------------------------------

Yahoo Groups Links

<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/mach1mach2cnc/">http://groups.yahoo.com/group/mach1mach2cnc/

<*> Your email settings:
Individual Email | Traditional

<*> To change settings online go to:
http://groups.yahoo.com/group/mach1mach2cnc/join">http://groups.yahoo.com/group/mach1mach2cnc/join
(Yahoo! ID required)

<*> To change settings via email:
mach1mach2cnc-digest@...
mach1mach2cnc-fullfeatured@...

<*> To unsubscribe from this group, send an email to:
mach1mach2cnc-unsubscribe@...

<*> Your use of Yahoo Groups is subject to:
https://info.yahoo.com/legal/us/yahoo/utos/terms/




Message sent via Atmail Open - http://atmail.org/


Re: Where are we in Mach 4

 

开云体育

?

Brian and Steve spent some time on my PC with a remote connection yesterday, and were able to solve the problem by making changes in Mach4.

?

Brian did mention that this PC is at the low end of what is acceptable.

?

Thanks, Brian (and Steve)!

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:34 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

I was thinking you where at work now :)


Sure thing.. here is the URL :


On 3/9/2015 1:24 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

What do I need to do to get you in there? Is there a program I need to install?

?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 1:18 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

We have a server here that we use... the package is called screen connect.

On 3/9/2015 10:17 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Sure, Brian, I could get you in there-what remote software do you prefer?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 10:04 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Hello Andy,
Is there any chance I could remote into that machine to see if I can see what is going wrong? Very sorry I didn't see that on the forum, I have been working on code and testing, My forum time is very limited and I count on direct contact so please feel free to contact me directly if you have an issue! I want them fixed!!!!

Thanks
Brian




On 3/9/2015 9:51 AM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Hi Brian:

?

I posted on the Machsupport Forum about this. I am using an ESS, but before I even et to that point, things go haywire.

?

-After install of Mach4, when I try to run it, it says that "the application cannot run because the configuration is incorrect". Based on a tip from someone on the Machsupport forum, i installed Gearotic, and then manually ran the VC++ redistributable install from Gearotic, and was then able to run Mach4GUI. But after running the GUI a few times, it started to not appear on teh screen, that is, there would be a process called Mach4GUI, but I would never see it on my monitor.

?

-So in that state, I could run wxmach, and it does appear on my screen, but as soon as I try to setup the ESS plugin, Mach4 crashes.

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Monday, March 09, 2015 9:34 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Andy what seems to be the issue on your machine?

What are you running for a device?

Thanks
Brian

On 3/6/2015 4:52 PM, 'Andy Wander' ohawiseguyeh@... [mach1mach2cnc] wrote:

Geez, Ozzie....I'd be happy if I could just get Mach4 to show up on the screen more than once per reboot.....:)

?

?

Andy Wander


From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Friday, March 06, 2015 4:43 PM
To: mach1mach2cnc@...
Subject: [mach1mach2cnc] Where are we in Mach 4

?

?

Hi Brian,

Please tell us where we are in the grand scheme of Mach 4.?

Can we expect a package comparable to Tormach's new conversational version of Linux for both mill and lathe? Of course I own the Mill Wizard, but that does nothing like the Tormach program for lathe.?

Will we see Mach 4 with probing sequences built-in, set-up?

Many of us bought on faith, please let us in on what to expect, or is this it.

Thanks,

Jerry "Ozzie" Pryor

?

?

?

?


Re: Spindle control

 

Mach3 can be set up to generate PWM on any pin that you like.
This is done with the dialog at Config > Ports and Pins > Motor
Outputs. Fill in the desired PWM pin under Step for the Spindle
Motor. Then go to the Config > Ports and Pins > Spindle Setup
and look for the Motor Control section and put a check mark in
the Use Spindle Motor Output and the PWM Control boxes. You
may also want to configure the Relay Control and the Flood/Mist
Control (as an alternate way to control the second spindle). This
is a two step process. After you assign an Output number, go
back to the Output Signals page and assign an actual pin to the
outputs that you used.

The traditional way to control modern VFDs with analog inputs is to
use an interface that converts the PWM signal into an isolated
analog voltage. Our PMDX-107 is one such device, but it is not that
difficult to build your own. The PMDX-107 does not use a separate
control signal from Mach3 to turn the spindle on and off. It monitors
the PWM to decide when to turn the spindle on. Mach3 turns the
PWM completely off if the M5 spindle off command is issued.

Running two spindles will require that you take direct control of the
spindle on/off signals or move the command for the second spindle
to something other than M5 if you plan to use a PMDX-107 for the
first spindle. I would recommend that you use the Flood/Mist
controls as a way to run the second spindle.

Steve Stallings
www.PMDX.com


Re: Spindle control

Spencer Chase
 

开云体育

i read it all but it is for an air cooled spindle and the most important point relates only to air cooled fans etc. mine is water cooled so i don't have to worry about that aspect. i assume you run the cooling water all the time the machine is running even if the spindle is stopped.

i still need to know the best way to control the speed if i decide i want to. still don't know if mach3 will pwm the step or direction pin assigned to spindle in ports and pins if i choose pwm control in spindle setup. if so i just need to connect an FET driver to a voltage source to get what i need for the voltage following input of theVFD

still need to know if it is possible to have one spindle PWM controlled and the other one on/off without PWM control.

On 3/10/2015 3:53 PM, jeremywillson@... [mach1mach2cnc] wrote:
?

and you will then be completely au fait with all aspects of the VFD etc


--

Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...

(425) 791-0309


Re: Where are we in Mach 4

 

开云体育

Almost all of my g-code is created using a VBA macro in AutoCAD.
VBA's not dead, or going away.

Gerry

On 3/10/2015 5:17 PM, ptegler ptegler@... [mach1mach2cnc] wrote:

ha?? :-)
VBA limited?
you haven't worked in Excel/word/Project etc much have you?
I have a macro at work, nearly 40 modules now, (somewhere around 25,000 lines?)? autol oads when I auto-start Outlook first thing in the morning. Processes/catagorizes my email, manages schedules, auto responds to priorities, training programs, auto formats reports, ...about 35 daily functions now.

I've written MAJOR systems in VB .... (started back in the original DOS version then coverted/ported to Windows) controlling real-time automation robotics in a manufacturing and test environment.
I know I know...why VB?.... because it was easy for a bunch of non-programmer type engineers to hack numbers and setting to tweak stuff over the years.

VBA can do everything VB can do....anything in a DLL can be called as in VB. It's all a matter of how much of the API you understand/or are familiar with.???? :-)


ptegler


On 3/10/2015 10:12 AM, Brian Barker brianb@... [mach1mach2cnc] wrote:
Sorry I was talking about VBA
Thanks
Brian

On 3/10/2015 9:57 AM, davina5@... [mach1mach2cnc] wrote:
Brian
I guess we had better tell Microsoft that they don't support VB. ??; -)
It is in the 2015 VS preview download.?
I am guessing you mean VBA which was pretty limited.

Glenn


--
Paul Tegler ptegler@...


Re: Where are we in Mach 4

 

Start out by saying i don't consider myself even near the same league as Brian, Art or the others that program. ?Just a mere hack.

Like yourself I have used VBA although in the DOS days was doing LISP. ?Most of my experience was in Autodesk products but have done some of the Microsoft office products.

Last summer wrote Komo and Onsrud posts in Alphacam.?
Alphacam posts are VBA. ?Alphacam installs the VBA patch when you install it.

Currently I spend most of my time in VB.net, but work some in C# and C when there is no other choice.
Alway forget the dang semicolon...
Learning Python currently. ?Fun project with Raspberry Pis, Barcode scanners and PLCs.



VBA is limited comparatively to other programming languages including VB, because of the API that you have to work with.

A project from a year or so ago.

Have the user select a zipped file, extract the files that are within.
Then update a data base and print out a Win report form based on some of the data in one of the files. ?

Add a worksheet to that days excel workbook add the values from another file into the newly created sheet.

Then finally fill out a PDF template from a combination of the files along with some user input and then email the resultant PDF to a selected email as well as allow the user to print if they want.

I imagine you could do it in VBA but using .Net or LUA is a whole lot easier.

Glenn



?


Re: VFD and PWM and G540

 

Excellent, what type of power supply can I use for this as it appears a
second power supply is required

Thanks

Chris

-----Original Message-----
From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 1:59 PM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM and G540

Hi,

No, the G540 pins 7 and 9 do not output a 12V supply on their own.

The G540 generates an isolated control voltage on pin 8. The amplitude of
the voltage is voltage is a percentage of the voltage that is supplied to
pins 7,8 of the G540. The percentage is derived from the Mark/space ratio of
the PWM signal from Mach3 that is present of pin 14 of the G540's DB25
connector.

So, if the duty cycle (mark/space) ratio is 25%, then the voltage output on
pin 8 of the terminal block will be 25% of the voltage you supply across
pins 7,9. In this example, if you supply pins 7 and 9 with 10V, the G540
will generate 2.5V on pin 8.
If you supply pins 7 and 9 with 12V, the G450 will generates 3V on pin 8
when
Mach3 outputs a PWM with a duty cycle of 25%

Note, the recommended max voltage supply across pins 7,9 is 12Vdc.

Cheers,

Peter



On 11/03/2015 3:48 AM, Chris microcnc_31@... [mach1mach2cnc] wrote:


Hello:

Can anyone tell me how the PWM signal comes out of Mach?. And if you
have made connection correctly from G540?. Pin 7,8 and 9 are connected
to VFD, Does pin
7 and 9 put out 12V on their own?

Thanks

Chris