Program Freeze

masbobso

masbobso
I have my retrofit Hardinge Lathe with Masso HTG5A1S all set up and running, tools work great, Collet actuator works perfect, VFD perfect, doesn't lose position, everything is fine except at the end of my program it freezes right before ( M30 L0 ), I need it to repeat indefinitely. I have the program and settings below, its kind of a weird program, theirs a lot going on in a short amount of code. I wrote a message on the line it freezes on. I'm sure its something stupid, I'm just not seeing it. Any help would be great.

Thanks, Bob
 

Attachments

  • 2ND-OP.nc
    510 bytes · Views: 30
  • MASSO_Settings.htg
    620 bytes · Views: 30
  • MASSO_Tools.htg
    1.9 KB · Views: 28

safeairone

safeairone
Just verifying that it s freezing BEFORE the M30 line, and the stoppage is not just result that would normally be expected upon reaching (and executing) an M30 code, which only ends the program and resets it but WILL NOT restart the program again automatically?
 

masbobso

masbobso
It shows it in the program I sent, it freezes at the Z2. before M1 and the M30 L0. And optional stop is not on or it would not make it that far.
 

safeairone

safeairone
T3 M6 ( DEBUR HEX )

G97 S100 M4

G0 X.8

G4 P1000.

Z-.59

G1 X.45 F10.

G4 P1000.

G0X.8

M5

G97 S100 M3

G1 X.45 F10.

G4 P1000.

G0X.8

M5

X1.6

M62 P1 ( OPEN COLLET / EJECT PART )

Z2.( THIS IS WHERE PROGRAM FREEZES )

M1

M30 L0

[You may have to click on the snippet of code above to see the whole thing]

Does it freeze before or after the last z move (Z2.)?

If BEFORE, did you try to add a G00 or G01/Fn.n to the last Z move and retry?



[EdIT]: Just had a look at the M62 page on the Masso documentation...That's probably not it. Did you try using M64/M65 instead of the M62/M63, which rely on the follow-on axis motion to execute? It doesn't look like the M62/M63 are supported in later releases of the software.
 

breezy

Moderator
@masbobso, @safeairone,

Gents,

With the last update, version 3.47 there were several changes made relating to M62-M65.

M62/M63 was dropped from the G2 software due to memory limitations and replaced with M64/M65. In the original code M62/M63 were immediate operation, but that is not the standard for them. Both M62/M63 & M64/M65 combinations are implemented in the G3 software.

So Masbobso if you own a G2, M62 is not a valid code and could cause the program freeze, change it to M64 and try again.

Regards,

Arie.
 

masbobso

masbobso
Thanks for your help,

it stops on the Z2. line.

I'll try out the G0 part first. I haven't updated the software yet, cause my M62 / M63 work just fine. But if G0 doesn't work I'll try the update.
 

breezy

Moderator
@masbobso

So it performs the M62, but doesn't do the Z2. move.

It doesn't lockup MASSO, you can continue using it without having to reboot?

MASSO reads each line of code and then performs it. It remembers the last modal G command and a M command shouldn't interrupt G commands. To me it seems that it has hung on the M62 command and hasn't read the Z2 command.

Regards,

Arie.
 

masbobso

masbobso
Yes, it does the M62 and then stops at Z2. and no, Masso doesn't lockup, just hit rewind and go again. When I single block through it does go from M62 P1 to Z2. then nothing.
 

cncnutz

CNCnutz
Staff member
Hi masbobso

I have loaded your settings, tools and Gcode file into Masso and the file runs fine.

It completes the Gcode file, then rewinds and starts over.
The only thing that stopped it running for me was the M01 commands but after I turned off the optional stop, it ran contineously.

If you still have M62 & M63 working it would imply that you are running old software.
The current version is 3.47.4

Cheers Peter
 
Top