Working on a new stepper driver board with 5 outputs and wanted to know if ReplicatorG can support 1/8 step micro stepping and work with generation 4 electronics?
Yes, by DEFAULT the Thingomatic profiles from replicator-G are set up for 1/8th stepping. Luckily, both the Cupcake and the T-O-M used the same pulleys (17 tooth GT2 2mm) pulleys and belts so gen 4 with a T-O-M profile works for X and Y is you use stepper drivers set at 1/8th stepping. The biggest issue is most machines such as cupcake or Reprap use 8mm by 1.25 pitch Z axis screws which is far different from the T-O-M's 8x8 4start screw. Not all is lost as the easiest thing to do is copy the Z math from a cupcake to a T-O-M xml.
In rep-G folder is the machines folder and a bunch of XML files.
I strongly recommend using the T-O-M xml as an editing point since it's the only one that's set up for gen4 electronics.
SO, that said, each "driver" for rep-g starts with the machines name and then defines the axis.
The most important setting is stepspermm="94.139704" (everyone please take note that i modified that number for a T-O-M running 1/16th step so it's DOUBLE the normal 47.069)!
THE key is that they give you the math on how to get the magic stepspermm.
Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600)
The pulley diameter is the pitch diameter given by the manufacturer is smaller than the measured diameter of the top of the teeth-thus why you must use the spec. Next, the 1600 comes from the fact we are using 200 step per rev motors with 1/8 drivers, so 8 time 200 is 1600 steps for 1 rev. So the math is pitch diameter time 3.14 divided by our motor steps per rev (driver and motor dependent) times 1/x.
For example, I have a Makergear Prusa that uses 0.9 degree motors and 1/16th step drivers. That has a 400 step per rev motor times 16 microsteps so 6400 steps per rev, but has larger T5 pulleys
<machine>
<name>Thingomatic Pololu w/ HBP and Extruder MK6</name>
<geometry type="cartesian">
<!— different pulleys on X and Y axii >
<axis id="x" length="106" maxfeedrate="4000" homingfeedrate="500" stepspermm="94.139704" endstops="min"/> <! Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) >
<axis id="y" length="120" maxfeedrate="4000" homingfeedrate="500" stepspermm="94.139704" endstops="min"/> <! Pulley dia: 10.82mm / 1/8 step = 1/(10.82 * pi / 1600) >
<axis id="z" length="106" maxfeedrate="1000" homingfeedrate="500" stepspermm="200" endstops="max"/> <! TR-8x8 Z axis = 1/(8/1600) >
<axis id="a" length="100000" maxfeedrate="1600" stepspermm="50.235478806907409" endstops="none"/> <! stepspermm is incoming filament length, 127 is ca. 4 RPM, 1600 ca. 50 RPM >
</geometry>
<tools>
<tool name="Stepstruder MK6" type="extruder" material="abs" motor="true" fan="true" heatedplatform="true" motor_steps="1600"
default_rpm="1.98" heater="true" stepper_axis="a"/>
</tools>
<clamps></clamps>
<driver name="makerbot4ga">
<! optional: <portname>COM1</portname> —>
<rate>115200</rate>
</driver>
<warmup>
</warmup>
<cooldown>
(Turn off steppers after a build.)
M18
</cooldown>
</machine>
The bottom line is, tell me what motor, pulley and driver you use, plus what arangement you have for a z axis and i can make you a driver XML file.
Cool Jet that really helps, the drivers I am using are Allegro A4988's. Can I use Generation 4 electroincs and go to the better resolution of 1/16 step modes? I am using all dual NEMA 11 Non-Captive motors on each axis. The rods are all Tr/32"x3/8"(Pitch=3/64,Line 8). Can you help understand this nominclature so i can set them to run on Generation 4 electronics?
Scott
Can you link me the motors? Assuming they are 200 step is risky.
Your running lead screws on all axis?
Is it a printer or mill?
Again, I'm sure I can help, but need more info.
The motors are custom made and from the data sheet speck they have a resolution of 0.01mm/1.8 degrees. With my scerws (5.6mm Dia. Thread Tr7/32"X3/8"(Pitch=3/64,line=8)) I am told I should be able to get 0.001mm in 1/8 step mode, but 1/16 steps sounds really cool if possible! Send me an email and I will send you a data sheet, my email is moc.langiscc|ttocs#moc.langiscc|ttocs. Yes my design has screws on all axis, and it is a printer.