Page 1 of 1

G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 1:18 am
by dammogreen
In general config: If "G4" (seconds) checked......the units for spindle delays still show as "msec"

tell tale was that my code appeared to hang when actually it was just pausing for 1000 seconds because I thought I had "1000 msec" entered as the delay. ;)

( it correctly uses seconds as the delay when running th g code.)

Re: G4 "seconds" selected units in spindle delay still "mse

PostPosted: Wed Feb 14, 2018 1:26 am
by ger21
G4 and spindle delay are two different things.

Re: G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 1:40 am
by dammogreen
Perhaps G4 is meant to be only for G73, but if you check G4 to be seconds it does change the actual spindle delay to seconds (in reality)....the spindle delay units still show as "msec"

I just tested it again

Also I am controlling the spindle VFD by modbus, in case that helps.

Version 1.2047

Re: G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 2:35 am
by ger21
I think I misunderstood what you were saying...

Re: G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 5:51 am
by dezsoe
The "msec" text is on the background image, so it cannot change in runtime.

The setting for count in seconds will change the G4 and canned cycles timing and also the M3/M4/M5, M7/M8/M9 delays.

Re: G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 12:59 pm
by cncdrive
Yes, the problem is that the msec text is static, it is on the background, so the software can't change the text based on the setting.

Re: G4 "seconds" selected units still display as "msec"

PostPosted: Wed Feb 14, 2018 3:07 pm
by dammogreen
maybe put a static note : "units are in G4 units" as a 1000 sec(for example) wait could cause a crash or at least a surprise , as machine may "restart" unexpectedly.