Skip to content

Install

CNC Designer Installation and Configuration Guide

Initially, we must configure FTP on FreeBSD, after which we can proceed to install CNC Designer on the master PC. To configure FTP on FreeBSD, we need to perform these steps.

Step 1. Open putty, select Beckhoff, click on Load, and then click open.

Screenshot

Step 2. Give password and press enter.

Screenshot

Step 3. Run the following command to open the SSH configuration file.

sudo ee /etc/ssh/sshd_config

Screenshot

Step 4. Locate this line “#PasswordAuthentication no” and change it to “PasswordAuthentication yes".

Screenshot

Step 5. Save and exit with pressing Esc button, select (a: leave editor), and press enter.

Screenshot

Step 6: Restart SSH Service with running the following command.

sudo service sshd restart

Screenshot

Step 7. Exit putty.

Now we will proceed with the installation of CNCDesigner.

Step 1. Create folder path

D:\Tools\Cnc Designer

Step 2. Copy the install.zip for cnc designer into this path "D:\Tools\Cnc Designer".

Step 3. Execute as administrator “CNC Designer Pro Setup 1.0.0.exe”

  • Select anyone who uses this computer (all users), and then click Next.

Screenshot

Step 4. Click install

Screenshot

Step 5. Click Finish.

Screenshot

Step 6. Open "CNC Designer Pro" on your desktop, and copy "License Code".

Screenshot

Step 7. Open KeyGen.exe file (it is in the install zip folder)

Step 8. Past the copied license code into to the "License Code" box. and then click on "Generate" button.

Screenshot

Step 9. Copy the Activation key.

Screenshot

Step 10. Past the activation key back to “CNC Designer Pro”, and then click the "Activate" button.

Screenshot

Step 11. Go to install folder, and open "config.json" file.

FFTP-> (replace it with this line) ->: "doas /usr/libexec/sftp-server"

Screenshot

Step 12. Create folders (insert this path in machindir:):

home/Administrator/TwinCAT/CNC/OrigFiles

Screenshot

Step 13. Set in GUI

Open MTT_MainControlConfig.xml from:

    D:\MBGUI\Configuration files\MTT_MainControlConfig.xml

    Set these lines:
        - MTTConfig cncFileFtpUri="192.168.201.2" 
        - cncFileFtpUsername="Administrator" 
        - cncFileFtpPassword="1" 
        - ConnectionType="SFTP" 
        - cncDirectory="/home/Administrator/TwinCAT/CNC/OrigFiles"
        - useLocalDirectory="false" 
        - example: localCncDirectory="D:\CNCoil2.3.0.12\CNCFILES"
        - teachFilePath="\\172.26.196.61\d$\MBVision\Bin\Insp"
        - multipleSheetsMode="false".

Screenshot

Step 14. Open putty, and run these commands

cd TwinCAT
ls -la
doas chmod -R 775 CNC/

We will now verify whether the CNS designer is functioning correctly or not.

Step 15. click on Coil.

Screenshot

Step 16. Click on Machine.

Screenshot

Step 17. Give password: 1, and then click on “Connect and Send” button.

Screenshot

The following screen shot shows that the CNS Designer is now connected. Our CNC Designer setup and configuration is completed.

Screenshot