Hi,
civtek wrote:Hi
Yes I was messing up turn and mill gcodes.
I understand - the difference can be confusing when first starting to use a lathe.
Here is a really confusing example of what happens if you use mill gcode in mach's lathe mode.
1) Suppose you typed T03 M6 in the mdi line.
That looks like a valid mill mode tool change, but we in lathe mode so what does mach do?
First mach sees the M6 and ignores it. If the M6 were flagged as a syntax error (invalid Lathe gcode) the user would be stopped here and the problem would be obvious.
2) Now mach will see the T word, and read the # after the T
2) Mach will see that only 2 digits are supplied.
3) mach will use the 2 digits (03) as the tool number.
4) now mach needs an offset #, bu there is not one... so mach will use 00 for the offset index.
5) but "00" is the magic number to say "do not apply any offset".
So instead of an error you will get a valid tool change to lathe tool #3 with no offsets applied...
civtek wrote:
I now can lood a tool but I am not gettig the screens I espekt. I will try to explain.
In the TOOLING PAGE I put T1010 in the MDI bar and hit enter. Next tool 10 shows. In Tool Change box "Tool Change" blinks but NO green arrow appear. TC Status say: Mont Lathe tool.
Then I go to the RUN PAGE. TC (upper right) is blinking. I press cycle start (green arrow) and TC stop blinking.
Back to TOOLING PAGE. And now tool 10 is showing as Current tool and TC Status say: Tool Change Complete
This is surly not the way it should bee working? (The green arrow should have appered when first in the ToolingPage?)
You are correct, the Tooling page Cycle start button should turn green. The symptom you have described probably results from a known Mach bug. Sometimes Mach does not correctly initialize the brains that MSM uses.
To fix the problem, please see item 4.1 in the MSM release notes. It describes the same problem you have seen and tells you how to fix it.
civtek wrote:
I have another question. I do not have limit switches on my lath and can therfor not do a Homing opperation. In Mach3 one can sett home manualy, can that bee done in MSM to?
Civtek
It is dangerous to do anything in machine coordinates when you do not have home switches. Without home switches, the machine can not tell where it is in physical space.
The MSM tool change position is stored as machine coordinates. If you ask MSM to go to the tool change position and the machine is not referenced, the movement could crash the machine. This is why MSM refuses to do the goto TCP movement if the machine is not referenced.
Without home switches it is best to not use the MSM tool change features (Go TC Pos'n and TC Auto TCP buttons).
The best solution is to eventually add home switches.
Until then here is what you can do (at your own risk):
If you do not have home switches AND they home switch signals are not defined (enabled) in the mach port&Pins dialog, then whenever mach is asked to home/reference an axis, mach marks the axis as homed and sets machine coordinate 0 to the current position of the axis.
If you do this, when you click ref-all home, each axis will be set to MC0 and the axis labels will turn green. As far as mach is concerned the axes are now referenced. MSM relies on mach to check the axis states - so when MSM asks mach, mach will say that the axes are all referenced and MSM will not know any better.
If you do this, you will have a different physical location for X,Z Machine 0 each time you reference the axes. This can crash the machine if you then tell MSM to go to the TCP, and the TCP location is past the end of the physical travel. you can do this, but you must be aware of what the consequences could be of doing this.
Dave