mycnc:global_variables_description
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mycnc:global_variables_description [2020/03/26 13:41] – ivan | mycnc: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/ | 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/ | ||
+ | |||
+ | 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 '' | ||
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. | ||
Line 17: | Line 21: | ||
* in this example, **1000** represents the current value of the aforementioned variable | * in this example, **1000** represents the current value of the aforementioned variable | ||
+ | {{youtube> | ||
==== List of global variables ==== | ==== List of global variables ==== | ||
Line 31: | Line 36: | ||
< | < | ||
+ | Writing a value larger than 2 will initialize a timer after the macro containing Global Variable #5525, delaying the subsequent turning on of Software Limits control. This is useful in situations where a prolonged procedure requires a longer time within which the Software Limits are turned off than the macro containing P5525 Q1 itself. | ||
+ | |||
+ | Example of code: | ||
+ | |||
+ | < | ||
=== 60010 === | === 60010 === |
mycnc/global_variables_description.txt · Last modified: 2022/08/04 10:58 by ivan