Hello Guest it is January 28, 2020, 07:35:25 AM

Author Topic: What do Control Modes Change?  (Read 818 times)

0 Members and 1 Guest are viewing this topic.

What do Control Modes Change?
« on: June 13, 2017, 12:32:44 PM »
Hello All,

Does anyone know what the significance is of the "Control Mode" in the General Tab of the Mach4 Configuration Menu?
The default is "Mill".  What does selecting "3D Printer" actually change that is different from say "Mill"?

I am in the process of figuring out how to setup Mach4 for 3D printing.  Started with the control mode but I didn't really see anything in the setup menus that changed.

Thanks

Offline smurph

*
  • *
  •  1,187 1,187
  • "That there... that's an RV."
    • View Profile
Re: What do Control Modes Change?
« Reply #1 on: June 13, 2017, 06:28:16 PM »
The control mode changes the interpreter that is used.  Basically, a 3D printer can be used with Mill.  There won't be many differences between the 3D and Mill interpreters.  The major difference is that some 3D printers use the C axis as the extruder feed.  This will be whatever mode the machine is in (ABS or INC) depending on G90 or G91.  So the 3D interpreter adds an E axis that can moves C incrementally regardless of the G90/G91 setting.  Basically E shadows C.  M83 turns E into incremental mode.  M82 turns E into ABS mode.  

At least that is my understanding of it.  But I'm no 3D printer guru either.  

Steve
Re: What do Control Modes Change?
« Reply #2 on: June 14, 2017, 09:59:31 AM »
Cool Steve.  I suppose I could also manually map the C axis to an E axis just the same.
Another thing I discovered about the 3D printing world is that they have utilized the custom M codes available in the M100 to M199 group for controlling 3D printer specific functions.
For example, M104 sets the extruder temperature on most printers.  What I was really hoping for is that setting the control mode to "3D Printer" would tell the interpreter to interpret these custom M codes, but unfortunately I think that is going to require custom Lua scripts to program the custom M codes in Mach4.

Offline smurph

*
  • *
  •  1,187 1,187
  • "That there... that's an RV."
    • View Profile
Re: What do Control Modes Change?
« Reply #3 on: June 14, 2017, 12:56:50 PM »
C is E and E is C in the 3D interpreter.  Only one axis is mapped (C) to motors.  You use E to control it incrementally, if needed, regardless of G90/G91 setting (that WILL affect C).

Yes, it will all be custom LUA scripts.  Because there really isn't anything standard in the 3D printer world.  It is forming up a little, but not there at all yet. 

Steve
Re: What do Control Modes Change?
« Reply #4 on: June 14, 2017, 04:15:03 PM »
OK, thanks for the info.  That makes it simple.

In fact I think they are slowly starting to phase out many of the custom M codes that the 3D community created as they (we, me, :-) are discovering that nearly any 3D printer function can be mapped back to some existing general G and M code without having to create redundant code.