Hello Guest it is April 23, 2024, 06:49:02 PM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - robertspark

501
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 03:25:28 PM »
Option 1.....

200 steps / mm
1200mm/min
20mm/sec/sec (try using a slower acceleration until you get it running right then tune it]


Option 2.....

800 steps / mm
1200mm/min
20mm/sec/sec   (try using a slower acceleration until you get it running right then tune it]

Screenshots attached

You have some more problems.....

You're inputs and outputs screens are all wrong
see the screenshots for comments

502
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 02:35:41 PM »
Send me your XML file from within your mach3 folder as that is where all your settings are saved.

503
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 02:18:13 PM »
..... if I was setting up my machine.... I would try to set it up on quarter uStep driver setting ....

So I'd get 0.00125mm / micro step and that would allow for backlash compensation

1 / 0.00125 = 800 steps / mm >>>>> 800 steps / mm x 20mm / sec = 16kHz kernel frequency ..... so leave it at 25kHz ( minimum setting ).

Rob

504
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 02:13:34 PM »
Seems they are 2mm pitch, with a 2:1 gear reduction (if you are using the existing stepper motors), then each stepper will be 200 steps full scale resolution...

The manual lists the resolution as 0.001mm / step...

so 2 / 2 / 200 = 0.005 mm / full step..... the problem is the commong uStep resolutions are:
full step, half step, quarter step, 8th step and 16th step....
which would give the following resolutions per step
full - 0.005
half - 0.0025
quarter - 0.00125
8th - 0.000625
16th - 0.0003125


the manual lists the maximum axis speed as 1200mm / min ....

So I'd suggest setting up the maximum axis velocity as 1200mm / min

Then you are going to need to do a bit of exploration as to the step resolution .... I'd suggest as a start (given you have them as full step) as 1 / 0.005 = 200 steps per mm.... (which is what you did in the first place....)

I'd start off with the acceleration as about 40 mm/s/sec .....

given 1200mm/min = 20mm / sec >>>> and a good starting point is about 0.5sec to achieve full speed....

Then you will need to do some tuning....


as far as the Kernal speed.... leave it as 25kHz  .... given 200 steps / mm x 20 mm / sec = 4000 steps per second (maximum).... hence 4kHz...

Rob

505
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 02:02:32 PM »

506
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 01:39:07 PM »
Hang on trying to review some specs of the f1 (I have an fb2... Not converted to CNC yet)


507
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 01:26:15 PM »
How big is the machine (the carriages)... What sort of a machine is it ... Is it a milling machine / engraver like the 3040 cncs or is it something else?

Do you have a photo?

Rob

508
General Mach Discussion / Re: Speed of stepper motors
« on: November 10, 2015, 01:19:44 PM »
That is not how you work out the velocity....!

Firstly your stepper motor drivers, what microstepping resolution do you have them set on?

Next what leadscrew or ballscrew pitch do you have?

Presume you have no gearbox and they are direct drive?

How big is your machine... Not its physical size but how much travel does each of the axis have?

Presume all the leadscrew for all the axis are the same?

Rob

509
General Mach Discussion / Re: Mach3 Output 6 and 7
« on: November 10, 2015, 09:00:23 AM »
No problem,

...forgot to add...

You will need to add the m codes to your gcode to toggle the outputs when you want them.

Note all mcodes except m10/m11 will cause a slight hesitation in the machine because of the way Mach recites scripts.


What is the machine for?

If you go to the midi screen you can type in the mcodes and test they work as intended (once you've set it all up)

Rob

510
General Mach Discussion / Re: Mach3 Output 6 and 7
« on: November 10, 2015, 02:41:26 AM »
>>>How can I add output 7 LED to the Diagnostics Tab in Mach3?

Use a screen editor... I use "Machscreen" available from the "downloads" dropdown here: http://www.kd-dietz.com/klausphp/pages/eng/machscreen/description/ms_description.html

When you start the program you will have a "MachScreen Properties" floating tab that appears on the RHS.

First select the "page" you want from the dropdown list / menu

Then little bit further down that page, next to the "add control" button select "LED" from the dropdown and then click "Add Control"

Then click somewhere on the screen where you want to add it.

Then whilst still having the LED selected / highlighted, look on the floating screen and at the bottom of the floating screen is a number of options

Then where is says "function" click on the bit of text next to it (probably says"reset" and scroll down to "OEM Output 6 Active LED"  [they are alphabetical]

You can then move, scale etc the LED... you can also change the LED's colour change state / blink status by adjusting the properties in the floating tab.


>>> I cant make output 6 light up either but not sure why.
Have you assigned the pin under ports and pins?....   how are you turning output 6 on and off.... are you using an "M" code... you may need to create a script...
In Mach3.... go to the "operator" menu.... select "VB Editor".

Then add the following text....

ActivateSignal(OUTPUT6)

Save the file as say "M1061.m1s"

Then create another macro... and add the following text ....

DeactivateSignal(OUTPUT6)

Save the file as say "M1060.m1s" 

[the "theory behind the numbering is .... greater than 1000 m codes are custom / user codes... the "6" is for output 6 and the "1" or "0" indicates if you want the port "on" or "off"]

......
useful manual here (DROs and LED refs are at the rear):
http://www.machsupport.com/wp-content/uploads/2013/02/Mach3_V3.x_Macro_Prog_Ref.pdf

And another one with the full command set of Cypress (not just Mach3 specific items):
http://www.machsupport.com/wp-content/uploads/2013/02/VBScript_Commands.pdf

Rob