Laser printer problem /configuration
Hello I ‘ve 2 questions/problems to solve.
I want to use Repetier Firmware to pilot an 3D printer for powder Laser.
I use an MKS base V1.4 (normally fully compatible with an Arduino ATMega 2560 added Ramp 1.4). You can see the link for laser and MKS bellow
About movements, everything it’s OK, it seems there’s no problem.
My problems are the following:
- To managed powder’s hopper/reserve, I want to use electro magnet (5V) è on which pin can I connect it? What is the command (G code) to control it? (it just work on/off)
- Laser: I used it on PWM mode (only on/off), I don’t need to adjust power. Actually it’s connect on hotbed pin, but the result is not good because it do not work normally, it seems to flash, it’s not work continuously.
It’s seems to be lag with the top of the MKS and the laser (the LED of card is ever lighted and laser work after, as there’s a delay).
Any Idea? What should I do?
Comments
Sure laser is made to be controlled by 12/24V bed pin? At least my laser as 12V power plus a TTL signal for on/off. That could also explain the delay. Anyhow you can set a delay on activation of laser (LASER_WARMUP_TIME). That will of course add a delay in motions as it has to stop motion for laser warmup.
Which connexion should I use please?
M42 sets a pin as output on first use, so nothing to declare in firmware configuration. There are some pins marked as sensitive which can not be used.
With TTL I mean a 5V signal. Don't know your laser system, just tell you mine has 12V power supply and a 5V pin for laser on/off signal which I hooked up as laser pin.
I've any modifications:
I use Laser mode,
Laser still connect to heat bed PIN,
Do not use TTL, just on/off by 12V
it's ok with G0 and G1, laser stop and start when necessary.
I've put 1000 ms for laser warmup time.
But I've still some lake during printing...
It' seems that when it change of direction, it desn't keep laser active.
So for example, for a square it miss some part of it.
When laser is on depends on the logic. Normally it is on if E value increases. So for slicer set retraction to 0 and set diameter such that even the smallest move increases E. The exact value is not important.
G1 X120 Y80 E1
that is the extrustion of the FDM etxruder. Alternatively you can use M3/M5 to turn laser on. Then it is on for G1 moves and off for G0 moves.
M3 S200
G1 X200
G1 Y175
G1 X150
G1 Y125
M5
G0 Y0 F2500
G0 Y292 F1000
M3 S255
it's better but lase is on during moving between the last line (M3 S255) and the starting point of the printing, but I would like no, I would like it start just when it's in position to print not during this travel.