Hello Guest it is April 15, 2024, 08:45:27 AM

Show Posts

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


Messages - lcvette

Pages: « 1 2 3 4 5 6 7 »
41
G-Code, CAD, and CAM discussions /
« on: January 04, 2015, 06:12:52 PM »
Just to be clear,  the software doesn't support I, j, k so does that mean add G91 instead? And should I leave G90 on the safety line as well as adding the G91?

Thanks!

Chris

42
G-Code, CAD, and CAM discussions /
« on: January 04, 2015, 03:21:51 PM »
No, I'm using Camworks.

43
TP,

Great information! thank you for the reply!

I can changed the output as suggested to add the G90 in the safety line.  Knowing what mach3 needs would be wonderful but i have not found any information that was in any one place, perhaps it is in a SDK for cam software writers?  All i had to go by was the sheetcam g-code i used to use and those programs were drastically different which really made things confusing for me.

Do you by chance have a G-code file with a little bit of everything in it that i might use as a template for finishing up this post processor code?  would be great to see something that was setup to use a machine correctly rather then how i was using sheetcam which was bandaiding tool change locations and didn't take into account any work offsets ( i was using machine and work offsets as the same because i had no homing switches, worked but now that i have added all the hardware needed, would be nice to use it correctly!!

below is the updated output file with the new post processor coding.  see anything else i may want to rethink/correct?  any input or help is greatly appreciated!!

Thanks a TON!

Chris

O0001
N1 G17 G20 G40 G80 G90
N2 (1/2 EM HSS 4FL 2 LOC)
N3 T07 M06
N4 S5000 M03
N5 G54
N6 M08
N7 G00 X.079 Y-.3625
N8 G43 Z.0984 H07
N9 G01 Z-.9016 F100.
N10 X.1001 Y-.326 Z-.9334 F60.
N11 G03 X.079 Y-.2495 Z-1. I-.0482 J.0278 F30.
N12 G02 X-.0072 Y-.1945 I.4261 J.7632

(Time Warp)

N375 G00 Z.1
N376 Z1. M09
N377 G40 X3.75 Y.25
N378 G28 Z0
N379 (#8 HSS 60Deg Centerdrill)
N380 T10 M06
N381 S2800 M03
N382 G54
N383 M08
N384 X.75 Y3.
N385 G43 Z1. H10
N386 G81 G98 R.1 Z-.0751 F6.
N387 X8.25
N388 G80
N389 Z1. M09
N390 G28 Z0
N391 (E, 1/4 JOBBER DRILL)
N392 T11 M06
N393 S1500 M03
N394 G54
N395 M08
N396 X.75 Y3.
N397 G43 Z.1 H11
N398 G81 G99 R.1 Z-1.125 F8.
N399 X8.25
N400 G80
N401 Z1. M09
N402 G28 Z0
N403 (1/2 EM HSS 4FL 2 LOC)
N404 T07 M06
N405 S5000 M03
N406 G54
N407 M08
N408 X5.775 Y3.
N409 G43 Z.0984 H07
N410 G03 X6. Y2.775 Z.0807 I.225 J0 F3.5526
N411 X6.225 Y3. Z.0631 I0 J.225
N412 X6. Y3.225 Z.0454 I-.225 J0
N413 X5.775 Y3. Z.0277 I0 J-.225
N414 X6. Y2.775 Z.01 I.225 J0

(Time Warp)

N703 G00 Z.1
N704 Z1. M09
N705 G40 X4.5 Y4.75
N706 M05
N707 G28 Z0
N708 G28 X0 Y0
N709 M30



44
G-Code, CAD, and CAM discussions / Tweaking a Post question on G28 G90...
« on: January 04, 2015, 12:46:06 PM »
Hello guys,

I am tweaking a post for my machine and started with a Fanuc base which is close, but it has raised a few questions.  In my search I came across some confusing information, see below.

In the Mach3 G-code reference (button in the software that pops up the code references) it states that G28 and G90/91 should not be used in the same line, however my base post shows them on the same line (sample below).  I was just wondering why they shouldn't be on the same line if the fanuc post puts them there.  I am guessing its because mach doesn't want to mix something up and perform a G28 prior to setting G90 or G91 so the machine is sure to move in the correct manner?  if this thinking is right I can simply put the G90/91 command on the line before the G28 Z0, but I wanted to fully understand and make sure i owned the answer before committing to it.

This is the first Post Processor I have ever played with so I want to be sure I understand exactly what is being changed and why so I can build on the premise.  so below is the condensed code snippet

O0001
N1 G17 G20 G40 G80
N2 (1/2 EM HSS 4FL 2 LOC)
N3 T07 M06
N4 S5000 M03
N5 G54
N6 M08
N7 G90 G00 X.079 Y-.3625
N8 G43 Z.0984 H07
N9 G01 Z-.9016 F100.
N10 X.1001 Y-.326 Z-.9334 F60.

(Time Warp)

N375 G00 Z.1
N376 Z1. M09
N377 G40 X3.75 Y.25
N378 G91 G28 Z0
N379 (#8 HSS 60Deg Centerdrill)
N380 T10 M06
N381 S2800 M03
N382 G54
N383 M08
N384 G90 X.75 Y3.
N385 G43 Z1. H10
N386 G81 G98 R.1 Z-.0751 F6.
N387 X8.25
N388 G80
N389 Z1. M09
N390 G91 G28 Z0
N391 (E, 1/4 JOBBER DRILL)
N392 T11 M06
N393 S1500 M03
N394 G54
N395 M08
N396 G90 X.75 Y3.
N397 G43 Z.1 H11
N398 G81 G99 R.1 Z-1.125 F8.
N399 X8.25
N400 G80
N401 Z1. M09
N402 G91 G28 Z0
N403 (1/2 EM HSS 4FL 2 LOC)
N404 T07 M06
N405 S5000 M03
N406 G54
N407 M08
N408 G90 X5.775 Y3.
N409 G43 Z.0984 H07

(Time Warp)

N703 G00 Z.1
N704 Z1. M09
N705 G40 X4.5 Y4.75
N706 M05
N707 G91 G28 Z0
N708 G28 X0 Y0
N709 M30



Thanks for looking guys!!

Chris

45
Does anyone have a general mach setup screen shot of the general config page for use with the Ethernet smoothstepper?  Not sure what things should be set in mach 3 for use with my new ESS and can't find much on the topic.

Any help is greatly appreciated!

Chris

46
Mach4 General Discussion /
« on: November 19, 2014, 08:59:52 PM »
More stuff,

Thanks for the info!  I guess I need to learn the LUA method..,..   Time to research!

Chris

47
Mach4 General Discussion / Re: Mach4 Spindle Control and Tuning ?s
« on: November 19, 2014, 07:16:12 PM »
Thanks for the replies fellas!

I am looking for much more generic answers I suppose...  I am ready to change my system currently to move to a external motion controller which is why I am asking.  I have been using Step/Dir but think I will be moving to PWM.  my current motor/driver configuration is the keling 2.2kw BLDC.  I have been successful running the motor in step/dir but without any accurate commanded to actual RPM.  the curve is off by a good bit mainly in the lower RPM range, See attached PDF chart.  My setup's RPM range is 400-6000.

I was wondering if Mach4 had a simple calibration table that would allow the user to define the voltage output or PWM output vs. sword commanded speed that was fairly simple or even a initial voltage and final voltage per RPM request.  For example, I can tune the motor to be accurate at the midpoint of the RPM and off at the beginning and end OR I can tune it to be correct at the top but off everywhere underneath (commanded RPM being higher than actual until max at which point it is correct).

It would be fabulous to have two boxes to input the Min. RPM voltage required to achieve the min RPM and then of course the max RPM and voltage to command the max RPM and have the linearity file be based on those two points which should bring the linear output inline with what is actually required to achieve correct speeds and be more accurate then the current configuration.  My biggest obstacle has been the low speed range and there does not seem to be any way to adjust this.  I'm sure most are gearing up to recommend pulley settings and motor tuning, but believe me when I say I have experimented with everything systematically including a clean mach install and at this point nothing seems to net the correct result. 

I was wondering if Mach4 has any additional tuning parameters to be able to make these adjustments?

Thanks!

Chris

48
Mach4 General Discussion /
« on: November 19, 2014, 02:42:33 AM »
No body?  Wow, figured someone would have setup a spindle a few different ways by now...

Any help appreciated!

Chris

49
Mach4 General Discussion / Mach4 Spindle Control and Tuning ?s
« on: November 17, 2014, 07:15:41 PM »
I am considering taking the plunge to Mach4 but have not found any specific information regarding spindle control except for the brief paragraph in the available literature.  My question is regarding the tenability of the spindle RPM.  I know in Mach3 I have had nightmares trying to get it close and wondered if Mach4 had been given a scaling table to manually assist in setting the voltage output curve?  Or if someone could enlighten me on how the spindle can be calibrated?  it appears that it can be controlled as a motor but I didn't see any information on tuning it.

Thanks Guys!

Chris

50
 tried some voltage testing and the pulse signal was very low, under 1v... And fluctuating faster then my multimeter could keep up so I don't know if it is higher and my meter just caught a glimpse or if that's even a possibility... Lol

I did try connecting it but it had very high and radically changing readings like over 1,000,000 rpm..

Now it just shows 1rpm when I hook it up and zero rpm when it's disconnected so I'm not sure what's going on.

Chris

Pages: « 1 2 3 4 5 6 7 »