Below are working variants of the contents of synchronize_folders.txt. The paths in them have to be replaced with your own: the orders working folder and the real network folders of the machines. The line format is explained in the article Route rules.
One machine
# cutting
C:/orders/cuting/kdt_cut > Z:/cnc/kdt folder
A cutting machine, a machining centre and labels
# cutting
C:/orders/cuting/kdt_cut > Z:/cnc/kdt folder
# drilling and milling
C:/orders/iService/is_felder--356 > Z:/cnc/felder folder
# labels for printing
C:/orders/lbl_print > \\printserver\labels file
Note: the labels are handed over in the file mode — all the PDFs get into one folder, from where printing takes them one after another.
Several machines
Each machine has its own folder in the working directory and its own destination:
C:/orders/iService/is_biesse--100 > \\biesse\xnc folder
C:/orders/iService/is_felder--200 > \\felder\xnc folder
C:/orders/iService/is_kdt--300 > \\kdt\xnc folder
C:/orders/cuting/kdt_cut > \\kdt\cutting folder
C:/orders/cuting/ptx_cut > \\biesse\cutting folder
Labels only, to a separate printer
C:/orders/lbl_print > \\labelprinter\queue file
A check without a machine
While the network folders are not ready, it is convenient to check the routes against local folders — the files will simply land on the neighbouring drive:
C:/orders/cuting > D:/test_cnc folder
C:/orders/lbl_print > D:/test_labels file
This will not work
C:/orders/cuting/kdt_cut/some.emf > Z:/file.emf folder— the source must be a folder, not a file.C:/orders/cuting/* > Z:/cnc folder— masks are not supported, an exact path to a folder is needed.C:/orders/cuting > \\server\share with space folder— the spaces in the destination will turn into underscores, and the files will go to\\server\share_with_space.
How to make sure a rule works
- Press «Check now» on the «Home» tab and wait for the end of the cycle.
- Look at the log: the synchronisation lines will show what was copied and whether there were errors accessing the folder.
- Open the «Folder comparison» and select the pair you need — it will show for every order how many files reached the destination.