开云体育

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

Re: Spindle control

 

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


Re: Where are we in Mach 4

 

开云体育

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

 

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




Daisy

 

? I know most of you are into getting serious work out of your systems.? I on the other hand have reached a point (I'm older than dirt) where I do get to play some of the time.? And my favorite program is one that makes my little Emco mill play the tune "Bicycle built for two" in 3 part harmony using the motor noises.? With Mach 4 it doesn't sound right.? It is much jerkier than Mach 3 was. Almost sounds like a "exact stop" problem. I've played with G93/G94 and G61/G64. but it doesn't smooth it out.??

?? Actually now it sounds just like the Fanuc machines I have at school.? So I'm thinking Brian has improved something with the trajectory planner, but I'd like to undo it, temporarily.? This is the first thing I demo to nubee's, and they love it.

Karl



Re: VFD and PWM

Spencer Chase
 

开云体育

in ports and pins, motor output, you just set some unused pin for step and direction and then one of them (the step???) is PWM'd? i hope the PDMX board can handle a reasonably high PWM frequency on a step or direction driver.
if i select PWM control in spindle setup how would i control the second spindle that does not want PWM control? do i have to fake it some way? i am currently using M3 for the first spindle that i want to PWM and M4 for the second spindle that needs to be just on/off

On 3/10/2015 11:07 AM, Chris microcnc_31@... [mach1mach2cnc] wrote:
?

Ports and pin then config is all you have to do and some additional with pully. The rest is electrical…

?

?

Chris

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 10:04 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM

?

?

i have read the mach3 manual section on spindle control and can not figure out how to set it up for PWM control. i have a PDMX board that does not have a dedicated PWM circuit for motor control. can i use the fourth axis that i am not using? PDMX calls this axis A or axillary output. is this controllable by mach3 as PWM spindle control?

On 3/10/2015 9: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



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

                    
(425) 791-0309


--

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

 

开云体育

Ports and pin then config is all you have to do and some additional with pully. The rest is electrical…

?

?

Chris

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 10:04 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] VFD and PWM

?

?

i have read the mach3 manual section on spindle control and can not figure out how to set it up for PWM control. i have a PDMX board that does not have a dedicated PWM circuit for motor control. can i use the fourth axis that i am not using? PDMX calls this axis A or axillary output. is this controllable by mach3 as PWM spindle control?

On 3/10/2015 9: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



-- 
?
Best regards, Spencer Chase
67550-Bell Springs Rd.
Garberville, CA 95542 Postal service only.
Laytonville, CA 95454 UPS only.
Spencer@...
(425) 791-0309


panasonic servo drives

 

hi , i was wondering if anyone here has used mach 3 and a pmdx 126 breakout board with panasonic minas servo drives and motors , im retrofitting a waterjet machine and im having problems with wiring and settings on my drives .

thanks
r brintle



Re: VFD and PWM

Spencer Chase
 

开云体育

i have read the mach3 manual section on spindle control and can not figure out how to set it up for PWM control. i have a PDMX board that does not have a dedicated PWM circuit for motor control. can i use the fourth axis that i am not using? PDMX calls this axis A or axillary output. is this controllable by mach3 as PWM spindle control?

On 3/10/2015 9: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


--

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

(425) 791-0309


Re: Noobie here

 

开云体育

Dan,

?

It is always nice to find old friends in new places. I didn’t know there was a Cambam forum but will join today.

?

Here is an example of what I could not find in any docs: after importing the .dxf from Alibre into CamBam, I had to join all line segments to convert all of those tiny line segments into large polylines. AFAIK, Alibre never mentions that step and I didn’t find it in CamBam either although the function is easily found on the menus. There might have been similar necessary but not obvious steps as I went from CamBam to Mach3 but don’t recall at the moment.

?

I don’t want to waste people’s time rehashing old stuff so if you can provide a few pointers to these kinds of show stopping yet simple steps, it would be much appreciated.

?

I can’t image going 150 IPM except maybe in my car ;-). Right now my CNC can go up to 4 IPM but I am milling at 1 IPM. Watching the machine work is almost as bad as watching grass grow.

?

I fought going from manual to CNC because of both cost and “joy”. I derived a lot of satisfaction out of turning those dials to create parts. But now that I have CNC, going manual seems silly. So I gained lots of capability and lost that hands on joy. No turning back…

?

I know I have a huge amount to learn about CamBam and Mach3 plus CNC in general. Fortunately, I know my way around Alibre PE plus am comfortable with machine language. Reading gCode is trivial right now and also very handy.

?

I did use my Electronic Edge Finder yesterday to set Z=0 using the end of my end mill. When the light went from green to red, I zeroed my Z axis. Then I jogged up by 0.0001” and the light went back to green. Back down to 0 and it turned red. Nice…

?

Peace,

?

Rick

?

Welcome to the world of CNC Rick! Surprised you didn't join earlier. Have you gone to the Cambam Forum? Not sure what search you want to do. Can you amplify on what you want to search? Paul's setup is an easy way to get started in CNC on a RF31 but it would have been really poor on my RF31. When I got my RF31 there was .020 backlash in the X axis .012 in the Y axis and .020 in the Z axis. Worst of all was the pitch of the stock acme lead screws was off by .001" per inch in addition to the backlash.Tightening up the anti backlash screws increased the drag too much so I retrofitted my machine with Ball-screws on the XYZ axis and can get speeds up to 150 IPM. Right now I have it setup for 5 axis work using the recent fixes to the free cnctoolkit. I need to modify the cheap Chinese 4/5th axis trunnion table to increase the pulley ratio for more force when machining metal.


Re: Spindle control

Spencer Chase
 

开云体育

I have ordered the Automation Tech spindle motor. Since i do not have room for the 80 mm water cooled one, i got them to sell me the 110 volt inverter (not listed on the web site separately)

this is the page for the 220 volt version which has a link for a manual. unfortunately the manual is in Chenglish and is very verbose including all sorts of details not really needed for basic setup. i should get the thing on Friday and want to be ready to get it working right away.

I am wondering what the best way to control it from Mach3 might be. The inverter has 10 volt control for speed. Have to read the manual again (a real struggle, maybe there are native Chenglish speakers in the group) to see how the 10 volt control works. the manual is a dump of 58 pages without index table of contents etc. i guess they assume that you want to read it cover to cover and memorize each setup detail etc. i just want a quick start guide and a few wiring diagrams.

anyway i only need one direction so i am hoping i can use Mach3 PWM output to switch a little FET board I have, connected to a 10 volt source (or 12 if i am careful to set up Mach3 to never go above 10 volts) and use this for the voltage follower input. otherwise i can just use a relay to control the forward switch as i am doing with my KB controller now.

if anyone has used one of these and has digested the manual please let me know what is important or not. also any ideas on speed control would be appreciated. it would be ideal if i could use different speeds for different parts of the program but it is not essential at this point.


--

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

(425) 791-0309


VFD and PWM and G540

 

开云体育

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

 

开云体育

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


Re: Where are we in Mach 4

 

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


Re: Where are we in Mach 4

 

开云体育

This should be checked as we are doing the Probe code...

Thanks
Brian

On 3/10/2015 9:26 AM, CNCWoodworker@... [mach1mach2cnc] wrote:

Brian, please see this post on the forum and see if it's still an issue.

Gerry


From: "Brian Barker brianb@... [mach1mach2cnc]"
To: mach1mach2cnc@...
Sent: Tuesday, March 10, 2015 8:23:49 AM
Subject: Re: [mach1mach2cnc] Where are we in Mach 4



Should be part of what is added for Probe.. I am thinking about doing the probe with Gcode rather then scripting...

Would you all feel better about changing Gcode rather then doing scripting? It would not be "normal" Gcode, it would be full of #'s and [vars]

Thanks
Brian


On 3/9/2015 3:01 PM, 'rad@...' rad@... [mach1mach2cnc] wrote:
Hi Brian & Jerry,

May I butt in here please?
With probing, I would just love it if we could select to start off by finding the centre of a pre-cut hole and then set Z zero from the base through that hole.?
I get to clean up a lot of laser cut plates. They come to me with the large holes laser cut. Using the centres of those holes as datums I have to clean up the hole surfaces and then drill and mill as required all the other markings.

Thanks for listening,
Russell Dunn
Ferlach
Austria

On 9 Mar 2015, at 14:33, Brian Barker brianb@... [mach1mach2cnc] <mach1mach2cnc@...> wrote:

Hi Jerry,
We are starting on the wizards for turn as soon as we get the new version out. We added pocketing of any shape with islands too the wizards but it is very untested at this point. This was the last "to do" we had before turn... The fun part of this is that we are going to use this same code to produce the Lathe cut path so you can turn any shape in the Turn wizards! This is going to make for a very powerful set of wizards in Turn. Mach motion tested turn and they where shocked how nice it is working and we are not calling it finished.

There are many ways to do Probe.. what are you thinking? Find Center and edge? or are you thinking tool length probe? I have a guy I can pay to get the scripts or Gcode to do this so I just need some clear picture of what you think you need.

Now on another note if you are running the industrial version we can now run the "Fanuc standard" Renishaw Macro's so for users that are into that level they can used what is considered to be the best in the world for Probing parts.

Thanks
Brian
?









Re: Mach4 Comp new mode

 

开云体育

I think most will never need to change the type of Comp.. It is simply an option that you can use if you need it.. You can forget it is there and if you have an issue I can tell you if it should fix it..

Thanks
Brian



On 3/9/2015 5:34 PM, 'Dave Sage' davesage12@... [mach1mach2cnc] wrote:

I see what your talking about and understand the concept of why having more than one comp could be necessary.

But that only applies to Gcode you write manually where YOU can predict that one type of Comp might be better than another in a particular situation - NO?

Most people use CAM programs. You would have to select a particular post to generate the G-code output. Then it would only have one type of Comp applied in the code. Possibly not the one that's suitable.

Also, the part to be machined might have a situation requiring both types of comp. What then?

Sage



Re: Where are we in Mach 4

 

开云体育

Got your List... we will see if we can make the code for it :)

Lua is not that bad... it is better then VB, it is just new. VB is not even supported by Microsoft anymore!


Thanks
Brian



On 3/9/2015 4:22 PM, OzzieII@... [mach1mach2cnc] wrote:

Hi Brian,
Probing:
Milling Machine;
I have a screen that I was ABLE TO WRITE IN VB, that uses 14 sequences, none of them tool length.?
Outside any side-4
Outside any corner- 4
Inside a hole -1
Inside two edges Y -2
Inside two edges X -2
Along one edge to determine the angle of an edge vs X -1
This last one allows you to rotate the axis of Mach?
Where appropriate the probes give a size measurement.
The screen allows you to set probing speed, horizontal travel distance, vertical travel distance, and diameter of the probe.
As for Z, I find I can do that faster than a probe using a small adjustable parallel; jog down close, measure, enter in DRO.
As for Lathe;
I made an insulated tool holder and have several probe sequences that you and I went round with a couple years ago. They work fine now except for one small bug.

These are all very basic and would be nice if something at least this good were included. I think there are more sophisticated sequences around, like probing at a good speed, backing off a bit and then slow probing for greater accuracy, and probably neat stuff I've never seen. I'm told that Solidcam has a bunch of neat probes.

I have a screen that is an improvement of AutoMill or Powermill or whatever it was called.
I have a screen that runs Y code on A, very simple, can use G2,3, uses "Swap Axis" and "Scaling"

I think a screen that combines a camera view and "Copycat" is of huge value.

I've looked at LUA a few times and and I'm certain I'll never create a screen with it, so the screens that come with Mach 4, or those I can buy for little money will be it.

Thanks,
Jerry?


Re: Where are we in Mach 4

 

Brian, please see this post on the forum and see if it's still an issue.

Gerry


From: "Brian Barker brianb@... [mach1mach2cnc]"
To: mach1mach2cnc@...
Sent: Tuesday, March 10, 2015 8:23:49 AM
Subject: Re: [mach1mach2cnc] Where are we in Mach 4



Should be part of what is added for Probe.. I am thinking about doing the probe with Gcode rather then scripting...

Would you all feel better about changing Gcode rather then doing scripting? It would not be "normal" Gcode, it would be full of #'s and [vars]

Thanks
Brian


On 3/9/2015 3:01 PM, 'rad@...' rad@... [mach1mach2cnc] wrote:
Hi Brian & Jerry,

May I butt in here please?
With probing, I would just love it if we could select to start off by finding the centre of a pre-cut hole and then set Z zero from the base through that hole.?
I get to clean up a lot of laser cut plates. They come to me with the large holes laser cut. Using the centres of those holes as datums I have to clean up the hole surfaces and then drill and mill as required all the other markings.

Thanks for listening,
Russell Dunn
Ferlach
Austria

On 9 Mar 2015, at 14:33, Brian Barker brianb@... [mach1mach2cnc] <mach1mach2cnc@...> wrote:

Hi Jerry,
We are starting on the wizards for turn as soon as we get the new version out. We added pocketing of any shape with islands too the wizards but it is very untested at this point. This was the last "to do" we had before turn... The fun part of this is that we are going to use this same code to produce the Lathe cut path so you can turn any shape in the Turn wizards! This is going to make for a very powerful set of wizards in Turn. Mach motion tested turn and they where shocked how nice it is working and we are not calling it finished.

There are many ways to do Probe.. what are you thinking? Find Center and edge? or are you thinking tool length probe? I have a guy I can pay to get the scripts or Gcode to do this so I just need some clear picture of what you think you need.

Now on another note if you are running the industrial version we can now run the "Fanuc standard" Renishaw Macro's so for users that are into that level they can used what is considered to be the best in the world for Probing parts.

Thanks
Brian
?








Re: Where are we in Mach 4

 

Either is ok.
Variable g code is much easier to maintain, and more universal, and will work for everyone.

A few comments on what the variables are, and
1. ANYONE can change them to suit their own machines.
They dont/wont need to necessarily understand all the gcode.

2-3 samples from different users, and we will have a universal base, well supported, not depending on machine variables.
0.02

On 10/03/2015 13:23, Brian Barker brianb@... [mach1mach2cnc] wrote:
Should be part of what is added for Probe.. I am thinking about doing the probe with Gcode rather then scripting...

Would you all feel better about changing Gcode rather then doing scripting? It would not be "normal" Gcode, it would be full of #'s and [vars]

Thanks
Brian
--
-hanermo (cnc designs)


Re: Where are we in Mach 4

 

开云体育

Brian,

Besides finding X – Y - Z for work location please keep in mind that probing is also used for generating 3D maps.

Bertho

?

From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 08:24
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4

?

?

Should be part of what is added for Probe.. I am thinking about doing the probe with Gcode rather then scripting...

Would you all feel better about changing Gcode rather then doing scripting? It would not be "normal" Gcode, it would be full of #'s and [vars]

Thanks
Brian

On 3/9/2015 3:01 PM, 'rad@...' rad@... [mach1mach2cnc] wrote:

Hi Brian & Jerry,

?

May I butt in here please?

With probing, I would just love it if we could select to start off by finding the centre of a pre-cut hole and then set Z zero from the base through that hole.?

I get to clean up a lot of laser cut plates. They come to me with the large holes laser cut. Using the centres of those holes as datums I have to clean up the hole surfaces and then drill and mill as required all the other markings.

?

Thanks for listening,

Russell Dunn

Ferlach

Austria

?

On 9 Mar 2015, at 14:33, Brian Barker brianb@... [mach1mach2cnc] <mach1mach2cnc@...> wrote:

?

Hi Jerry,
We are starting on the wizards for turn as soon as we get the new version out. We added pocketing of any shape with islands too the wizards but it is very untested at this point. This was the last "to do" we had before turn... The fun part of this is that we are going to use this same code to produce the Lathe cut path so you can turn any shape in the Turn wizards! This is going to make for a very powerful set of wizards in Turn. Mach motion tested turn and they where shocked how nice it is working and we are not calling it finished.

There are many ways to do Probe.. what are you thinking? Find Center and edge? or are you thinking tool length probe? I have a guy I can pay to get the scripts or Gcode to do this so I just need some clear picture of what you think you need.

Now on another note if you are running the industrial version we can now run the "Fanuc standard" Renishaw Macro's so for users that are into that level they can used what is considered to be the best in the world for Probing parts.

Thanks
Brian
?

?

?


Re: Where are we in Mach 4

 

No, no, no!!!! I vote for not creating more obscure GCode hacks. Scripting
is MUCH MUCH MUCH easier and MUCH MUCH MUCH more powerful. Anyone who can
deal with that goofy macroB nonsense should be able to do scripting in their
sleep.



Jeff Birt

Soigeneris.com



From: mach1mach2cnc@... [mailto:mach1mach2cnc@...]
Sent: Tuesday, March 10, 2015 7:24 AM
To: mach1mach2cnc@...
Subject: Re: [mach1mach2cnc] Where are we in Mach 4





Should be part of what is added for Probe.. I am thinking about doing the
probe with Gcode rather then scripting...

Would you all feel better about changing Gcode rather then doing scripting?
It would not be "normal" Gcode, it would be full of #'s and [vars]

Thanks
Brian



On 3/9/2015 3:01 PM, 'rad@...' rad@... [mach1mach2cnc] wrote:

Hi Brian & Jerry,



May I butt in here please?

With probing, I would just love it if we could select to start off by
finding the centre of a pre-cut hole and then set Z zero from the base
through that hole.

I get to clean up a lot of laser cut plates. They come to me with the large
holes laser cut. Using the centres of those holes as datums I have to clean
up the hole surfaces and then drill and mill as required all the other
markings.



Thanks for listening,

Russell Dunn

Ferlach

Austria



On 9 Mar 2015, at 14:33, Brian Barker brianb@... [mach1mach2cnc]
<mach1mach2cnc@...> wrote:



Hi Jerry,
We are starting on the wizards for turn as soon as we get the new version
out. We added pocketing of any shape with islands too the wizards but it is
very untested at this point. This was the last "to do" we had before turn...
The fun part of this is that we are going to use this same code to produce
the Lathe cut path so you can turn any shape in the Turn wizards! This is
going to make for a very powerful set of wizards in Turn. Mach motion tested
turn and they where shocked how nice it is working and we are not calling it
finished.

There are many ways to do Probe.. what are you thinking? Find Center and
edge? or are you thinking tool length probe? I have a guy I can pay to get
the scripts or Gcode to do this so I just need some clear picture of what
you think you need.

Now on another note if you are running the industrial version we can now run
the "Fanuc standard" Renishaw Macro's so for users that are into that level
they can used what is considered to be the best in the world for Probing
parts.

Thanks
Brian