Directory Synchronizer

Use this dialog to configure the directory synchronizer.

The directory synchronizer can be used to synchronize the files located on a network based control with the files on the PC server. You must be able to share the files on the control with the PC server using either a mapped driver or a UNC name.

This function can normally only be used with Windows(tm) based controls.

Directory Synchronizer dialog

param

Enable 'Synchronizer'

Check this field to enable the directory synchronizer.

The directory synchronizer can be used to synchronize the files located on a network based control with the files on the PC server. You must be able to share the files on the control with the PC server using either a mapped driver or a UNC name.

This function can normally only be used with Windows(tm) based controls.

param

Synchronize files during re-scan

Check this field to scan all directories and synchronize them on startup when one of the 'Re-scan on startup' options are active.

param

Delete files during re-scan

Check this field to delete files during rescans.

param

Create sub-directory on CNC when using 'Send File'

Check this field if a file in the 'PC Directory' is sent to the control from the DNC-Max Client or NC-Base, should be copied to a sub-directory of the 'CNC Directory' that matches the sub-directory relative to the 'PC Directory'

param

Do not log backup messages

Check this field if no messages should be logged when backing up deleted or overwritten files.

param

Do not scan PC for updates

Check this field if updates to the PC should not be processed.

Check this field if scanning the NC-Base machine directory.

param

Copy modified PC file to the CNC

Check this field if files that are updated on the PC server should be copied to the CNC control.

param

Copy modified CNC file to the PC

Check this field if files that are updated on the CNC control should be copied to the PC server.

When using NC-Base the database will also be updated.

param

Delete CNC file when PC file deleted

Check this field to delete files on the CNC control when they are deleted on the PC server.

param

Delete PC file when CNC file deleted

Check this field to delete files from the PC server when deleting files on the CNC control.

If using NC-Base and the deleted file is in the database, it will also be deleted from the database.

param

Run 'Cleaner' before sync

Check this field to run the 'Directory Cleaner' before performing a sync operation.

param

Delete folder when empty

If a last file in a folder is deleted during the synchronizing, the folder is deleted as well.

param

Extensions

Use this field to specify additional remote request extensions.

When the server receives a remote request, it will first scan the request directories, for any files with the extension specified in the 'Extension' field. If no file is found, the server will scan for files with any of the extensions specified below.

To specify multiple extensions separate them with a comma.

Using the wildcards * and ? is supported.

To allow files without extensions, specify a comma at the beginning.

Example: To show all files with extensions .ISO and .NC, specify: ISO,NC

Example: To show all files where the first letter of the extension is N, specify: N*

Example: To allow all files without an extension, or with the extension NC, specify: ,NC

param

Update NC-Base when PC updated

Check this field to update NC-Base when a file on the PC is updated or synchronized from the CNC.

param

Update NC-Base when CNC updated

Check this field to update NC-Base when a file on the CNC is updated or synchronized from the PC.

Normally you should not need to check this option.

param

Backup when overwriting a file

Check this field to create a backup in $BACKUP of all files that are overwritten.

You must enable 'Make backups' on the 'Backup' setup page to use.

param

Backup when deleting a file

Check this field to create a backup in $BACKUP of all files deleted.

You must enable 'Make backups' on the 'Backup' setup page to use.

param

Set synced file timestamp

Check this field if the date/time of synchronized files should be set to the current time.

If not checked the synchronized files keeps the date/time of the original file.

param

Siemens 840D compatibility

Check this field to enable compatibility with the file structure in the Siemens 840D. If the source file is in a Siemens WPD directory and the long file and directory names are found in the __dhinf.000 file, the long names are then used as the target path.

param

How to resolve conflicts

Use this field to specify how update conflicts are resolved.

Update conflicts is the situation where both the PC and the CNC file is updated.

Normally update conflicts should only occur when the DNC-Max server has been offline for a period of time, thus unable to detect and synchronize changes.

Ignore Conflicts : Ignore all conflicts.

Use file timestamp : Use the file system time stamp to determine which file is the newest.

Use adjusted timestamp : Use the file system time stamp and adjust it to compensate for the difference between the PC and the CNC clock.

Always use PC file : Always use the PC file.

Always use CNC file : Always use the CNC file.

When using file timestamp to determine which file is newer, the time difference between the CNC clock and the PC file server clock can cause problems.

If the CNC clock is 45 minutes ahead of the PC server clock, then DNC-Max might choose the wrong file when trying to resolve a conflict where the PC and CNC files has been updated within 45 minutes while DNC-Max has been offline.

To compensate for this you can use the adjusted timestamp option, however this will also produce the incorrect result if the CNC file was updated by copying a file from a PC to the CNC.

In any case it is always best to try and set the CNC clock to match the PC server clock.