Hello Guest it is April 19, 2024, 09:43:05 PM

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

0 Members and 1 Guest are viewing this topic.

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #50 on: June 17, 2014, 03:47:34 PM »
Must be a small M4 bug, Darwin knows nothing of inches or mm's, it uses only steps/unit as its inputs. It understands frequencies , not distances.


:)

Art

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #51 on: June 18, 2014, 02:18:57 AM »
Thanks Art.

Another issue which is probably just M4 v.1767 related and maybe not of interest here but I am just reporting as I find.

In Imperial mode everything is OK but in Metric mode G00 X1 Y1 Z1 moves X,Y,Z axis 1mm whereas G00 A1 moves the A axis 25.4mm (all DRO’s reflect the correct physical movement).

Tweakie.
PEACE
Re: Mach4 Printer Port Discussions
« Reply #52 on: June 18, 2014, 04:48:25 AM »
Thanks Art.

Another issue which is probably just M4 v.1767 related and maybe not of interest here but I am just reporting as I find.

In Imperial mode everything is OK but in Metric mode G00 X1 Y1 Z1 moves X,Y,Z axis 1mm whereas G00 A1 moves the A axis 25.4mm (all DRO’s reflect the correct physical movement).

Tweakie.


I just tried in the 1817 version and I get the same result when you move the A-axis. Also the feedrate is 2,5 (not 2,54) times larger than the feedrate I have set. This only affects the A-axis.

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #53 on: June 19, 2014, 07:29:40 AM »
Hi Art,

I am having troubles running a simple code such as:-

G1 F300
M3
X10
Y10
X0
Y0
M5
%

I had to delete the M3, M5 macros from the Mach4 macros folder on order to get these commands to operate the spindle but now the motion is lumpy (almost single step mode). If I leave out the M5 then it runs just fine (starting the spindle at the M3) but of course the spindle is not stopped at program end.
I have a similar problem if ending a program with M30 (for the last few lines it runs lumpy) and I put this down to my PC being antique but now I am not so sure.

Does using the M3 / M5 combination alter the output stream from Mach4 in some way?

Any advice greatly appreciated as this issue has me stumped at the present.

Tweakie.
PEACE

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #54 on: June 19, 2014, 08:22:08 AM »
Tweaky:

   This sounds like a Mach4 error similar to one M3 has a long while back. The Gcode should stop being interpreted and wait for something like an M3 or M5. It sounds like M4 is doing something strange with macros.

  Heres what I think is happening. When Mach4 sees the M5, it starts a wait thread. This thread wakes up every once in a while to see if all else is done up to that point. If it is, is does the M5, if it isnt, then it goes back to sleep.
For some reason it sounds like this is affecting job performance. Perhaps this thread waking up and going back to sleep doesn't affect external hardware but for screws up the program calling darwin regularly. Id report it to Brian and see what he thinks.. Things are still changing too fast for me to focus on the plugin, Im on other projects till M4 is further along.

Art

   

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #55 on: June 19, 2014, 10:21:59 AM »
Hi Art,

Thank you for the information and taking the time to look at the problem.

I have now found that it has nothing to do with the spindle and think I can confirm what you have said. The following runs with rough motion until the M9 is encountered then it runs just fine (so it looks like it's a Mach4 problem).

code
m7
code
m9
code

Tweakie.
PEACE

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #56 on: June 19, 2014, 10:45:14 AM »
Ill ask Brian about that as well, its not seen on his other testing so it maybe a hidden item that affects performance..

Art

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #57 on: June 19, 2014, 11:46:16 AM »
Tweaky:

  I cant run latest version, my XP locks up hard. Are you using XP? (Just curious).
Ive spoken to Brian, he'll look into it tomorrow and we'll see why.

Art

Offline Tweakie.CNC

*
  • *
  •  9,198 9,198
  • Super Kitty
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #58 on: June 19, 2014, 12:00:45 PM »
Hi Art,

Yes I am using WinXP sp3 -  I can't run v.1817 either  :'(

Tweakie.
PEACE

Offline ART

*
  • *
  •  1,702 1,702
  • Tough as soggy paper.
    • View Profile
Re: Mach4 Printer Port Discussions
« Reply #59 on: June 19, 2014, 01:49:18 PM »
I tried 1845 today, it wont run under XP as well...
Ive notified Brian of that..

Art