Hello Guest it is April 26, 2024, 09:32:01 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.


Topics - foka4

Pages: 1
1
I have an old macropump macro for overriding the spindle speed with a potentiometer.  The macro works fine when using the standard Mach 3 mill screen (1024.set), but when I switch to the lathe screen (1024.lset), the macro no longer works. 

Here's the macro code I'm using:

SRO = GetInput (65)
SRO = (SRO * 120.0)/1024.0
Call SetOEMDRO(74,SRO)

Just for kicks, I used the screen designer to save a copy of 1024.lset as a .set file, and the macro worked fine when I loaded this screen.  (A number of other things were messed up, however, including the toolpath views.)

Any ideas why this macro won't work on a lathe screen?   Any suggestions for a workaround?

Thanks,

m


2
Brains Development / Feedrate override with MPG
« on: July 02, 2009, 04:56:12 PM »
I have an MPG pendant for manual jogging of my mill, and it works great.  I'd like to extend its capabilities by using the MPG encoder for increasing/decreasing the feedrate override % (FRO) and the spindle speed override % (SRO).  The pendant has a 6-axis selector switch for jogging, and since I don't need axes 5 and 6 for my mill, I'd like to use these selections to control FRO and SRO.

I have some experience programming PLCs, but I'm having trouble getting my Brain to behave as I wish.  Here's the behavior I'd like for the feedrate override function:

1)  Turn the axis selector switch to FRO.
2)  Rotate the encoder CW or CCW to increase/decrease the FRO % from its current value.
3)  Upon turning the selector switch from FRO to another mode, I'd like the FRO value to remain at its setting from step 2, even if I spin the MPG.

Has anyone attempted this?  If so, can you send me your brain?  I've used the better part of a vacation day on it, and I don't have anything to show for it.  BTW, I'm not using ModIO since I have enough inputs on my parallel port to do the job.



Thanks,

M

Pages: 1