Hello Guest it is April 26, 2024, 05:27:59 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 - tkalxx

Pages: 1
1
Mach4 General Discussion / Concept Validation: Dual Belt Spindle Setup
« on: February 09, 2021, 09:29:20 PM »
Hello all, I'm seeking some advice from the mach 4 gurus who know more than me in the software department.
I'm a mechanical engineer who is eager to learn more about the ins and outs of Mach 4 LUA, etc, but, my current knowledge is quite limited. I have a concept for a dual belt spindle setup that I know is mechanically feasible, and I'm willing to learn how to implement it into Mach 4 through trial/error and research once the time comes, however, I'd like to confirm that it is do-able before investing the time and effort.

I have a 2.2kW BLDC motor controlled via 0-10V analog through a VFD with a pokeys57cnc board. I'd like to build a dual belt setup for 2 speed ranges (approx. 0-4000rpm and 4000-10,000rpm). Each belt would be separately engaged by its own pneumatic air cylinder. For example, when commanded M3 S2000, air cylinder one would be engaged and thus belt number one is engaged; when commanded M3 S8000, air cylinder two would be engaged. This type of dual belt system can be seen on older Fadal machines.

My plan is to alter the M3/M4 scripts to read the commanded/desired spindle speed and output a signal to the appropriate solenoid in order to engage the belt. I know you can set up multiple speed ranges within Mach 4 but never done so. How well does mach deal with separate speed ranges, and how does my bob know what voltage to send to the VFD? As a very crude example, sending 5V to the VFD would achieve 2000rpm or 7000rpm depending on which belt I have engaged. I'm assuming mach just knows that when S8000 is commanded it is in the 2nd speed range?

I guess my overarching question to the mach veterans out there is: do you see any catastrophic problems with my plan that may arise? Any input is greatly appreciated!

--
Adam.

2
Mach4 General Discussion / Need Help - Mach4 errors w/ PMDX-424
« on: November 01, 2020, 12:54:08 PM »
I have a pmdx 424 in my CNC mill and it seems I’ve received every possible error in Mach. Can’t trace down the cause, and most of the errors are sporadic and random. I don’t have a VFD for my mill, and the usb cable is routed in such a fashion that it is isolated from everything else in the case.

Computer:
Windows 10 64 bit, Intel i5-4590T 2.00GHz, 8Gb ram

The errors I constantly receive:
Motion underrun error – Constantly get these while jogging the machine, especially when edge finding. I understand this is probably computer hardware related? My computer meets the Mach4 recommended specs and I have nothing but Mach4 installed on the computer with power settings set to “performance”. This error is not a massive deal because I can just hit enable and continue. I never see this error while running Gcode.
PMDX DEVICE ERROR ‘SYSTEM ERROR(18): Packet timeout, communications lost’ – This error seems very random, however I see it the most while jogging the machine around.
PMDX: Could not disable the PMDX-SmartBOB-USB, error ‘Cannot communicated with device’ – This error almost always shows up when I encounter a tool change in my Gcode files, specifically it will error out on T# M6 line of Gcode. I have an M1 optional stop the line before all my tool changes.
Error(17) – I’ve also received this error a few times, mainly at very random times.

Things I’ve done:
-   Reinstalled mach4 and the pmdx plugin twice. The second time, I started a brand new ini file (copy of the pmdx template) and manually changed all my settings.
-   Uninstalled/reinstalled ST vcom drivers
-   Updated windows
-   Power down everything, remove USB cable, boot PMDX board, wait 15 seconds or longer, plug in USB cable
-   Tried a different USB cable

I'm in the process of changing all step/dir and limit/homing wires to shielded wires with shields connected to the case ground, however, I can't see this doing much since the usb cable runs nowhere near any signal wires. Additionally, it's probably worthy to note that all AC power in the case is located in one corner and the usb/low voltage signal wires are all located in the opposite corner in an attempt to isolate any frequency issues caused by AC power.

I’m starting to get a little frustrated as my mill is rendered unusable, so any advice/help is greatly appreciated.




Pages: 1