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
mycnc:mycnc_profiles [2019/05/27 13:56] ivanmycnc:mycnc_profiles [2021/12/07 15:47] (current) 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 100: Line 108:
  
  
 +====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, using the '''/opt/myCNC/ubuntu18_64/myCNC' -pX1366V'' command:
 +
 +{{: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.1558979794.txt.gz · Last modified: 2019/05/27 13:56 by ivan

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki