Hello Guest it is April 17, 2024, 10:02:12 PM

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 - madeintheshed

Pages: 1 2 »
1
General Mach Discussion / Macropump code trouble
« on: June 07, 2015, 02:55:36 AM »
Hi,
Having trouble getting a macropump to run

It seems like there is somethng wrong with the code/syntax in the if/then statements. With this removed, the pump runs and I can see the Macro calls counting in the message bar.

Code: [Select]
i=i+1
 
 message" Macro Running #"&i
 
 a=GetUserLed(2000)   
 
 If a = 0 Then
   i=0
   DoOemButton (1024)
   While IsMoving()
   Wend
   DoOemButton (1023)
   While IsMoving()
   Wend
   DoOemButton (1022)
   While IsMoving()
   
   DoOemButton (1026)
   While IsMoving()
   Wend
   
   DoOEMButton(133)
   DoOEMButton(134)
   DoOEMButton(135)

End If 
   

What am i doing wrong?

2
Brains Development / Ref Home Brain
« on: May 03, 2015, 05:31:22 AM »
I have a brain that activates the Ref Home function when I press a button on my panel. If for some reason the Ref Home button input is triggered whilst some code is running, the moment the code is stopped / Paused / or ended, it goes into ref home mode.
Is there any way to prevent this? Maybe even modify the brain so that the button has to be held for more than 1 or 2 seconds?
Could someone please help with this as I have very little brains when it comes to this :)

3
Show"N"Tell ( What you have made with your CNC machine.) / Night Lite
« on: February 22, 2015, 04:21:57 AM »
Here's a niteilight I made our newborn Nephew....


4
General Mach Discussion / Ref All Home from an external switch
« on: January 14, 2015, 09:45:57 PM »
Hi,
im trying to set up an external button to home my machine. What I want to be able to do is eactly whats in the Ref Home button script, so the logical thing to do would be to map the hardware button press to the OEM button number. Problem is I cant find the button number and from reading, dont think there is one.
So, I tried a macropump....
Switch connected to input #1
Code: [Select]
If IsActive (input1) Then
DoOemButton (1024)
DoOemButton (1023)
DoOemButton (1022)
DoOemButton (1025)

DoOemButton (133)
DoOemButton (134)
DoOemButton (135)
End If
Which is the same as in my button script.


But what happens here, is that all axis home at the same time, not one after the other.
This is not what I want as I would like z to home first so that the tool clears anything on the table when moving X and Y, just like the "Ref All Home" button on the screen.

What am I doing wrong?

Regards

5
General Mach Discussion / Spindle overspeed
« on: January 10, 2015, 05:16:29 AM »
I have a VFD which runs my spindle and is controlled by a plugin in mach3.
If I set my speed to 24000 and start the spindle (M03 S24000), the spindle starts and runs at 24000rpm.
I then press the minus sign in the Spindle section and my motor slows down. I press the plus sign and my RPM increases. If press the plus sign until requested speed exceeds 24000 rpm, the spindle stops and Mach3 program run stops.
How can I set Mach3 so that I cant request an RPM higher than 24K?

6
PoKeys / Getting LEDs to illuminate
« on: January 09, 2015, 08:35:16 AM »
I thought this would be easy, but for the life of me I cant get Pokeys to illuminate a LED!
Led connected with 220 ohm Resistor pin 32 and ground. Polarity has been checked (and also reversed to verify)
Mach3 plugin: Pin 32 set to output, LED 804 (Start LED), Invert "Off" - Also tried lots of other LED numbers to see if I had the correct mapping
Pressing start and running some code the LED on the Pokeys does not illuminate, altho looking at it in low light, I can see a faint glow which is always on regardless of Mach 3 screen LED state, or Pokeys Settings.
Anyone have an idea why this would not be working?

7
General Mach Discussion / Strange homing problem
« on: January 02, 2015, 08:19:19 AM »
Hi, I'm having trouble setting up homing switches.
I have NC switches on X, Y and Z connected in series to pin 11
I have a NC switch on B (axis is slaved to X) connected to pin 10, "Home Slave with Master axis" is unchecked
There are no other inputs connected or configured.

On the diagnostic page, with axis away from home switches, LEDs for Pin 10 and 11 are unlit and none of the Home LED's are lit. When I press the switch on x, y or Z the LED for pin 11 lights, along with M1, M2, M3 home LEDs. When I press the switch for B, LED for 10 and M5 home LED lights.

All going to plan so far....

When I press the REF ALL HOME button, each axis motor jogs a few steps and stops. one of the LED's for the input pins or homing indicators illuminate  The LEDS on the Zero X , Y and Z buttons change from Red to green and the machine co-ord set to zero as expected, but they are no where near the switches. Pressing again just repeats the motion.
The same happens when I try the individual axis on the diagnostic page.

Does anyone have an idea why I cant Ref Home?

Thanks in advance

Jon


8
PoKeys / Pokeys stopped working
« on: November 23, 2014, 03:55:57 AM »
My Pokeys 56U has stopped working. Up until now it has been working fine, but yesterday, halfway through a setup of a job, it suddenly stopped.
I unplugged it and plugged it in again, and I now get the message
"USB Device not recognized. One of the USB devices attached to this computer has malfunctioned and Windows does not recognize it......"
Have both Red and Green Status LED's lit. I have tried plugging it into another computer and get the same result. I've also tried resetting it, by grounding pin 54 on startup, but still get the same.
Can you give me an idea what could have happened and what I can do to get it running again.

9
Screen designer tips and tutorials / Assign a buuton number
« on: July 25, 2014, 09:27:52 PM »
Hi,
Is there a way to assign a number to a button created in Screen4? Like an OEM number.
I have created a button to turn single block on and another to turn single block off. Each of these 2 buttons have a script assigned to them from within Mach3 and are working as expected when mouse clicking. What I would like to be able to do is call that button from a plugin (pokeys). Pokeys has the ability to call the button number (Ive chosen 1500 and 1501), but I cant work out how to give it a number and be able to assign a script to it.

10
PoKeys / Pokeys on board power supply
« on: July 11, 2014, 12:42:19 AM »
Hi,
Is it OK to use the 5v and 3.3v terminals on the Pokeys 56U to power analog inputs and rotary encoders or should I use a separate power source for these?

Pages: 1 2 »