This is an old revision of the document!
Table of Contents
MyCNC profiles
MyCNC software can be flexibly configured for a wide range of application. Complete machine configuration is stored in Profile - folder that contains all the screen configuration, machine settings, macros, PLC procedures etc.
Profile folders are placed in “myCNC/profiles” folder in User configuration folder. “User configuration folder” is OS dependant folder which can be for example:
- Linux -
/home/user_name/.config/...
- MS Windows (Old) -
C:/My Documents/...
- MS Windows (Win 7) -
C:/Users/User_Name/...
For example for Odroid-C2 mini computer we offer profiles folder are placed in -
/home/operator/.config/myCNC/profiles
Save/Restore Profile Configuration
- Current Profile can be stored simply by archiving your current profile folder
- Current Profile can be stored in the local database file. Press Ctrl+Z to open Save Profile dialog, enter comments and press “Save”. A Complete set of Current profile files will be stored in the database file.
To restore Current Profile press Ctrl-L to open Load profile dialog,
select profile snapshot and press “ok”.
Database file with Profiles Archive is placed in myCNC working folder in myCNC/db/profiles.sqlite file. A Full path for Odroid-C2 is
/home/operator/myCNC/db/profiles.sqlite
for MS Windows it can be
C:/MyCNC64/db/profiles.sqlite
Store/Restore and Update Profile data to/from myCNC Server
Current Profile can be stored, restored or updated from myCNC Server. Store, restore and update profile can be made in the “Support” dialog.
To Store Current profile snapshot
To Store Current profile snapshot on myCNC Server press button Store Profile on myCNC Server. You will get a confirmation message after the profile stored. Your profile name, controller unique ID and current date and time are stored with all profile data. You will be able to restore data exactly for your machine (pair profile-controller ID) and selected date.
To Restore profile from myCNC Server
- Profile Name to Load - Current profile name is filled automatically.
- Controller UID - Your Controller unique ID is filled automatically.
- Date - Select date to load from ComboBox
- Select which components of the profile you like to restore from myCNC Server
- Screen - screen configuration files like “cnc-screen.xml”, diagnose-xml“, “editor.xml”, “parking.xml” etc
- Macros - macro files from “Macro” folder
- PLC - plc folder with all Hardware and Software PLC files
- Press “Load Profile from myCNC Server” to load selected profile data.
To Update profile from myCNC Server
Note You may wish to update your profile to the last version from your myCNC Server. 1. Updating Screen files make sense since you would get a new look of your profile 2. Updating Macros and PLC is completely up to you. You may update it if you didn't make any changes in PLC or Macros 3. !!! Never !!! update cnc-variables because you will lose all your settings data and will need to set up system again (like pulse per unit settings and other)
- Profile Name to Load - Current profile name is filled automatically.
- Date - Select the last date from the ComboBox
- Select which components of the profile you like to restore from myCNC Server
- Screen - screen configuration files like “cnc-screen.xml”, diagnose-xml”, “editor.xml”, “parking.xml” etc
- Macros - macro files from “Macro” folder
- PLC - plc folder with all Hardware and Software PLC files
- Variables - Do NOT select variables when update the profile from myCNC Server.
- Press “Load Profile from myCNC Server” to load selected profile data.
Manual restore Profile Configuration
A computer uses cache memory (RAM) while saving files to increase SD cards performance. The most frequently written file is cnc-variables.xml. In case of power failure profile configuration file “cnc-variables.xml” might be damaged. To restore profile configuration you can manually copy this file to profile folder from the archive. For example,
- put “cnc-variables.xml” file to USB disk and insert it into the SBC.
- Click on Home icon to open User Home Folder (usually it's “/home/operator”) in a File Manager.