Quantcast
Channel: Reprap Forum - Firmware - mainstream and related support
Viewing all 1025 articles
Browse latest View live

CNC mill : which firmware to manage spindle speed regulation? (no replies)

$
0
0
Hello,

I have a small CNC mill (sable 2015), with a parallel port driven electronic, with linuxcnc running on my old laptop (with // port).

I have also an unused arduino mega+ RAMPS 1.4 board.

I'd like to work with this mill without depending on this old laptop... so I had the plan to swap the original electronic by this RAMPS.
I think any firmware can do the job, basic 3 cartesian axis, no extruder, no heater, no endstop etc.....

But I have a second need : the original spindle runs way too fast : 28000rpm. I will use it as a precision drill table with a 4mm bit in alu. 1000-4000 rpm should be a better speed range.
To do a good job, I'd like to control motor speed with an optical speed encoder (1 or 2 pulse per rev is enough), and a PWM output, managed by PID loop.

I know than heater is managed by a PID loop.
At what frequency this pid is refreshed?
What's the upper limit to increase the PID calculation frequency?
How easy is to modify the code to run a PID loop with an optical encoder?
And to include management of the gcode command for spindle speed?

Well, on which firmware would you start to do that?
Some pointers would be appreciated.


Thanks,
Pierre

Extruders enabled when trying to extrude (1 reply)

$
0
0
Hi

I have a weird problem of not being able to extrude by any method. My printer has Duet 0.8.5 and DueX4 with Paneldue as controllers and I have tried to extrude via Console with direct G1 commands, from the paneldue's Extrude-menu and by printing. I have used cold extrusion and heated up the nozzles and combined these 2 situations, all result the same - no extrusions but extruder motors powered up. Funny thing is that earlier I have been able to extrude. I haven't changed any wiring (but I swapped into another Duet being desperate, without results). I have played with different tools (look to work since the right motors power up), set up the mixing ratios (I have multiple extruders) and tried some other stuff that should not have effect on this problem. Now I'm out of ideas, and the thing should run tomorrow night! :D

Oh yes, the firmware is RepRapFirmware-1.09r-dc42

Does anybody have similar experiences? My kingdom for the answer!

Thanks

Marlin CONTROLLERFAN is always on (no replies)

$
0
0
Hello,

I'm using the Marlin Firmware on my selfmade cartesian 3D printer for a while now. Until yesterday I had the fan, which is cooling the Ramps 1.4 board, directly connected to the powersupply, but now I have it controllable with a mosfet, but it doesn't turn of automatically how it's supposed to be. I also update from 1.0.2 to 1.1 RC3, without any improvements in this regard. I just had some trouble with the different pindefinitions of the Ramps-version 1.3 and 1.4 and I can't see why the config below should not work.

Configuration_adv.h
//This is for controlling a fan to cool down the stepper drivers
//it will turn on when any driver is enabled
//and turn off after the set amount of seconds from last driver being disabled again
#define CONTROLLERFAN_PIN 5 //Pin used for the fan to cool controller (-1 to disable)
#define CONTROLLERFAN_SECS 60 //How many seconds, after all motors were disabled, the fan should run
#define CONTROLLERFAN_SPEED 255 // == full speed

If I power up the Arduino Mega + Ramps the controllerfan kicks in after a short period of time and stays on, even if I didn't move any axis, but also after a print and some M18 commands. I also tested M42 P5 S0, but just after a second or so the fan comes back on. There is another oddity that is maybe related to this problem. Sometimes on motor (the one connected to the normal Y driver slot not to the other extruder 1 one) of my dual-Y with separated drivers is activated so that the motor gets warm and I can not move the axis, although I send the M18 command. For testing purpose I also deactivated the Y-dual setup for a single time, but the controllerfan problem remained.

So I'm looking for a solution to have it almost immediately silent after a print or just some axis movement.

Where can download older firmware version (e.g. 1.04)? (5 replies)

$
0
0
Hi everyone,

I bought a Ormerod 2 (528.3) with Duet 0.6 last December (2015) and the extruder motor never really worked.

It only turned slightly at the beginning during the commissioning/calibration steps and then nothing happened until I restarted the whole machine. And then again, it only turned for less than a second.

I have connected the extruder motor to X motor pins on the PCBA and it ran normally. I also have swapped cables and there's nothing wrong with any motor or cable I could find.

After contacting the support, I got replacement Duet but the extruder motor behaves exactly the same unless I connected to other motor pins on PCB. If I connect other motors (X,Y or Z to extruder motor pins on the PCBA, then they do the same weird thing......)

Therefore, I contacted RS this time because RepRapPro has shut down the operation and I can only get response from RS.

Fortunately, RS responded quickly and sent me another Duet 0.6. However, the problem doesn't go away >_____<

I think the chance of getting 3 faulty PCBA in a row is low and want to try if it works with older firmware versions.

Can anyone point out where I can download the older firmware version such as 1.04?

Any other suggestion is highly appreciated! It's really frustrating that after 3 months I still cannot get the machine up and running.

Queena

1.09r-dc42 and/or DWC 1.08 issue with broken/disabled drives (1 reply)

$
0
0
Firmware Version: 1.09r-dc42 (2016-01-16)
Web Interface Version: HTML: 1.08, JS: 1.08

because of this: post

I did the following remap:

M563 P0 D0 H1 ; tool 0 uses extruder drive 0 and heater 1
M563 P1 D5 H2 ; tool 1 uses extruder drive 5 and heater 2
M563 P2 D2 H3 ; tool 2 uses extruder drive 2 and heater 3
M563 P3 D4 H4 ; tool 3 uses extruder drive 4 and heater 4

omitting D1 and D3, they are sadly broken.

But now the web interface shows in Print Status -> Extrusion Factors:

Extruder 1, Extruder 2, Extruder 3, Extruder 4, Extruder 5, Extruder 5

notice the double Extruder 5 at the end and also in Machine Status->Extruder Drives:

D1, D2, D3, D4, D5, D6

But D1 and D3 is not configured anywhere in the config.g.

Is there anyway I can get this working correctly?
Maybe thru M569 remapping?

ABL sloped front to back (no replies)

$
0
0
I am running KimbraMarlin Dev and am experiencing a .06mm slope from the front of a skirt around a 30mm x30mm test cube to the back.

My X-min and Y-min are the front left corner of the hotbed. I see ABL actively moving the Z axis while printing. If I put a feeler gauge under the probe in the front right corner while running a G29 V4 the output shows the front right corner being different. I probe 16 points on the bed after homing X, Y and Z in the front right corner.

Does it make a difference WHERE Z is homed before the G29?

My printer is a modified Prusa i3 using Openbuilds V-Slot extrusions, 8mm Acme rods for the Z axis with anti-backlash nuts, Ramps 1.4 and a .5" Mic6 hotbed.

Using joystick to control stepper motors on marlin firmware (no replies)

$
0
0
Hi, Reprappers

Im building a rework station with arduino mega2560 + ramps 1.4 using marlin firmware. I have a problem, i want to use arduino joystick to control stepper motors and i don't find anywhere how to use joystick with marlin firmware, i only found about lcd + encoder, but i really want to try arduino joystick to control the x,y-axis.
Does anyone have experience with this?

Install Ramps into Ultimaker2 - possible? (1 reply)

$
0
0
Hello,

i am thinking of a project, but nobody seems to have ever thought of this 8-)

I would like to have an Ramps (or similar) in my Ultimaker2. This shouldn't be such a big problem since Marlin is good and well programmed, but the only thing i see is the LCD Display. This seems not implemented.
I am not that hard Arduino programmer that i can just merge that two different firmwares, they both went to far from each other.

So, how can i implement the Ultimaker2 LCD to work with a regular Marlin firmware? :)

Greetings
Max

Stepper motors not working (no replies)

$
0
0
Hi
I have installed Marlin firmware for ramps 1.4 board and now I'm trying to calibrate my printer but I have little problem.
My motors not turning when I’m trying to move them on calibration. I have tried every wiring combination, adjusted potentiometers but motors are just keeping some kind of high frequency sound when I’m trying to move them.
My stepper drivers are DVR8825
This is a new printer and motors cant be burnt because I have tried to move them for only few seconds. Here is video from my problem:
[www.youtube.com]

Marlin4Due compiling error when activating servo_endstops for autolevel (2 replies)

$
0
0
Hi all,

I am printing for 2 years now on a self build Prusa I3 Rework.

Recently i got a RADDS1.5 and now i want to switch to 32bit with Marlin4Due.

The firmware compiles fine in Arduino IDE 1.5.8 , until I activate the

#define Z_ENDSTOP_SERVO_NR 0

for a BLTouch Autolevel Sensor. After activating I get the following errors:


In file included from Configuration.h:5:0,
from Marlin.h:18,
from Marlin_main.cpp:30:
macros.h:22:25: error: pasting "SWITCH_ENABLED_" and "{" does not give a valid preprocessing token
#define ENABLED(b) _CAT(SWITCH_ENABLED_, b)
^
macros.h:18:22: note: in definition of macro '_CAT'
#define _CAT(a, ...) a ## __VA_ARGS__
^
Marlin_main.cpp:2787:15: note: in expansion of macro 'ENABLED'
#if ENABLED(SERVO_ENDSTOPS) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED)
^
Conditionals.h:549:30: error: token "{" is not valid in preprocessor expressions
#define SERVO_ENDSTOPS {X_ENDSTOP_SERVO_NR, Y_ENDSTOP_SERVO_NR, Z_ENDSTOP_SERVO_NR}
^
macros.h:18:27: note: in definition of macro '_CAT'
#define _CAT(a, ...) a ## __VA_ARGS__
^
Marlin_main.cpp:2787:15: note: in expansion of macro 'ENABLED'
#if ENABLED(SERVO_ENDSTOPS) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED)
^
Marlin_main.cpp:2787:23: note: in expansion of macro 'SERVO_ENDSTOPS'
#if ENABLED(SERVO_ENDSTOPS) || ENABLED(Z_PROBE_ALLEN_KEY) || ENABLED(Z_PROBE_SLED)
^
Fehler beim Übersetzen

I really dont know what to do with it, as soon as I comment the SERVO_ENDSTOPS, the code compiles fine.

Any advice is greatly appreciated!

Repraph

Compilation error (no replies)

$
0
0
I downloaded the recent version of the RepRap firmware.
When trying to download the FW, I get the following error message orignating from the Extruder.cpp:

C:\Users\Uli\AppData\Local\Temp\build6736124270978382888.tmp\Extruder.cpp: In static member function 'static void TemperatureController::resetAllErrorStates()':
C:\Users\Uli\AppData\Local\Temp\build6736124270978382888.tmp\Extruder.cpp:396:3: error: 'tempController' was not declared in this scope
tempController->removeErrorStates();
Fehler beim Kompilieren.

For Compilation I used the Arduino1.6.0 software / but same result I had also with other earlier Arduino Versions.
I am not 100 familar with C++ so I need some help to solve the issue.
A firmware download is not possible.

Help me with FW e SW Delta printer (no replies)

$
0
0
Hello everyone

I'm doing a Delta Robot, like the one in the picture (link), for use as a 3D printer.

The robot is driven by brushless motors 3 Nema 23 with its driver. This driver has the direction inputs, Step, etc. and it can optionally be controlled by USB. (The driver of the seller said that can be controlled by macro

My problem with the project is: I can not find a control board and a software for controlling the robot;
does anyone know how I can make it work?

Thank you!!


issue with RRFW on Alligator board (no replies)

$
0
0
Dear All,

I am facing an issue with RRFW (v. 1.09h-dc42, the only binary available unfortunately) running on Alligator board.

This morning the motors of my mini kossel became crazy when I home it.
I randomly get 2 kinds of weird behaviors:

1- motors very loud and while the x,y carriages go upwards until the endstops, the z carriage goes downward!
2- motors very loud and stuttering and after a while the z carriage goes downward

Of course, I did not made any change to the config.g
It is not the 1st time I get this behavior and I usually solved it by randomly connect and disconnect wires from the board (motors and end-stops), after switching off the board. Yes, it is not scientific at all and in fact it seems that today is not enough.

Since the motors basically stutters, I started to lower the current: from M906 X1200 Y1200 Z1200 E1000 to M906 X800 Y800 Z800 E1000, but no luck. My motors are Wantai 42BYGHW811 (rated v 3.1, current 2.5A, phase res. 1.25 Ohm, phase induct. 1.8 mH).
By checking from the gcode console, it seems that everything is consistent (e.g., currents, axis directions,...).

I am doing something wrong? Are my board drivers fried? Is it a nasty fw bug of this port? Is it an issue of the board?
I have no idea!
Any suggestion is welcome! Thanks in advance.

how do i make full graph display controller do G30 command (no replies)

$
0
0
how do i make display controller do G30 command

or how do i activate the manual bedleveling whit the full graph display controller

ramps 1.4 marlin 1.6

Autoleveling with Repetier constantly failing (no replies)

$
0
0
Hello everyone

I am about to lose my mind. I have a RADDS / DUE board setup with a Z-probe on a servo lever. As required by Repetier 0.92.8 firmware I have a Z-max endstop to measure the z-length. All sensors return correct state when triggered, servo extend/retract is ok, all motors work fine. Here is the one unsurmountable problem now: I cannot figure out how to run G32 S2 command properly. It ends up telling me this in Repetier Host:

09:26:39.629 : Error:z-probe triggered before starting probing.
09:26:39.631 : Error:Probing had returned errors - autoleveling canceled.

I also posted a video here. First, I issued a G28 to home all axis, then G32 S2. Probe touched the bed, then moved to the right and then the alarm went off, the extruder started to move back up. End of story, end of ideas.

I have tried tons of different settings Z_PROBE_BED_DISTANCE, Z_PROBE_HEIGHT, changed Z_MAX_LENGTH - to no avail. I attached the config I used when I shot the vid.

Oh, and what I always do after flashing firmware is this series of command:
M502 ;
M500 ;
M501 ;

Thanks for looking into it. I am so DESPERATE.

Config Help for ABL, print bed moves in Z, not extruder (no replies)

$
0
0
Looking for help with my configuration.

My printer is a cubex converted to RAMPS. I have installed the probe and servo and they are functional.

The bed moves in z on this printer

I've got the homing to work and the probing works and returns the leveling matrix. I've confirmed my Z offset is correct by testing with a G1 Z0.

When I initiate my prints, the G28 and G29 execute, but then when the print starts, the bed drops down even further and it tries to print in mid air.

Any ideas where to start?

Thanks!

"Build terminated Abnormally" - can't figure out why. (2 replies)

$
0
0
I'm about as smart as a bag of rocks when it comes to firmware/software trouble-shooting.
I'm making myself my first 3D printer and decided to use the Teacup firmware, all went well untill i tried to build.
My settings look exactly the same as the ones here : [reprap.org] . The only diffence being that i have my arduino directory field empty, in which case it should find the needed files automatically.
I did everything as the install tutorial says but can't figure out how to fix this issue, as i try to build it stops and gives me a "Build terminated Abnormally" message.

*solved* Problems to create a multiline macro on Firmware-1.09x-dc42 (3 replies)

$
0
0
Hi all,

I have issues to create a multiline macro on the firmeare-1.09x-dc42.bin

I want to create a button / macro to move the z-axis + 0.01 and - 0.01 mm.
The macro button appears in the webfrontend, but it seems to happen nothing . Or in detail, only one command is executed. how are multipe commands separated ?
I tried sending the commands via the console and it works, but as macro, I seem to miss something.

Any hint what is my mistake ?
Or is there a better way to intregrate a 0.01 mm z-axis move button ?

Here the macro file content :

---- Move Z+-0,01 mm (this is the name of the file) ---
G91
G1 z0.01 F900
G90

----- end of macro file ---


---- Move Z--0,01 mm (this is the name of the file) ---
G91
G1 z-0.01 F900
G90

---- end of macro file ---


Regards
Andreas

edit: update because I found out that one command is execute but not next ones.

[attachment 75202 MoveZ-001mm]

[attachment 75203 MoveZ+-001mm]

Switch extruders (no replies)

$
0
0
I have 4 extruders.
Initially work 2 of them, 1 and 2
Whether it is possible to switch 1 on 3
after the wire ends ?
Respectively 2 on 4.
Board Duet with Dc42 fork.
If there is no such opportunity,
tell please how to implement it.
Thanks.

setup Reprap Prusa Mendel P01 (no replies)

$
0
0
Hi Reprap community

I lately bought the Reprap Prusa Mendel 3DP01 from Open heacent on dealextreme:
[www.dx.com]

I built everything together and pluged it in. The blue LED on the Melzi Ardentissimo 2.0 (mix between version 1 and 2) lights up and the fan spins.
But I can not connect to the Printer over Repetierhost. Do I have to do it differently?
I also wonder if I have to upload a bootloader or the sprinter firmware.How can I check if those are already installed?

Thank you for your replies

KatzeLeo
Viewing all 1025 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>