Hello Guest it is April 25, 2024, 03:12:18 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.


Messages - mb300sd

Pages: 1 2 »
1
PoKeys / Can't turn off pin after M62
« on: January 26, 2023, 01:39:45 AM »
I have output 3 configured as laser output. M62/M63 work fine if there's a G1/G0 after it. But I cannot get it to turn off if I hit stop, or at the end of a program if I don't remember to add M63 and a G1 manually. (Fusion360 output skips the last turn off and expects M30 to turn it off)

I added

Code: [Select]
local hLaser = mc.mcSignalGetHandle(inst, mc.OSIG_OUTPUT3);
mc.mcSignalSetState(hLaser, 0)

to CycleStop() in the screen script, and to the M30 script, but it does nothing. I've also tried putting it in a separate M-code, which also does nothing. The only way I can turn off the laser after hitting cycle stop is to issue a MDI which takes a long time to type if I don't have it ready to go, especially since the control is on a touch screen with no physical keyboard. (M63 P3 G91 G1 X0.0001 G90)

M64/M65 P3 also does nothing.

Is this a bug in the plugin? I can't control the output in any way other than issuing another M62/M63 with a G1. I want to be able to turn off the pin without any motion.

2
Mach4 General Discussion / Surface mapping for lathe X axis
« on: March 31, 2022, 10:05:38 PM »
I'm thinking of converting my lathe to Mach4. The bed is pretty worn out and I'm wondering if the surface mapping functionality could be used in the X axis to compensate. It seems to do exactly what's needed - shift one axis by a certain amount based on position of another, but there doesn't seem to be a way to set it up in the X axis or in lathe mode. I know it's probably better to start off with a better machine, but it weighs 6000+lbs and was extremely difficult and costly to move into position.

3
PoKeys / Re: Sudden pauses/stops
« on: March 14, 2022, 10:45:34 PM »
I'm using ethernet. Grounding should be good as far as I can tell, most of my parts are optoisolated and I'm using shielded cables. My spindle keeps working while the freezes happen too. Freezes happen even when the spindle (main source of electrical noise) is off.

4
PoKeys / Re: Sudden pauses/stops
« on: March 02, 2022, 03:53:55 AM »
They are clearpath integrated servo motors that directly accept step/direction/enable signals from the pokeys board, optocoupled inputs within the motor. No current rating like in a stepper. Running off a 75V power supply.

The issue can't be coming from the motor side, since all 3 axes freeze up at the same time (during a 3-axis simultaneous cut), but do not lose any motion. It seems like it has to be some kind of freeze or overload within Mach or Pokeys. Parts come out perfect even if it happens several times during the cut.


5
PoKeys / Re: Sudden pauses/stops
« on: March 01, 2022, 01:09:58 PM »
I'm using ClearPath servos. It happens in all axes at the same time with no lost motion, just stops for less than a second and continues.

6
PoKeys / Sudden pauses/stops
« on: February 27, 2022, 08:08:21 PM »
I'm having an issue with my mill suddenly jerking to a stop, it seems pretty random and will happen during cuts or rapid moves. No deceleration, just a sudden pause that I'm afraid might tip it over if I go any faster than 100ipm.

Has anyone else experienced this? It's happened on my old build that was much lighter so wasn't much of an issue, and my new bridgeport conversion where I'm afraid it might break something or tip it over.

7
Show"N"Tell ( Your Machines) / Re: LMS 5500 (SX2.7) Conversion
« on: April 05, 2021, 01:25:40 AM »
Spindle interface is finally done. Had to order a second revision of the board, taking another 2 weeks, after one of the part libraries I used had the wrong footprint for my microcontroller, and I didn't figure it out until it was time to solder it on. (Use SamacSys instead of SnapEDA if you do PCBs, never had a wrong pinout/footprint from one, but had 2 wrong ones from the other...).

I can't find my STLink to program the chip right now, but tapping 3.3v on a probe to it's pins activates the related function on the spindle board, so I know it'll work.





Also had a little issue with my spindle last week. I cut my first CNC part and managed to vibrate the spindle bearings loose. I thought I destroyed the bearings when the runout and chatter went wild, was just a loose locknut, but I actually destroyed the bearings disassembling to diagnose.

Ended up reading a bunch about spindle bearings, and it got an angular contact upgrade.

0.0004 runout on a test indicator, not bad for $100 in bearings off ebay ($400+ retail each elsewhere).

8
From the conversations I've had with people who have built their own screensets, they seem to fall into two, maybe three categories.

Either they feel that it's too specific to their machine such that the code would require modifying extensively - and they don't want to provide support for that.

Or, because there is code embedded in the screens, they are worried about the potential liability if something goes wrong and damages your machine (or you!).

A partial third seems to be that if you are capable of modifying code to run with your hardware, you are capable of building your own screen.

The net result is there are practically no third party screen sets for Mach4.

It seems a shame as the number of people who are a machinist, competent programmer, have spare time - and a graphic designer is pretty small!

I'd love to see some screens posted anyway, I've got the coding part down, so modifying them to work wouldn't be too hard. Graphic design is not in my skillset however so I just want a starting point.

9
Show"N"Tell ( Your Machines) / Re: LMS 5500 (SX2.7) Conversion
« on: March 03, 2021, 01:45:50 PM »
Yeah, I figured it could be done in Mach some how. I would have needed a board to do the speed signal anyway, so I figured it'd be better to do it with a STM32 on the same board and come up with a possible marketable product that applies to any motion controller.

Might be a problem if it takes off though, I have plenty of experience with PCB design, but none on the manufacturing side and hand soldering tons of these does not sound appealing  ::)

10
Show"N"Tell ( Your Machines) / LMS 5500 (SX2.7) Conversion
« on: March 03, 2021, 12:05:17 PM »
Almost done here - it's moving and cutting! Still working on a few things to make it perfect. Quite a process.

Using PoKeys57CNC along with Clearpath servos, makes for a very compact install - everything fits in the machine body except the 75V power supply.





Had some significant fitment issues with the HeavyMetalCNC kit - apparently they changed the castings on the mills since it was designed. Did some of it on the machine itself while it was partially assembled (facing and eyeballed milling with a drill turning the ballscrew) and had to shop out 2 operations.

https://imgur.com/a/VGRrmky

  • Top of Y ballscrew mount had to be trimmed to avoid clamping the chip shield solid
  • Z motor mount holes didn't line up - epoxied original holes on the mill and redrilled + helicoiled
  • X ballnut/mount wouldn't fit in the slot under the table - had a local shop mill off the corner
  • At this point I could actually use the machine somewhat to modify it's own parts
  • X spacer block needed to be taken down 2mm
  • X spacer block then wouldn't fit over the ballnut either - milled the 2 radiused corners
  • X motor mount needed new bolt slots since motor/ballscrew were misaligned by 3mm with the originals at their lowest point - had the shop make new slots and then I decked it down so the top was aligned with the spacer



Currently working on spindle control. Instead of using a simple 5V signal, on the buttons, the front panel board has some kind of digital signal going across them. I'm assuming this is to avoid accidental activation due to electrical noise, unless they're just making it a PITA to interface on purpose. LMS sells interface boards for their SX2 based mills, but not for the SX2.7 - going to have to make my own.

Reverse engineered the front panel board.


First thought was I could just connect 5V to the buttons to activate them - nope. The 1k resistor is a pull up for some kind of digital signal, didn't feel like pulling out the logic analyzer and decoding it. The buttons did activate when putting a diode across the leads so an optocoupler would work.

I couldn't figure out how to get the 57CNC board to activate it's optocoupled outputs in the right sequence and pulse them to simulate button presses though. The OC outputs aren't accessible from PoBlocks where I could do it. - Decided to lay out my own board, hopefully I'll be able to sell a couple of these for others that want a standard interface to the spindle.

On the plus side, the speed control is a simple 0-5V interface, and there's a 1k resistor on the board isolating the output from the potentiometer - easily overridden by a signal injected there.

Designed and laid out my own control board and currently waiting on production, I'll probably write the microcontroller code this weekend. It takes a standard spindle forward and spindle reverse input and translates it to simulated button presses. Also overrides the manual control knob with the speed signal while those inputs are active.



The board solders to the back of the original with slots in it to make contact where needed. It adds a new control header that accepts spindle fwd/spindle rev and a 0-10v speed signal that is divided to 0-5v and buffered so it can override the potentiometer output. Nice and compact.

I'll have 3 boards and only need 1 if anyone else has the same mill. Can do larger runs too.



Next project / first CNC project - power drawbar. You got a peek at the air cylinders in the first pics.



I have g-code for the first piece ready to go as soon as I get a few pieces of tooling I ordered, and my tool height setter. Need to get some practice with aligning my setups though - it's too wide on the Y axis for my mill! The bottom plate toolpath just barely fits. Haven't even gotten the mill fully set up and I'm already outgrowing it :o.

Pages: 1 2 »