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 revision
Previous revision
Next revisionBoth sides next revision
mycnc:mycnc_screen_configuration [2020/03/10 09:10] ivanmycnc:mycnc_screen_configuration [2020/07/10 13:18] ivan
Line 2: Line 2:
  
 In this manual, we will be going through all the different elements that can be used to display (and interact with) the necessary information on the myCNC screen. Sample examples for the step-by-step screen configuration of myCNC software are available [[mycnc:mycnc_screen_configuration:screen_configuration_examples|here]].  In this manual, we will be going through all the different elements that can be used to display (and interact with) the necessary information on the myCNC screen. Sample examples for the step-by-step screen configuration of myCNC software are available [[mycnc:mycnc_screen_configuration:screen_configuration_examples|here]]. 
 +
 +Video tutorial:
 +
 +{{youtube>Nnz82oJOLA4?large}}
  
 ==== Getting Started with editing the myCNC screen==== ==== Getting Started with editing the myCNC screen====
Line 531: Line 535:
       * "outputs" - the light is "attached" to an output pin       * "outputs" - the light is "attached" to an output pin
       * "number" - defines the pin number than the light is 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>       * "number" - defines the pin number than the light is 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>
 +
 +Another example of an xbutton realized with a **ref** value for reference to switch (toggle) a variable between two states:
 +
 +<code><gitem where="x-reserv" position="85;5" width="80" height="80" 
 + image="rect/normal" 
 + image-hovered="rect/hovered"
 + action="cnc-gvariable-switch-5701"  
 + xattr="0;0;80;80;led;red;round" name="display-cnc-gvariable-5701" data="---;1;16" ref="16" tooltip="Sheet/tube cutting" images="mode-sheet;mode-tube"
 + type="xbutton"/></code>
 +
 +  * **data** specifies which values the switch is occuring (the cnc-gvariable-switch-5701 action in this case)
 +  * **ref** specifies the reference value to monitor for
 ++++ ++++
  
Line 1025: Line 1041:
  
 ++++ ++++
 +
 +====Fonts====
 +
 +For the default profiles to align the text properly, Google's Open Sans is recommended to be installed on your workstation. This font comes pre-installed on our Ubuntu MATE builds, but may need to be installed separately on Windows machines.
  
 ==== MyCNC screen configuration examples ==== ==== MyCNC screen configuration examples ====
 The examples for the screen configuration can be found here: [[mycnc:mycnc_screen_configuration:screen_configuration_examples|Screen configuration examples]] The examples for the screen configuration can be found here: [[mycnc:mycnc_screen_configuration:screen_configuration_examples|Screen configuration examples]]
  
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