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

    Why can't i define a variable?

    Scheduled Pinned Locked Moved
    Gcode meta commands
    4
    5
    377
    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.
    • alankilianundefined
      alankilian
      last edited by

      I don't seem to be able to define variables.

      4/22/2021, 9:52:05 AM 	m115
      FIRMWARE_NAME: RepRapFirmware for Duet 2 WiFi/Ethernet FIRMWARE_VERSION: 3.2 ELECTRONICS: Duet Ethernet 1.02 or later FIRMWARE_DATE: 2021-01-05
      4/22/2021, 9:52:01 AM 	var alankilian = 1
      Error: Bad command: var alankilian = 1
      

      I'm totally beginning with this, so I think I'm doing something terribly stupid and obvious, just not obvious to me!

      SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

      jay_s_ukundefined 1 Reply Last reply Reply Quote 0
      • jay_s_ukundefined
        jay_s_uk @alankilian
        last edited by

        @alankilian because variables only got added in 3.3b2

        Owns various duet boards and is the main wiki maintainer for the Teamgloomy LPC/STM32 port of RRF. Assume I'm running whatever the latest beta/stable build is

        alankilianundefined 1 Reply Last reply Reply Quote 1
        • alankilianundefined
          alankilian @jay_s_uk
          last edited by

          @jay_s_uk Thanks.

          I knew it was obvious.

          Local variable declaration
          
          Implemented in RRF 3.3beta2 and later
          

          SeemeCNC Rostock Max V3 converted to V3.2 with a Duet2 Ethernet Firmware 3.2 and SE300

          ctilley79undefined 1 Reply Last reply Reply Quote 0
          • ctilley79undefined
            ctilley79 @alankilian
            last edited by

            @alankilian and only in standalone mode currently if I'm not mistaken.

            dc42undefined 1 Reply Last reply Reply Quote 1
            • dc42undefined
              dc42 administrators @ctilley79
              last edited by

              In SBC mode too from 3.3beta3.

              Duet WiFi hardware designer and firmware engineer
              Please do not ask me for Duet support via PM or email, use the forum
              http://www.escher3d.com, https://miscsolutions.wordpress.com

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