Duet3D Logo Duet3D
    • Tags
    • Documentation
    • Order
    • Register
    • Login

    Timing Controlled layer change script

    Scheduled Pinned Locked Moved
    My Duet controlled machine
    3
    3
    222
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • adhanabalundefined
      adhanabal
      last edited by

      Hello all
      I want to the following action in my machine,
      1.On every layer change, i need to switch on a lights for 5 sec, while this lights on , machine should not print (it has to wait for 5 secs)
      2. After 5 secs lights to be off , and continue prints
      Which code should i use?
      Board: Duet3 6HC
      Firmware: RRF3.3

      1 Reply Last reply Reply Quote 0
      • OwenDundefined
        OwenD
        last edited by OwenD

        In your slicer layer change script use M226 to pause
        M42 to turn on your light
        G4 to wait the required time
        M42 to turn off your light
        M24 to resume printing

        adhanabalundefined 1 Reply Last reply Reply Quote 1
        • adhanabalundefined
          adhanabal @OwenD
          last edited by

          @owend said in Timing Controlled layer change script:

          your

          hi thank you i ll test this

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Unless otherwise noted, all forum content is licensed under CC-BY-SA