Frequently Asked Questions - Software configuration

FAQs - Software configuration

1) Potentiometer should be connected to any of ADC inputs of Etherenet control board (ET1, ET5). Schematic connection is shown on a picture below.

2) Software Connection of ADC input to "change-over-speed" should be configured.
Item configuration is situated in "cnc-variables.xml" configuration file.

<value name="cnc-connection-item-001"
K0="25" K="0.030525" deviation="16">0</value>

Attribute "source" describe source connection. It's "adc" in this case. Attribute "dest" describes destination of connection.

Possible sources/destinations are:

  • adc
  • pwm
  • dac
  • input-pin
  • input-port
  • output-pin
  • output-port
  • item

If defined source is changed, destination is changed according given ratios K0, K.

Destination value= K0 + (K*source)

For given example ADC input range is 0...4095.

So motion over-speed is changed from
(25+0.030525*0 to

Destination value is updated if source value is changed more than given deviation.


Output switching depends on input signal can be configured through cnc-connection in "cnc-variables.xml" configuration file in current profile.

Example of configuration line is shown below.

<value name="cnc-connection-item-002"
K0="0" K="1" deviation="0.5">0</value>

Attribute "source" defines input pin #0 as source of connection.
Attribute "dest" defines output pin #3 as destination of connection.

If input pin #0 is "0" output pin #3 is turned OFF, if input pin is "1" output is turned ON.

1. Select "Settings" tab, then "System configuration tab.
2. Find the last menu with child menu items ("Preferences").
3. Select the last submenu ("Interface Language")
4. Select your language.
5. Press "OK", then press "Save".
6. Restart the software


There are 2 ways to set IP address of myCNC Ethernet controller.

1) Configuration dialog, "Network" Tab, "Controller IP address"

2) In command line while starting myCNC software with option "-L"
For example, Linux:

./Linux/myCNC  -dUt   -pVision  -L192.168.0.178


c:\MyCNC\bin\myCNC.exe  -dUt   -pVision  -L192.168.0.178

Command line option "-L" have higher priority. IP address with "L" otion is used first.

However when "Save" button in configuration dialog pressed, myCNC software reloads settings from configuration file and data from Configuration dialog/"Network" tab takes effect.

If you have different IP address settings in "Network" tab and command line "L" option - you will get connection lost (established) when "Save" button pressed.



Current configuration is stored in profile folder. To copy configuration you need to copy a profile folder with its content to new computer.

There are 2 ways to transfer profile folder.

1) Direct copy profile folder.

Current profile folder is placed in "User" folder. User foder depends on Operating System.

For MS WIndows 7 a complete path to profile folder is "C:\Users\USER_NAME\myCNC\profiles\PROFILE_NAME"

For Linux a complete path usually is "/home/USER_NAME/.config/myCNC/profiles/PROFILE_NAME"


It's a good way to make archive file from profile folder and transfer the only archive file from one computer to another.

On a picture - user name is "H7", profile to copy is "1280V"

On next screenshot - destination example for Linux Ubuntu Mate computer.

User name is "mycnc", home folder is "/home/mycnc", a complete path to put profile "/home/mycnc/.config/myCNC/profiles"

Copy archive file "1280V.7z" there, extract files from archive - double click on the archive file in File Manager,
New window with archive content will be opened,
press right button and select extract file.



2) Transfer through Profile Archive.

myCNC can store current profile snapshot to mySQL database file. This file can be transfered to another computer and profile restored form the archive.

By default database file is stored in -

 "C:\MyCNC\db\profiles.sqlite" (for MS Windows)

"/home/USER_NAME/myCNC/db/profiles.sqlite" (for Linux)

To store current profile press "Ctrl+Z". Profile save dialog will be shown. You can enter comments and enter/change save date to easy identify the shapshot while load.



 to be continued....