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

    delay between i2c messages

    Scheduled Pinned Locked Moved
    Duet Web Control
    3
    3
    173
    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.
    • t0biasundefined
      t0bias
      last edited by

      Hi,

      I am looking for a way to insert a delay between two I2C messages from within a macro, G4 seems not to affect macros, like if I have this in a macro

      M260 A38 B1:0
      G4 100
      M260 A38 B1:1
      

      both i2c messages get send consecutively without the delay?
      Any ideas?

      Alex.crundefined 1 Reply Last reply Reply Quote 0
      • rjenkinsgbundefined
        rjenkinsgb
        last edited by

        G4 needs a letter parameter; P for milliseconds or S for seconds.

        Try
        G4 P100

        Robert J.

        Printers: Overlord pro, Kossel XL+ with Duet 6HC and "Frankentron", TronXY X5SA Pro converted to E3D toolchange with Duet 6HC and 1LC toolboards.

        1 Reply Last reply Reply Quote 0
        • Alex.crundefined
          Alex.cr @t0bias
          last edited by Alex.cr

          @t0bias

          You G4 line is missing either a P or S parameter to define how long the delay should be.

          https://duet3d.dozuki.com/Wiki/G4

          Voron2.4/Duet3 SBC+6HC+3HC+1LC+1HCL(x2) - Delta/Duet2 Wifi - CubePro/Duet2 Wifi+Duex5 - Laser/Duet3 Mini5+ - Cel Robox - U̶p̶3̶0̶0̶+/D̶u̶e̶t̶3̶ ̶6̶H̶C̶+̶LC1̶ - F̶T̶-̶5̶/̶D̶u̶e̶t̶2̶ ̶W̶i̶f̶i̶ - S̶o̶l̶i̶d̶o̶o̶d̶l̶e̶

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