Browse Source

Merge pull request #8536 from thinkyhead/bf2_nanodlp_z_move_sync

[2.0.x] Implement NANODLP_Z_SYNC for 2.0.x
Scott Lahteine 7 years ago
parent
commit
a766dfb3b1
No account linked to committer's email address
37 changed files with 355 additions and 8 deletions
  1. 10
    0
      Marlin/Configuration_adv.h
  2. 10
    0
      Marlin/src/config/default/Configuration_adv.h
  3. 10
    0
      Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h
  4. 10
    0
      Marlin/src/config/examples/Anet/A6/Configuration_adv.h
  5. 10
    0
      Marlin/src/config/examples/Anet/A8/Configuration_adv.h
  6. 10
    0
      Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h
  7. 10
    0
      Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h
  8. 10
    0
      Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h
  9. 10
    0
      Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h
  10. 10
    0
      Marlin/src/config/examples/Cartesio/Configuration_adv.h
  11. 10
    0
      Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h
  12. 10
    0
      Marlin/src/config/examples/Felix/Configuration_adv.h
  13. 10
    0
      Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h
  14. 10
    0
      Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h
  15. 10
    0
      Marlin/src/config/examples/Malyan/M150/Configuration_adv.h
  16. 10
    0
      Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h
  17. 10
    0
      Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h
  18. 10
    0
      Marlin/src/config/examples/RigidBot/Configuration_adv.h
  19. 10
    0
      Marlin/src/config/examples/SCARA/Configuration_adv.h
  20. 10
    0
      Marlin/src/config/examples/Sanguinololu/Configuration_adv.h
  21. 10
    0
      Marlin/src/config/examples/TinyBoy2/Configuration_adv.h
  22. 10
    0
      Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h
  23. 10
    0
      Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h
  24. 10
    0
      Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h
  25. 10
    0
      Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h
  26. 10
    0
      Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h
  27. 10
    0
      Marlin/src/config/examples/delta/generic/Configuration_adv.h
  28. 10
    0
      Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h
  29. 10
    0
      Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h
  30. 10
    0
      Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h
  31. 10
    0
      Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h
  32. 10
    0
      Marlin/src/config/examples/makibox/Configuration_adv.h
  33. 10
    0
      Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h
  34. 10
    0
      Marlin/src/config/examples/wt150/Configuration_adv.h
  35. 1
    0
      Marlin/src/core/language.h
  36. 8
    0
      Marlin/src/gcode/motion/G0_G1.cpp
  37. 6
    8
      Marlin/src/module/stepper_indirection.h

+ 10
- 0
Marlin/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/default/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Anet/A6/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Anet/A8/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Azteeg/X5GT/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/BQ/Hephestos/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/BQ/Hephestos_2/Configuration_adv.h View File

@@ -1488,4 +1488,14 @@
1488 1488
                                          // tweaks made to the configuration are affecting the printer in real-time.
1489 1489
 #endif
1490 1490
 
1491
+/**
1492
+ * NanoDLP Synch support
1493
+ *
1494
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1495
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1496
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1497
+ *
1498
+ */
1499
+ //#define NANODLP_Z_SYNC
1500
+ 
1491 1501
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/BQ/WITBOX/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Cartesio/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Creality/CR-10/Configuration_adv.h View File

@@ -1494,4 +1494,14 @@
1494 1494
                                          // tweaks made to the configuration are affecting the printer in real-time.
1495 1495
 #endif
1496 1496
 
1497
+/**
1498
+ * NanoDLP Synch support
1499
+ *
1500
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1501
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1502
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1503
+ *
1504
+ */
1505
+ //#define NANODLP_Z_SYNC
1506
+ 
1497 1507
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Felix/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -1501,4 +1501,14 @@
1501 1501
                                          // tweaks made to the configuration are affecting the printer in real-time.
1502 1502
 #endif
1503 1503
 
1504
+/**
1505
+ * NanoDLP Synch support
1506
+ *
1507
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1508
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1509
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1510
+ *
1511
+ */
1512
+ //#define NANODLP_Z_SYNC
1513
+ 
1504 1514
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Infitary/i3-M508/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Malyan/M150/Configuration_adv.h View File

@@ -1485,4 +1485,14 @@
1485 1485
                                          // tweaks made to the configuration are affecting the printer in real-time.
1486 1486
 #endif
1487 1487
 
1488
+/**
1489
+ * NanoDLP Synch support
1490
+ *
1491
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1492
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1493
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1494
+ *
1495
+ */
1496
+ //#define NANODLP_Z_SYNC
1497
+ 
1488 1498
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -1495,4 +1495,14 @@
1495 1495
                                          // tweaks made to the configuration are affecting the printer in real-time.
1496 1496
 #endif
1497 1497
 
1498
+/**
1499
+ * NanoDLP Synch support
1500
+ *
1501
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1502
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1503
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1504
+ *
1505
+ */
1506
+ //#define NANODLP_Z_SYNC
1507
+ 
1498 1508
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Mks/Sbase/Configuration_adv.h View File

@@ -1513,4 +1513,14 @@
1513 1513
                                          // tweaks made to the configuration are affecting the printer in real-time.
1514 1514
 #endif
1515 1515
 
1516
+/**
1517
+ * NanoDLP Synch support
1518
+ *
1519
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1520
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1521
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1522
+ *
1523
+ */
1524
+ //#define NANODLP_Z_SYNC
1525
+ 
1516 1526
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/RigidBot/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/SCARA/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Sanguinololu/Configuration_adv.h View File

@@ -1480,4 +1480,14 @@
1480 1480
                                          // tweaks made to the configuration are affecting the printer in real-time.
1481 1481
 #endif
1482 1482
 
1483
+/**
1484
+ * NanoDLP Synch support
1485
+ *
1486
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1487
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1488
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1489
+ *
1490
+ */
1491
+ //#define NANODLP_Z_SYNC
1492
+ 
1483 1493
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/TinyBoy2/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/UltiMachine/Archim2/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Velleman/K8200/Configuration_adv.h View File

@@ -1499,4 +1499,14 @@
1499 1499
                                          // tweaks made to the configuration are affecting the printer in real-time.
1500 1500
 #endif
1501 1501
 
1502
+/**
1503
+ * NanoDLP Synch support
1504
+ *
1505
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1506
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1507
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1508
+ *
1509
+ */
1510
+ //#define NANODLP_Z_SYNC
1511
+ 
1502 1512
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/Velleman/K8400/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/generic/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/kossel_mini/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/kossel_pro/Configuration_adv.h View File

@@ -1498,4 +1498,14 @@
1498 1498
                                          // tweaks made to the configuration are affecting the printer in real-time.
1499 1499
 #endif
1500 1500
 
1501
+/**
1502
+ * NanoDLP Synch support
1503
+ *
1504
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1505
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1506
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1507
+ *
1508
+ */
1509
+ //#define NANODLP_Z_SYNC
1510
+ 
1501 1511
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/delta/kossel_xl/Configuration_adv.h View File

@@ -1493,4 +1493,14 @@
1493 1493
                                          // tweaks made to the configuration are affecting the printer in real-time.
1494 1494
 #endif
1495 1495
 
1496
+/**
1497
+ * NanoDLP Synch support
1498
+ *
1499
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1500
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1501
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1502
+ *
1503
+ */
1504
+ //#define NANODLP_Z_SYNC
1505
+ 
1496 1506
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/makibox/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/tvrrug/Round2/Configuration_adv.h View File

@@ -1491,4 +1491,14 @@
1491 1491
                                          // tweaks made to the configuration are affecting the printer in real-time.
1492 1492
 #endif
1493 1493
 
1494
+/**
1495
+ * NanoDLP Synch support
1496
+ *
1497
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1498
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1499
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1500
+ *
1501
+ */
1502
+ //#define NANODLP_Z_SYNC
1503
+ 
1494 1504
 #endif // CONFIGURATION_ADV_H

+ 10
- 0
Marlin/src/config/examples/wt150/Configuration_adv.h View File

@@ -1492,4 +1492,14 @@
1492 1492
                                          // tweaks made to the configuration are affecting the printer in real-time.
1493 1493
 #endif
1494 1494
 
1495
+/**
1496
+ * NanoDLP Synch support
1497
+ *
1498
+ * Add support for Synchronized Z moves when using with NanoDLP. G0/G1 axis moves will output "Z_move_comp" 
1499
+ * string to enable synchronization with DLP projector exposure. This change will allow to use
1500
+ * [[WaitForDoneMessage]] instead of populating your gcode with M400 commands
1501
+ *
1502
+ */
1503
+ //#define NANODLP_Z_SYNC
1504
+ 
1495 1505
 #endif // CONFIGURATION_ADV_H

+ 1
- 0
Marlin/src/core/language.h View File

@@ -145,6 +145,7 @@
145 145
 #define MSG_BUSY_PROCESSING                 "busy: processing"
146 146
 #define MSG_BUSY_PAUSED_FOR_USER            "busy: paused for user"
147 147
 #define MSG_BUSY_PAUSED_FOR_INPUT           "busy: paused for input"
148
+#define MSG_Z_MOVE_COMP                     "Z_move_comp"
148 149
 #define MSG_RESEND                          "Resend: "
149 150
 #define MSG_UNKNOWN_COMMAND                 "Unknown command: \""
150 151
 #define MSG_ACTIVE_EXTRUDER                 "Active Extruder: "

+ 8
- 0
Marlin/src/gcode/motion/G0_G1.cpp View File

@@ -72,5 +72,13 @@ void GcodeSuite::G0_G1(
72 72
     #else
73 73
       prepare_move_to_destination();
74 74
     #endif
75
+
76
+    #if ENABLED(NANODLP_Z_SYNC)
77
+      // If G0/G1 command include Z-axis, wait for move and output sync text.
78
+      if (parser.seenval('Z')) {
79
+        stepper.synchronize();
80
+        SERIAL_ECHOLNPGM(MSG_Z_MOVE_COMP);
81
+      }
82
+    #endif
75 83
   }
76 84
 }

+ 6
- 8
Marlin/src/module/stepper_indirection.h View File

@@ -429,6 +429,10 @@
429 429
     #define NORM_E_DIR() { switch (current_block->active_extruder) { case 0: E0_DIR_WRITE(!INVERT_E0_DIR); break; case 1: E0_DIR_WRITE(INVERT_E0_DIR); break; case 2: E1_DIR_WRITE(!INVERT_E1_DIR); break; case 3: E1_DIR_WRITE(INVERT_E1_DIR); } }
430 430
     #define REV_E_DIR() { switch (current_block->active_extruder) { case 0: E0_DIR_WRITE(INVERT_E0_DIR); break; case 1: E0_DIR_WRITE(!INVERT_E0_DIR); break; case 2: E1_DIR_WRITE(INVERT_E1_DIR); break; case 3: E1_DIR_WRITE(!INVERT_E1_DIR); } }
431 431
   #endif
432
+#elif ENABLED(MK2_MULTIPLEXER) // Even-numbered steppers are reversed
433
+  #define E_STEP_WRITE(v) E0_STEP_WRITE(v)
434
+  #define NORM_E_DIR() E0_DIR_WRITE(TEST(current_block->active_extruder, 0) ? !INVERT_E0_DIR: INVERT_E0_DIR)
435
+  #define REV_E_DIR() E0_DIR_WRITE(TEST(current_block->active_extruder, 0) ? INVERT_E0_DIR: !INVERT_E0_DIR)
432 436
 #elif EXTRUDERS > 4
433 437
   #define E_STEP_WRITE(v) { switch (current_block->active_extruder) { case 0: E0_STEP_WRITE(v); break; case 1: E1_STEP_WRITE(v); break; case 2: E2_STEP_WRITE(v); break; case 3: E3_STEP_WRITE(v); break; case 4: E4_STEP_WRITE(v); } }
434 438
   #define NORM_E_DIR() { switch (current_block->active_extruder) { case 0: E0_DIR_WRITE(!INVERT_E0_DIR); break; case 1: E1_DIR_WRITE(!INVERT_E1_DIR); break; case 2: E2_DIR_WRITE(!INVERT_E2_DIR); break; case 3: E3_DIR_WRITE(!INVERT_E3_DIR); break; case 4: E4_DIR_WRITE(!INVERT_E4_DIR); } }
@@ -472,14 +476,8 @@
472 476
   #endif
473 477
 #else
474 478
   #define E_STEP_WRITE(v) E0_STEP_WRITE(v)
475
-  #if ENABLED(MK2_MULTIPLEXER)
476
-    // Even-numbered steppers are reversed
477
-    #define NORM_E_DIR() E0_DIR_WRITE(TEST(current_block->active_extruder, 0) ? !INVERT_E0_DIR: INVERT_E0_DIR)
478
-    #define REV_E_DIR() E0_DIR_WRITE(TEST(current_block->active_extruder, 0) ? INVERT_E0_DIR: !INVERT_E0_DIR)
479
-  #else
480
-    #define NORM_E_DIR() E0_DIR_WRITE(!INVERT_E0_DIR)
481
-    #define REV_E_DIR() E0_DIR_WRITE(INVERT_E0_DIR)
482
-  #endif
479
+  #define NORM_E_DIR() E0_DIR_WRITE(!INVERT_E0_DIR)
480
+  #define REV_E_DIR() E0_DIR_WRITE(INVERT_E0_DIR)
483 481
 #endif
484 482
 
485 483
 #endif // STEPPER_INDIRECTION_H

Loading…
Cancel
Save