Hello Guest it is March 29, 2023, 01:13:31 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 - kf2qd

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 »
1
Mach4 General Discussion / Re: MACH 3 to MACH 4 and USS TO ESS
« on: March 22, 2023, 06:48:52 PM »
I think you might find that your glass scales go to the servo drive, which uses, somewhere in its logic a step and direction control. The reason I say this is, I have several boards that take step and direction from the PC and have encoder inputs, and analog outputs to the servo drive. 

2
Write some code that just routes out a square pocket and a square raised boss. Then see how those pieces come  out. It looks like possible backlash or slop in a connection causing it to move in ways you are not expecting.

3
Is homing setup on your machine? If so, you need to set the position for G28. For instance - on mill mill I have G28 go yo Z Machine Home 0, Y machine home zero, and X -6.5 from machine home to put the table toward the front and centered.

4
G-Code, CAD, and CAM discussions / Re: Swap A and B axes - how?
« on: March 22, 2023, 05:50:10 PM »
Change the settings in your configuration files. Every axis has a listing for a step and direction port, those need to be set up for your machine.

5
G54 sets the X Y & Z coordinates to your reference tool. One of the pieces of data you enter for each tool is the LENGTH.What is happening as you change tools the Ddiplay value for Z will change to reflect the currently called out tool. So - if for your reference tool - the Z position at a certain height of the machine is 3", then is you change to a tool that is an inch shorter and have an M6 T?? line matching the new tool, the Z value would read 4 reflecting the current position of the now active tool.

6
G-Code, CAD, and CAM discussions / Re: Just learning, need help
« on: April 19, 2022, 07:47:44 PM »
Thar is what G28 is used for. The head is retracted in Z and moved to an XY position that is part of the system setup.

7
Too high a feedrate.

8
G-Code, CAD, and CAM discussions / Re: G code G91 como incrementar
« on: April 19, 2022, 07:43:19 PM »
You are going between the 2 modes, and as soon as you go back to G90 you cancel out your incremental move with you very next Y move, as G91 does not modify the work coordinates. You are mixing absolute and incremental modes in that subroutine.

9
Use the Mach3 Parameters -
#5221 is G54X, #5222 is G54Y, #5223 is G54Z, #5241 is G55X, #5261 is G56X, #5281 is G57X and I think you can see the pattern here.

#5241=[#5221 +.875] (or whatever the distance is)
#5242=#5222 (so the Y is correct)
#5343=#5223 (unless the Z locations change)

And repeat for each tool.
You can put this in its own .NC file or at the head of each file that uses that tool block

Also works for general milling -
Set first tool
G54
M98P1
G55
M98p1
G56
M98P1
Set Second tool
G54
M98P2
G55
M98P2
G56
M98P2
and so on

10
I think this will do what you want to do.

Yo know the offset of your first tool and you know the X offset from your first tool to every other tool in the block.

Parameter #5221 is G54X, #5222i is G54Y and 5223 is G54Z. #5241 is G55X, #5261 is G56X, #5281 is G57X and I think you should be able to see the pattern here.

So - to set several work offsets in X you worls do this -

%
(this assumes G54 it the first tool on the block)
(an this assumes that you only need to adjust the X value for the tools in the block )
(G54 will be set using whatever method you normally use to set a fixture offset)
(to set G55X for tool 2)
#5241=[#5221 + .875] (G55 is +.875 from G54)
#5242=#5222 (so the Y is correct)
#5343=#5223 (unless the Z locations change)
#5261=[#5221 +2.1] (G56 is +2.1 from G54)
#5262=#5222 (so the Y is correct)
#5363=#5223 (unless the Z locations change)

This also works for normal mill work.
G54
M98P1
G55
M98P1
G56
M98P1
(Do a tool change)
G54
M98P2
and so forth
Write this into the header of the programs that use this tool block and just set G54.

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 »