-
Notifications
You must be signed in to change notification settings - Fork 27
Laser Head
Simone C edited this page May 4, 2018
·
4 revisions
This page describes the hardware requirmements and FABlin settings for the FABtotum Laser Head. You can reference to them in troubleshooting and developing new custom heads with similar behavior.
| # | FABlin pin | func | dir | HDB pin | Application |
|---|---|---|---|---|---|
10 |
HEATER_0_PIN |
GPIO | ⇒ | HEAT + | Power supply |
11 |
SERVO0_PIN |
PWM | → | SERVO PWM | Laser intensity |
13 |
TEMP_0_PIN |
ADC | ← | THERM + | Temp. measure |
| property | value |
|---|---|
| Working Mode |
2 (Laser) |
| Add-on ID | 4 |
tools.factory[FAB_HEADS_laser_ID].mode = WORKING_MODE_LASER; // M450 S2
tools.factory[FAB_HEADS_laser_ID].extruders= 1; // M563 D0
tools.factory[FAB_HEADS_laser_ID].heaters = TP_SENSOR_0 | TP_SENSOR_BED; // H4:5
tools.factory[FAB_HEADS_laser_ID].thtable = 3; // M800 S3
tools.factory[FAB_HEADS_laser_ID].maxtemp = 80; // M801 S80
tools.factory[FAB_HEADS_laser_ID].mintemp = 10; // R10tools.factory[FAB_HEADS_laser_ID].mods = "M720 H1\n";| Command | Description |
|---|---|
M720 H1 |
Power HEAT + line |
| Command | Description |
|---|---|
M60 S<0-255> |
Set laser power immediately |
M61 S<0-255> |
Finish moves and set laser power |
M62 |
Turn off laser |
M852 S<0-...> |
Set laser security timeout |
The FABlin architecture:
- Interface - G code commands, Error codes
- Application - Add-ons, G-code intepreter, Planner, Working modes
- Middleware - Servo, Stepper, Temperature
- MCU subsystems - ADC, GPIO, PWM
- Hardware - IO table