Hello Guest it is April 25, 2024, 02:53:37 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 - sparky3

Pages: « 1 2 3 4 »
21
General Mach Discussion / Re: Strange Things Occur
« on: February 20, 2006, 08:30:06 PM »
are your limit swithces wired normally open or normaly closed?

22
General Mach Discussion / Re: having a script issue.
« on: February 13, 2006, 05:35:38 PM »
thank you Brian the g4's them selves did not do any thing but the while wend statement after them did.
id there a pause statement or wait statement in the vb script.  i could not find any thing in the cypress pdf. unless
i over looked it.
any ways thank's again.

Rob

23
General Mach Discussion / Re: having a script issue.
« on: February 12, 2006, 03:17:11 PM »
sorry first line should read is
sensor = getvar(1002) not (2002)
had a typo while reposting and could not edit

24
General Mach Discussion / Re: having a script issue.
« on: February 12, 2006, 02:18:53 PM »
when i put in the line
sensor = getvar(2002)

i get no value what so ever when i step through that kine of code.
 and i still have the problem of not geting the right data into DRO(2)
most the time it puts in 1.6********* and oemdro(1001) is set to 1.7055
even if i take out the
  ofst = getoemdro(1001)  and just put in
  call setdro(2,1.7055) it still wont work.

this is where my problem lies the program is working other than setting the dro to sensor height so that i can
take enter a g01 z0 and move my axis to top of part.  the program works great when i step through it.

25
General Mach Discussion / having a script issue.
« on: February 11, 2006, 10:20:19 PM »
doing a little code to zero work z. program works fine when i single step through it but when i run it from a button, not so good. here is the
here is the code.

feed = getdro(18)
if suchsignal(22) then

code "g31 z-7 f35"     'seek the sensor fast
while ismoving()
wend

sensor = getoemdro(85)  'get machine z position
pull back = sensor +.1     'add .1 to machine z

code "g53 g01 z" & pullback   'move z upto clear sensor
while ismoving()
wend

nextmove = getoemdro(85)  ' get new machine z position
move = nextmove - .11       ' set up for next machine move

code "f1"
code "g31 z" & move   ' slow sensor seek
while ismoving()
wend

ofst = getoemdro(1001)   ' get sensor height
call setdro(2, ofst)           ' set work z dro to sensor height

code "f" & feed              ' reset feed rate

end if

end

ok here is the problem i  have.  when i step through the script using the editor i works great, just like i wanted it to. 

this line "call setdro(2, ofst)  sets the work dro to sensor height ,then from the mdi line i can type in g01 z0 and it will move the tool down to top of part.

when i run it from the auto zero button it won't set dro 2 to the right offset.

any ideas

thanks rob



26
General Mach Discussion / Re: mach 3 screen having problem.
« on: February 08, 2006, 05:44:48 PM »
ok my machine just made a big liar out of me.  when to try it and it works i did check the oem code buttons before.  it does give a message before it closes the dro window "the hot key just duplicates another on function = -1 oem code 0 at x=431 y=740" . what does that mean?  thanks for your time guys.

27
General Mach Discussion / mach 3 screen having problem.
« on: February 07, 2006, 11:14:12 PM »
i am having a problem changing a screen.  on the first screen i added 3 new dro's wanted them to show machine cord. at all time no matter what i do with the work cord. system.  i read the screendesigner book.  and pluged in oem codes 83, 84, 85 and the dro's work but when i change the machine cord.button to show work cord's under the original dro's. it also changes the new dro's that i added.  i hope this makes sense.  is their any thing i am missing on doing this. or can it not be done?

thanks for your help.

28
General Mach Discussion / Re: set distance off home
« on: January 22, 2006, 09:30:31 PM »
i tried that maybe i don't understand it , when i set home offset it dosen't move the table .1 off the home switch. it just puts .1 in the dro.  i read the book and wached the video.  how is it susposed to work? in flashcut cut when i set home offset to .1 the machine homes to the switch then moves .1 inch off the switch.  does mach3 operate that way

29
General Mach Discussion / set distance off home
« on: January 22, 2006, 06:40:40 PM »
is there any way to set the distance off of home switch?

30
General Mach Discussion / Re: new computer
« on: January 17, 2006, 06:12:07 PM »
thank you i'll start looking

Pages: « 1 2 3 4 »