User Tools

Site Tools


mycnc:mycnc_profiles

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
Last revisionBoth sides next revision
mycnc:mycnc_profiles [2018/09/27 00:06] skirillovmycnc:mycnc_profiles [2021/12/07 15:43] ivan
Line 2: Line 2:
  
 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. 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.
 +
 +The description of default myCNC profiles and their GUI is available here: [[mycnc:mycnc_screen|MyCNC Profile Screen Description]]:
 +  * [[mycnc:mycnc_setup_examples:four_axes_mill|Basic profile for 4 axes Mill (X1366M4 / X1366M profiles)]]
 +  * [[mycnc:mycnc_setup_examples:plasma_cutting|Basic profile for Plasma Cutting (X1366P)]]
 +  * [[mycnc:mycnc_setup_examples:gas_cutting|Basic profile for Gas Cutting (X1366G)]]
 +  * [[mycnc:mycnc_setup_examples:five_axes_mill|Basic profile for 5 axes Mill]]
 +  * [[mycnc:mycnc_setup_examples:tangential_knife|Basic profile for  Tangential Knife (X1366V)]]
 +  * [[mycnc:mycnc_setup_examples:row_and_column_nesting|Row and column nesting (all profiles)]]
  
 Profile folders are placed in "myCNC/profiles" folder in User configuration folder. "User configuration folder" is OS dependant folder which can be for example:  Profile folders are placed in "myCNC/profiles" folder in User configuration folder. "User configuration folder" is OS dependant folder which can be for example: 
Line 76: Line 84:
   * Copy the file from USB to YOUR_PROFILE folder {{mycnc:mycnc-profile-restore-0-6.png}}   * Copy the file from USB to YOUR_PROFILE folder {{mycnc:mycnc-profile-restore-0-6.png}}
  
 +====Manual profile update====
 +In case there is no recently updated version of the profile you are looking for on the server, you can manually download it from the [[https://www.pv-automation.com/download|main site]]. Please follow the instructions below to manually update your profile to the latest available version:
 +
 +1. Go to the [[https://www.pv-automation.com/download|main site's Download page]] and scroll down to the **Profiles** section, then click on the profile you would like to update and select **Save**
 +
 +{{:mycnc:manual-profile-update-003.png}}
 +
 +2. Copy the archive file that you have downloaded to home > .config > myCNC > profiles
 +
 +{{:mycnc:manual-profile-update-004.png}}
 +
 +3. If you would like to keep your preferences from your previous profile, go to that profile's folder and copy the **cnc-variables.xml** file over to your Desktop.
 +
 +{{:mycnc:manual-profile-update-005.png}}
 +
 +4. Extract the folder from the copied archive into the Profiles folder. If you want to add your previous settings from Step 3, replace the **cnc-variables.xml** file in your new profile folder with the one that you have copied to your desktop. 
 +
 +{{:mycnc:manual-profile-update-006.png}}
 +
 +5. Relaunch myCNC software.
 +
 +The manual profile update should now be complete. 
 +
 +
 +====Default profile selection and override====
 +
 +The default profile for myCNC can be selected in Settings > Info: 
 +
 +{{:mycnc:profiles-001-profile-selection.png}}
 +
 +  - Select the necessary profile from the Available Profiles list 
 +  - Press the Save Profile button
 +  - The selected default profile should now be updated at the top of the page
 +
 +The default profile is stored in the ''profile'' file (in /USERNAME/.config/myCNC):
 +
 +{{:mycnc:profiles-003-profiles-file.png}}
 +
 +Upon opening the file in the text editor of your choice, you can see the current default profile without having to open the myCNC software: 
 +
 +{{:mycnc:profiles-004-profile-file-open.png}}
 +
 +It is also possible to override the default profile when starting the myCNC program from the command line, using the ''-p'' command line switch. In the image below, the system will launch the X1366V tangential cutting profile when loading myCNC instead of the default profile:
 +
 +{{:mycnc:profiles-002-dash-p.png}}
 +
 +Read more about launching myCNC with command line switches (flags) here: [[mycnc:launch_mycnc|Launching myCNC]]
 +
 +====Switching between plasma/gas profiles====
 +
 +To switch between profiles via the on-screen button (for example, such as the Switch Technology button present on the X1366P plasma and X1366G gas profiles), the user can simply click from the main software screen to confirm the profile switch without having to go into the program settings. 
 +
 +{{ :mycnc:switch-technology-002-menu-button.png}}
 +
 +However, the Switch Technology button only allows to switch between select profiles that must be specified by name - it is therefore necessary to properly define the profile if its name has been changed from the default (for example, when using a profile called ''CustomPlasmaProfile'' versus the default ''X1366P'').
 +
 +In order to do this, it is necessary to do a quick edit of the .xml files that contain the code for the menus for both respective profiles (in this case, our custom plasma and custom gas profiles). 
 +
 +  * Head into the folder containing the myCNC profiles. On Ubuntu, it will be //home/.config/myCNC/profiles//
 +  * Head into the custom folder that you are using (in this example, it will be ''CustomPlasmaProfile'' and ''CustomGasProfile'')
 +{{:mycnc:switch-technology-003-profile-folder.png}}
 +  * Head into the plasma profile (''CustomPlasmaProfile''), locate and open the ''x-menu.xml'' file in a text editor of your choice (Pluma is used in this example). 
 +{{ :mycnc:switch-technology-004-x-menu.png}}
 +  * In the x-menu.xml file, search for the ''profile-change'' line
 +{{ :mycnc:switch-technology-005-search.png}}
 +  * In the text field, enter the correct names of your edited profiles (for example, ''CustomPlasmaProfile'' and ''CustomGasProfile'') instead of ''X1366P'' and ''X1366G''. The code would then look similar to the following:
 +
 +<code XML><gitem where="x-menu" position="210;10" width="80" height="80" image="tabs/button-plasma-gas"  
 + tooltip="Switch technology (plasma/gas)" tooltip_ru="Смена технологии (плазма/газ)"
 + hotkey="F10" action="radio-confirm:profile-change" text="CustomGasProfile;CustomPlasmaProfile"
 + labelFontSize="14" fontSize="14" orientation="horizontal" 
 + type="button" >
 + <confirm-message>Change Technology Profile</confirm-message>
 + <confirm-message_ru>Сменить технологию резки</confirm-message_ru>
 +</gitem></code>
 +{{ :mycnc:switch-technology-007-text.png}}
 +  * Save the x-menu.xml file.
 +  * Head into the gas profile (''CustomGasProfile'' in case of this example) and navigate to the ''x-menu-gas.xml'' file.
 +{{:mycnc:switch-technology-008-x-menu-gas.png}}
 +  *Once again, locate the ''profile-change'' line and change the ''text'' field to contain the correct names of the new profiles. 
 +  *Save the ''x-menu-gas.xml'' file
 +  *Reload the myCNC application
 +
 +At this point, the Switch Technology button will allow for an easy switch between the profiles you have chosen:
 +
 +{{ :mycnc:switch-technology-010.png}}
 +
 +
 +
 +====PLC Includes====
 +
 +The PLC Includes files allow to systematize and share values and functions among the Hardware and Software PLC procedures within your profile. The below list includes information for some of the the default myCNC profiles. The information may differ between profiles, as well as different versions of profiles, and should be used as a general reference only. 
 +
 +{{:mycnc:plc-includes-002-main-window.png}}
 +
 +[[mycnc:mycnc_profiles:plc-includes-x1366p|PLC Includes for X1366P]]
  
 +[[mycnc:mycnc_profiles:plc-includes-x1366m|PLC Includes for X1366M/M4/M6]]
      
mycnc/mycnc_profiles.txt · Last modified: 2021/12/07 15:47 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki