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.

Step 2. Give password and press enter.

Step 3. Run the following command to open the SSH configuration file.
sudo ee /etc/ssh/sshd_config

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

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

Step 6: Restart SSH Service with running the following command.
sudo service sshd restart

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.

Step 4. Click install

Step 5. Click Finish.

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

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.

Step 9. Copy the Activation key.

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

Step 11. Go to install folder, and open "config.json" file.
FFTP-> (replace it with this line) ->: "doas /usr/libexec/sftp-server"

Step 12. Create folders (insert this path in machindir:):
home/Administrator/TwinCAT/CNC/OrigFiles

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".

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.

Step 16. Click on Machine.

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

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