User Tools

Site Tools


mycnc:global_variables_description

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revisionBoth sides next revision
mycnc:global_variables_description [2020/06/16 08:52] ivanmycnc:global_variables_description [2021/10/19 16:09] ivan
Line 4: Line 4:
  
 The values stored in these global variables are defined in the myCNC profile that is being used, within the cnc-variables.xml file. This file contains a list of CNC and global variables that the program utilizes, as well as their values and minimum/maximum possible values. The values stored in these global variables are defined in the myCNC profile that is being used, within the cnc-variables.xml file. This file contains a list of CNC and global variables that the program utilizes, as well as their values and minimum/maximum possible values.
 +
 +The myCNC program auto-updates the cnc-variables.xml file when the program is closed, to save the current state of the global variables.
 +
 +//**NOTE**: Only the files that are already in the ''cnc-variables'' list are updated. When writing a variable (via the ''gvarset'' command, for example) from the Software PLC, the variable is added to the global variables list. If the variable is simply being read, or used to display some value changes on the screen, it will not be added to ''cnc-variables.xml'' file and the value will be lost on program restart - this is highly relevant for custom gvariables (#3500-3900).//
  
 These min/max values are useful to set up once during the machine setup to provide realistic bounds for the range of a certain global variable.  These min/max values are useful to set up once during the machine setup to provide realistic bounds for the range of a certain global variable. 
mycnc/global_variables_description.txt · Last modified: 2022/08/04 10:58 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki