Hello Guest it is September 19, 2021, 11:08:31 AM

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Kenneth

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 »
211
i want to be able to enter an amount and click the button to change it to
either inch or mm and click again and it goes back to what i typed in.
without changing the othe dros

Thanks Ian

212
well, i got this to do what i want. don't know if i'm messing up something
else :)   is there another button(106) i can use ? not sure i should be using
a system button

DoButton(106)
InchMM = GetUserDRO(1010)
If GetUserLED (1012) = 0 Then
SetUserDRO(1010 , InchMM*25.4)
While IsMoving
Wend
SetUserLED(1012,1)
Else
SetUserDRO(1010 , InchMM/25.4)
While IsMoving
Wend
SetUserLED(1012,0)
End if

213
because i was given a script(Thanks Klaus) and was working from there.
the script using the unit toggle but i was looking for an altenate button to
use. that's why i asked if it was possible to get the status of a user button.
when i couldn't find a user button to use, i created a LED.. i'm working on that
but it still toggles system. Thanks Ian

214
Thanks Ian,
that helped the system DRO, but it still changes the feed rate(18)
and the overridden fr(55). but i'll take what i can get :)
was hoping to be able to enter a number(say 12) and then click
my button to change it to inch or mm. that's it. just a simple
convertion button.

215
i know it's dat dang dobutton but can't
find where to use a user button.

216
i got this working by adding a UserLED.
but it still changes all my DROs.

DoOEMButton(106)
InchMM = GetUserDRO(1010)
If GetUserLED (1012) = 0 Then
SetUserDRO(1010 , InchMM*25.4)
SetUserLED(1012,1)
Else
SetUserDRO(1010 , InchMM/25.4)
SetUserLED(1012,0)
End if

217
Thanks Kluaus, but that uses the OEM button to toggle units.
so it changes ALL the DROs by using the OEMLED. was looking to
have it just to do a quick convert as i use inches all the time and sometimes
they bring me mm. used inches for 20 years and just started to have to convert.
so i would like one DRO to change. is there a way to use DoButton for a user button ?
and i got your email about the 1010 DRO. Thanks

218
g98 will retract the z to the level where you started the canned cycle.
so everywhere you have a screw, put g98 before the move and then it will go
back to g73

M6 T3
M03 S3200
M8 (Flood On)
G00 G43 H3 Z7
g98
G73 X5 Y40 Z-7 Q1 R7 F76
 X15 Y40
 X25 Y40
 X35 Y40
 X45 Y40
 X55 Y40
 X65 Y40
 X75 Y40
 X85 Y40
 X95 Y40
 X105 Y40
 X115 Y40
G80

219
G98 = return to initial Z level in canned cycle

220
use G98 as Alex said or do as i said.
either way, you'll need to edit the gcode unless you can edit the
post processor.

Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 »