Navigation

    Duet3D Logo

    Duet3D

    • Register
    • Login
    • Search
    • Categories
    • Tags
    • Documentation
    • Order

    Timing Controlled layer change script

    My Duet controlled machine
    2
    3
    39
    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.
    • adhanabal
      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
      • OwenD
        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

        adhanabal 1 Reply Last reply Reply Quote 1
        • adhanabal
          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