User Tools

Site Tools


mycnc:mycnc_screen_configuration

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:mycnc_screen_configuration [2018/10/01 10:33] skirillovmycnc:mycnc_screen_configuration [2018/10/01 10:42] skirillov
Line 43: Line 43:
 XButton is a Push Button with built in Light indicator. Light is mostly used to show a current state of CNC controller input, output pin, CNC global variable register value etc. XButton is a Push Button with built in Light indicator. Light is mostly used to show a current state of CNC controller input, output pin, CNC global variable register value etc.
  
-XButtin XML definition example is shown below+A XButton XML definition example is shown below
 <code XML> <code XML>
 <gitem where="x-mill"  <gitem where="x-mill" 
Line 72: Line 72:
       * type of light (actually this field is always "led", reserved for future options)       * type of light (actually this field is always "led", reserved for future options)
       * shape of the standard led light. Standard shape can be "round" and "rect"       * shape of the standard led light. Standard shape can be "round" and "rect"
-  * +  * **address** - defines CNC controller hardware the light attached to  
 +      * "inputs" - the light attached to input pin 
 +      * "outputs" - the light attached to output pin 
 +      * "number" - defines pin number the light attached to. A number can be assigned directly, for example \\ number="0" for pin #0 \\ number="15" for ipn #15 \\ or through pin definition file used in Hardware PLC - "pins.h". In this case sign "#" and the pin name defined in "pins.h" should be instead of pin number. For example \\ number="#OUTPUT_SPINDLE" \\ and "pins.h should contain this name definition, for example <code C>#define OUTPUT_SPINDLE 7</code>
  
  
mycnc/mycnc_screen_configuration.txt · Last modified: 2023/07/25 11:26 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki