Hello Guest it is April 27, 2024, 01:13:48 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 - polaraligned

Pages: « 1 2 3 4 5 »
31
General Mach Discussion / Re: Macropump help
« on: April 10, 2007, 07:28:55 PM »
Thanks chl.  That code appears to be working so far during testing.


Scott

32
General Mach Discussion / Re: Macropump help
« on: April 08, 2007, 06:57:17 PM »


Here is the pendant as I call it. 

I am not sure what you are saying about using an OEMtrigger Brian.
My inputs are into a ModIO analog, via a voltage divider.
This is the panel I showed you at the show in January in PA.  It was
just a drawing back then.

My problem here is debouncing the keys.  Single step for example, if you
do not hit it just right, it will toggle on and then just toggle off.
The feedrate up and down buttons often jump in increments of 20
instead of the 10 that they should.  The keys are being read 5 times
a second (via the macropump) and Mach is seeing multiple keystrokes
 for single pushes.  Clearly a debouncing problem.

The reset is working fine.
I coded it so that once it is pressed, it will not work again unless
Mach goes into reset again for some reason.

Also, I need to figure out how to get the Mode, Resolution and Axis selection switches
all into 1 analog input.  I might need some external logic.

Scott


33
General Mach Discussion / Re: Macropump help
« on: April 08, 2007, 06:37:20 PM »
Thanks Scott,
What I was really looking for was the OEM button number for the reset.  I didn't
think one existed.  I must have looked up and down my sheets 50 times and still
missed the reset.  You posted it as 1021 and there it was....on my sheet looking me
straight in the face. 
Your code is interesting but it looks like it is for a latching switch.  I am using
pushbutton switches off of a voltage divider and feeding my ModIO analog input.
I am running 12 pushbutton switches into one analog input. 


What I REALLY need is a method of debouncing these switches.  The Single step is the
worst.  You need to hit it just right for it to consistantly work.  The  Feed up and Feed
down are also a bit nuts.  Sometimes they increment it more than the 10% value they
should be doing.  I tried a few things to slow down the switch polling but it only caused
problems with Mach. 

Any ideas?

Scott


34
General Mach Discussion / Re: Macropump help
« on: April 07, 2007, 07:14:13 AM »
OK.  So e-stop and reset are the same.  I guess I need to use another hard input
for that.  Running out quickly.  I think that the Sound Logic BOB uses this input. 
When you hit a limit switch Mach immedietly goes into reset. 
I want to be able to reset the software without resorting to the mouse, not e-stop it. 
I somehow doubt that I can do this now if the Sound Logic board uses this input.

Any Ideas?

Scott




35
General Mach Discussion / Re: Macropump help
« on: April 06, 2007, 08:21:04 PM »
Ok.  I got my jog switches up and running.  Thanks Brian.

How do I handle operating the Reset button with a switch on my pendant?
Is this doable?

Thanks,
Scott


36
General Mach Discussion / Re: Macropump help
« on: April 06, 2007, 05:20:04 PM »
Thanks Brian.  I hand no idea they were there.   :)

Scott




37
General Mach Discussion / Macropump help
« on: April 05, 2007, 09:06:15 PM »
I need some code help.  I have the following:

If IsActive(Input1) Then      'Read input 1
     DoOEMButton(310)         'activate the "Y--" jog button
End If

I just want to make this button jog in the Y axis.
It works except that when you let go of the button the axis does
not stop.  Electrically, it is working fine as witnessed by the
ModIO LED indicator going out when you let go of the button.
Do I have to look for when the button is not pressed and do some
sort of a reset?

Also,
How do you change the state of a led on the screen?
I have tried:

Call SetOEMLed(66,1)       '66 is the OEM number of the block del led
 
I tries several variations and it always
 returns an error: Function not defined SetOEMLed

The Mach customization WIKI that lists the OEM LED's says this is a
valid call.

Thanks,
Scott

38
Modbus / Re: ModIO and Mach not keeping up with MPG
« on: April 03, 2007, 06:05:35 AM »
I got it.
Apparantly Mach will not work with an MPG when set in the single step
mode.  I set it to multistep and then adjusted the counts for the MPG in
the Ports and Pins screen to 4. 
Single step mode works just fine with the keyboard, just not the MPG.
I did not want to use a velocity mode as this is just not how I want to
use my MPG.  It is used for final fine positioning.  But yes, it did work
in velocity mode.

thanks,
Scott


39
Modbus / ModIO and Mach not keeping up with MPG
« on: April 02, 2007, 09:47:28 AM »
I have hooked up my ModIO and wired the MPG. The MPG works
fine if you turn the handle really slow, about 1 click per second
max, in single step mode. If you spin the MPG at about 10 clicks
or so per second, nothing happens. The Mach DRO's don't even
display a change of position.

The ModIO LCD displays a count from the MPG in the
upper right hand corner. This count is in hexadecimal with 4 counts
per click of the MPG and it is accurate no matter how fast you
turn the MPG handle.

So it seems that the ModIO is counting just fine but not able to
transfer the data to Mach unless you turn the MPG really slow.

I messed with settings for 2 hours and just can't figure it out.
I read through the ModIO manual thoroughly and made sure my settings
were just as pictured in the manual.

Any ideas?

Scott

Here are some screen shots showing my settings. 









40
General Mach Discussion / Re: Boss 9 retrofit querry
« on: March 07, 2007, 06:56:42 AM »
Do the Tek drives have some sort of tuning software like the Rutex?
I am just having a bear of a time getting my Geckos to not fault.
I am running the 340's with a 1000 line (4000 count) encoder on brand
new Baldors.  I have the 340's set to divide by 5 so it is like having 800
total counts per rev.  This is producing 16000 counts per inch of travel
at my axis on my BP.   This seems like a reasonable number to me and
gives me about 120 IPM rapids.  When I disconnect the motors and let
them run under no load the damn drives STILL fault.  I just can't get these
drives to run without faulting.  My power supply is plenty sufficient, my wiring
is neat and proper, I checked everything in the barely sufficient Gecko manual.
They only fault when they near the upper 2/3's of their speed.
I can prevent them from faulting if I run the machine slow as a turtle, ie 60
IPM rapids and an acceleration value of about 1.
My initial impression was that these drives were great.  Not so sure I think
that anymore.

Scott





Pages: « 1 2 3 4 5 »