Hello Guest it is March 19, 2024, 12:01:46 AM

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

0 Members and 3 Guests are viewing this topic.

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #890 on: December 08, 2015, 12:02:46 PM »
Mark:

 Theres a log button called "History" at the bottom of the scren ( left side), in wxMach.exe . Thats where Darwin sends any messages..

Art
Re: Mach4 Printer Port Discussions
« Reply #891 on: December 08, 2015, 01:54:38 PM »
Hi Art,

if you look at my previous posts  , just before this one, there are screen shots of the versions and error.

mach4 darwin 1.22 1.23  1.2763 on plugin page.

mach4 4.2.0.2803 build build 2803

here is the log file from mach4 in the attchments, see prvious attachments , which also show the pulse engine image.

Is this ok? as in one of your setup videos , you indicated a picture like mine may be causing a problem?

Thanks for your help

Mark
Re: Mach4 Printer Port Discussions
« Reply #892 on: December 08, 2015, 02:21:42 PM »
I am also having problems with Mach4/Darwin.  Mach4 won't stay "Enabled" when [Enable] is clicked.
Both my Mach4 and Darwin are licensed from the guys at PMD (Steve and Bob) and the license files are in the Licenses folder.
My motors run fine with Mach3, but with Mach4/Darwin I'm getting "Darwin Buffer Error - Motion out of bounds".
Any help would be much appreciated.
--Bill Daniels
-Bill
DSTechLabs.com

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #893 on: December 08, 2015, 04:13:29 PM »
Is this true for both of you, that just hitting enable causes the error?  And no matter what it just goes back into estop?

Art
Re: Mach4 Printer Port Discussions
« Reply #894 on: December 08, 2015, 04:33:59 PM »
Yes, just hitting [Enable] causes the error, but I'm not in an E-Stop condition.

Message History:
-----------------------
Signal 5 set to 1
Signal 5 set to 1
E-Stop cleared!
Signal 5 set to 0
Darwin Buffer Error - Motion out of bounds.
Signal 5 set to 1

Log
-------------------------
2015-12-08 13:08:47.718 - Loggging Enabled.
2015-12-08 13:08:56.343 - API: mcCntlEnable(true) called.
2015-12-08 13:08:56.343 - Signal id 1018, (Enable #0), changed from LOW to HIGH.
2015-12-08 13:08:56.343 - Signal id 1019, (Enable #1), changed from LOW to HIGH.
2015-12-08 13:08:56.343 - Signal id 1020, (Enable #2), changed from LOW to HIGH.
2015-12-08 13:08:56.343 - Signal id 1120, (Machine Enabled), changed from LOW to HIGH.
2015-12-08 13:08:56.343 - API: mcMotionSync() called.
2015-12-08 13:08:56.343 - SyncPosition()! Clearing planner.
2015-12-08 13:08:56.343 - API: mcCntlReset() called.
2015-12-08 13:08:56.359 - API: mcCntlEnable(false) called.
2015-12-08 13:08:56.359 - Signal id 1018, (Enable #0), changed from HIGH to LOW.
2015-12-08 13:08:56.359 - All motors marked as still.
2015-12-08 13:08:56.359 - API: mcMotionSync() called.
2015-12-08 13:08:56.359 - SyncPosition()! Clearing planner.
2015-12-08 13:08:56.359 - Signal id 1019, (Enable #1), changed from HIGH to LOW.
2015-12-08 13:08:56.359 - Signal id 1020, (Enable #2), changed from HIGH to LOW.
2015-12-08 13:08:56.359 - Signal id 1120, (Machine Enabled), changed from HIGH to LOW.
2015-12-08 13:08:56.359 - All motors marked as still.
2015-12-08 13:08:56.359 - API: mcMotionSync() called.
2015-12-08 13:08:56.359 - SyncPosition()! Clearing planner.
2015-12-08 13:08:56.359 - API: mcMotionSync() called.
2015-12-08 13:08:56.359 - SyncPosition()! Clearing planner.
2015-12-08 13:08:56.359 - All motors marked as still.
2015-12-08 13:08:56.359 - API: mcMotionSync() called.
2015-12-08 13:08:56.359 - SyncPosition()! Clearing planner.

-Bill
DSTechLabs.com

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #895 on: December 08, 2015, 05:38:55 PM »
Hi Guys:

  I rebooted and ran some tests on mine to see if I could replicate it, or at least to see if Darwin is running OK on mine.

  Turns out I was on version 2778, and it tested fine so I updated to 2805 and again, all runs fine. My versions for current
level are 1.22 over 1.23 exactly as you have shown. The waveform should have nothing to do with it as so long as your not
actually moving there should be no buffer check. Your not getting a message to indicate a motor is set too fast.

  So Im stumped. I suggest you set your steps/unit to 1 on all axis as a test. Does this make any difference? Do the DRO's
show a number when this error occurs? How about a machine coordinate, does it look ridiculous? Im grasping at straws
as I cant replicate this here. But Ive looked in the code and it really shouldn't happen unless things go too fast....

Art
 

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #896 on: December 08, 2015, 05:59:07 PM »
increase the look ahead to 200 and if you have sim in the plugin folder remove it, what do you have the Darwin Buffer set to. and how many motors are you running
Re: Mach4 Printer Port Discussions
« Reply #897 on: December 09, 2015, 03:23:34 AM »
HI art,

You mention that the problem is likely to be the motor speed.

just a thought, I have my machine set to mm,

Could there be a problem with the interpretation of this from the motor speed settings.

Has anyone got a metric system working?


Mark

Offline dude1

*
  •  1,253 1,253
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #898 on: December 09, 2015, 03:35:40 AM »
yes metric is fine
Re: Mach4 Printer Port Discussions
« Reply #899 on: December 09, 2015, 01:20:35 PM »
Thanks for replies -
Removed Sim from Plugins folder,
Tried increasing Look Ahead Lines to 200,
Can't find the Darwin Buffer size setting ???
No luck.
I only have the Core and Darwin plugins enabled. Do I need any other plugin enabled?
I have three motors configured (X, Y, Z) but can't even "Enable" the machine to try a simple gcode command like G0 X1.0  >:(
Went to check the motion device is still Darwin, but when I selected [Set Motion Device] from the pulldown - Mach4 crashed!  I can't even kill the Mach4GUI process !!!  The machine couldn't even Restart ... had to hold it's power button  >:(
-Bill
DSTechLabs.com