Re: Can anyone help with Load monitor on Genos Lathe
Your issue is that Okuma by default uses a % value over base setting for setting the overload and breakage levels. This is a problem since if you are running at a low load such as 5%, it will auto set at 5,5 and 6% so you will immediately get an alarm when trying to monitor after doing the autoset function. When you are setting a high load it will set at 100, 110, and 120 which is way too wide for proper monitoring.
I wrote some code to change this using built in system variables. It will fix the settings so that you have a 99% chance of success rather than a 99% chance of failure.
It takes the base value and adds a FIXED value to the base rather than a % multiplier. Cures your headaches almost instantly.
What you do is run your proven program using autoset, then run AUTOSETFIXR.MIN. This will fix all 64 parts on all axes in a few seconds. After that call your program back up, turn on MONITOR and run the program.
Try it, you'll like it.
You may need to adjust for your machine.
Best regards,
AUTOSETFIXR.MIN
(THIS PROGRAM CHANGES LOAD MONITOR VALUES TO BASE+ FIXED VALUES
RATHER THAN BASE * PERCENT VALUE
USE AMT1 AND AMT2 FOR 1ST AND 2ND LEVEL SETTINGS OVER BASE LOAD
TLN = STARTING VLMON# ETLN= ENDING VLMON#)
(********)
TLN=0 AMT1=7 AMT2=14 ETLN=64 (PARAMETER SETUP FOR A TURRET)
(********)
NSTRT TLN=TLN+1
NETLN IF [TLN GT ETLN] NEND
NCKAL TOTB=VLMSB[TLN](+VLMWB[TLN])+VLMXB[TLN](+VLMYB[TLN]) +VLMZB[TLN]+VLMMB[TLN]+VLMCB[TLN](+VLMBB[TLN])
TOT1=VLMS1[TLN](+VLMW1[TLN])+VLMX1[TLN](+VLMY1[TLN]) +VLMZ1[TLN]+VLMM1[TLN]+VLMC1[TLN](+VLMB1[TLN])
IF[[TOTB+TOT1]EQ 0]NSTRT
NMSB IF [VLMSB[TLN]EQ 0]NZS ( SPINDLE )
VLMS1[TLN]=VLMSB[TLN]+AMT1 VLMS2[TLN]=VLMSB[TLN]+AMT2
GOTO NMWB
NZS VLMS1[TLN]=0 VLMS2[TLN]=0
NMWB(IF[VLMWB[TLN]EQ 0]NZW) ( W-AXIS )
(VLMW1[TLN]=VLMWB[TLN]+AMT1 VLMW2[TL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