User Tools

Site Tools


mycnc:mycnc_screen_configuration

This is an old revision of the document!


MyCNC Screen Configuration

Getting Started with editing the myCNC screen

By default, myCNC comes with a number of profiles, each with slight visual differences which are designed to best suit the workflow of a particular system, be it a plasma cutting machine, a mill, or a tangential knife setup. However, sometimes it is necessary to edit the software screen to better suit the particular workflow of the operator. Luckily, the myCNC software is almost endlessly customizable since it comes with an ability to edit the .xml files which are responsible for displaying all the necessary on-screen content.

These .xml files are stored in your profile folder. On Ubuntu systems, go to your home folder, and then navigate to .config/myCNC/profiles. All your profiles (which can be chosen from within the myCNC software by going into Settings > Info) are stored here:

Upon opening the necessary profile folder (we will be using X1366M in this example, for the simple 3-axis mill profile), you are presented with a list of all the .xml files which will populate your screen:

However, merely being in the profile folder does not mean that the .xml file's contents will be displayed on the myCNC screen. In order for the .xml file to be used when building the myCNC screen, it must be included in the cnc-screen.xml file that is located within the profile folder:

Upon opening this file and scrolling down to the bottom, you are presented with a list of all the .xml files from within the same folder which will be included when building the myCNC screen:

From here on, you can edit these files that are named according to the different elements they put up on the screen (x-coordinates.xml is responsible for displaying the coordinates, x-gantry.xml deals with the gantry alignment widget, etc). Don't forget to save the .xml files and reload the myCNC application for the changes to take effect.

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 here.

MyCNC GUI elements

Label

Display

BDisplay

RadioDisplay

Radio2Display

KDisplay

KSpinBox

KSpinBox2

LED Display

SVG Display

Myitems Widget

Button

XButton

GLView

NCView

X-log and Logview

NCList

CentringView

Rotation2View

MyCNC Actions

All button-like screen components (button, xbutton, bdisplay, kspinbox2) run a Handler procedure when pressed or released event is activated by a mouse click or a touch screen tap. The Handler is defined in the “action” attribute of an XML configuration item.

List of general actions:

Items

Player actions

Jog actions

Motion Settings Actions

Built-in Editor Actions

File Manipulation Actions

Visualization Actions

Widget Manipulations Actions

Application Actions

Hardware Manipulation actions

PLC Actions

Job Actions

OS/System Actions

CNC Variables manupulation Actions

HMI Actions

MyCNC screen configuration examples

The examples for the screen configuration can be found here: Screen configuration examples

mycnc/mycnc_screen_configuration.1579542933.txt.gz · Last modified: 2020/01/20 12:55 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki