Hello Guest it is December 14, 2019, 09:41:22 PM

Author Topic: Mach4 Printer Port Discussions  (Read 918088 times)

0 Members and 1 Guest are viewing this topic.

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #80 on: July 02, 2014, 12:22:43 PM »
HI Guys:

  Here is a new darwin. Its tested for homing , probing and PWM spindles with latest version of HobbyMach 1877.

To use PWM, you tell Darwin in config there is an output for a spindle, just name one output (spindle) for example, set it to use a frequency
on active. The frequency you give it will be the base of the PWM, try 5000hz. Then in Mach4 map the SpindleON signal to the pp port and the
signal named spindle. (signal name is unimportant, this is just an example.).
   In the spindle setup in m4, set a min and max spindle speed, this will actually control your pwm. If for example the range is 0 to 5000,
then an S2500 will make the signal named "Spindle" put out a PWM at 50% with a base of 5000hz or whatever you entered as frequency.

  Remember though, is such a system your granularity is the kernalspeed divided by the base. So 5000hx in a 45000hz system will only give
9 levels of power. etc.. PWM output is automatic if any output is used as a spindle output AND has a frequency on output set..

BTW: This an unlimited,uncrippled release , all axis are functional.

Art
« Last Edit: July 02, 2014, 02:13:43 PM by ART »

Offline Tweakie.CNC

*
  • *
  •  8,022 8,022
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Mach4 Printer Port Discussions
« Reply #81 on: July 02, 2014, 01:33:06 PM »
Hi Art,

Great news on the PWM.  :)

In your zip file you do not appear to have included the 'mcDarwin.m4pw' file which is required for the plugins folder. Also only Mach4 v1872 is currently available to us mortals.  ;D

Tweakie.
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #82 on: July 02, 2014, 02:14:21 PM »
Sorry Tweakie:

  Ive updated the file, the plugin is now included.

Hopefully, youll have the next version of m4 shortly..

Art

Offline Tweakie.CNC

*
  • *
  •  8,022 8,022
  • Super Kitty
    • View Profile
    • Tweakie.CNC
Re: Mach4 Printer Port Discussions
« Reply #83 on: July 05, 2014, 06:45:22 AM »
A big thank you goes out to Art for all his continuing hard work with the Darwin driver, which just keeps getting better and better. Excellent work my friend. :)

Another short video, this time using the PWM signal to control laser power thus enabling seamless engraving and cutting operations. https://youtu.be/8fUg6ebWut0

Tweakie.
« Last Edit: May 14, 2019, 05:01:59 AM by Tweakie.CNC »
Success consists of going from failure to failure without loss of enthusiasm.  Winston Churchill.

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #84 on: July 05, 2014, 02:36:49 PM »
Tweakie:

  Very cool. You did very well getting up and running with the limited information I provide
for testing. Great Job!!

  Art
Re: Mach4 Printer Port Discussions
« Reply #85 on: July 05, 2014, 04:23:59 PM »
Uhmmm... Any idea when build 1877 will be available for release?  I had downloaded 1872 and the driver, installed, and tried running before I saw the comment about it needing 1877.  I'm really looking forward to testing this on my Seig X3 mill.

-Freeman
I'm not a complete idiot...
    there are some parts missing.

Offline Greolt

*
  •  956 956
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #86 on: July 05, 2014, 07:56:08 PM »
Yeah I have been watching out for the first opportunity to test on a machine.

Tweakie do you have 1877 or is there another way to use Darwin ?

Greolt

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #87 on: July 05, 2014, 08:05:06 PM »
art cannot get Darwin to work with build 1872 on win xp
build 1767 does work on win xp.
and when I load up the new Darwin it does not show up under plugins its just a blank space and the machine freezes.
when i reload build 1767 and old version of Darwin it comes right.
could just be the computer will do more testing to day.
other than that Darwin is the best thing since sliced bread

Offline ART

*
  • *
  •  1,698 1,698
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #88 on: July 05, 2014, 08:21:35 PM »
Hi Guys:

   You really need 1877 or better, there were errors in previous versions that harmed XP's abiility to run and there was a bad api header used
in previous darwins. Only in this version did all the fixes come together. BUT, Ive had weird behaviour on a few occasions and Ive found that
after tuning motors or changing signal mapping you need to restart Mach4 to ensure nothing is hanging.

  Ill drop a note to Brian asking him to update the release as soon as he can for people who'd like to test darwin. My thanks to those that have
tested so far, my hats off to Tweaky and Craig for their success in running Darwin. PWM appears to work well. I'm fixing up a few errors I've noted
but other than that Darwin itself appears to work fine.

 Ill release a new version with some fixes as soon as the guys release a new hobby release.

Art

           

Offline Greolt

*
  •  956 956
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #89 on: July 06, 2014, 03:55:28 AM »
That's great Art.

I will look forward to giving it a run.

Greolt