1421
General Mach Discussion / Re: G81 weirdness, newbie
« on: August 31, 2007, 08:57:30 AM »
Hi Guys:
Actually, both are wrong. In the first program the move
N118 X-.5762 Y-1.5873 should have a g1 in it. This is because the G80 cancels the canned cycel, but it also cancels all modal motion commands, so the line
doesnt have a modal movement type. IT needs to have G1 reinstantiated.
The second example, trys to change the Z of a canned cycle, that too cannot be done while in the cycle. The Z can only change when
entering a canned cycle. Ill list to see if I can change this bnehaviour, the G80 cancellation of all modal is a holdover from EMC's interpreter,
but I see in the code where I once changed it, then changed it back, so I suspect there are unknown problems in other areas when I just reinstantiate the
last motion prior to a canned cycle. But Ill see what I can do.
Art
Actually, both are wrong. In the first program the move
N118 X-.5762 Y-1.5873 should have a g1 in it. This is because the G80 cancels the canned cycel, but it also cancels all modal motion commands, so the line
doesnt have a modal movement type. IT needs to have G1 reinstantiated.
The second example, trys to change the Z of a canned cycle, that too cannot be done while in the cycle. The Z can only change when
entering a canned cycle. Ill list to see if I can change this bnehaviour, the G80 cancellation of all modal is a holdover from EMC's interpreter,
but I see in the code where I once changed it, then changed it back, so I suspect there are unknown problems in other areas when I just reinstantiate the
last motion prior to a canned cycle. But Ill see what I can do.
Art