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

    Reporting Object Model Properties

    Scheduled Pinned Locked Moved
    Gcode meta commands
    2
    3
    76
    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.
    • St Tawundefined
      St Taw
      last edited by

      I'm trying to diagnose a first layer Z height problem which could be a BLTouch fault.

      In doing so I wanted to report various variables. By way of example...

      echo "sensors.probes[0].lastStopHeight=",sensors.probes[0].lastStopHeight

      echo "heat.heaters[0].current=",heat.heaters[0].current

      echo "move.axis[0].babystep=",move.axis[0].babystep

      The first two above report OK. However the babystep property fails with...
      Error: in file macro line 31 column 31: meta command: unknown value 'axis^.babystep'

      Can anyone suggest what the problem is.
      Thanks

      chrishammundefined 1 Reply Last reply Reply Quote 0
      • chrishammundefined
        chrishamm administrators @St Taw
        last edited by chrishamm

        @St-Taw You've got a mistake in there, it should be

        echo "move.axes[0].babystep=",move.axes[0].babystep
        

        PS: You probably want move.axes[2].babystep for Z.

        Duet software engineer

        St Tawundefined 1 Reply Last reply Reply Quote 1
        • St Tawundefined
          St Taw @chrishamm
          last edited by

          @chrishamm

          I was struggling to even see the difference you suggested but eventually spotted it.
          Always have had trouble with spelling 😞

          Many thanks.

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