Summary
RSLinx Classic: Clearing cache by deleting Harmony files
Question
How can I delete Harmony files that have become corrupted?
What to do when RSLinx stop communication or showing yellow question marks even EDS files are present?
Environment
RSLinx Classic - all versions
Answer
Download video: MP4 format
You can delete Harmony files if they are corrupt or on a regularly scheduled basis. They are cache files of RSLinx and will be automatically recreated when RSLinx Classic is reopened. For more information about the Harmony files, please refer to QA165 - Description of Harmony.
Warning: When RSLinx Classic is performing as a OPC/DDE Server for an application, delete the Harmony files only when the application is not in operation.
You may want to backup the configuration of the drivers if you have many drivers or various configurations. To back up the current driver configuration:
Go to Start--> Programs--> Rockwell Software--> RSLinx--> RSLinx Classic Backup Restore Utility.
Select Backup.
Enter a filename and a location, and click Save.
After you are finished deleting the Harmony Files, you will need to Re-Start RSLinx
Go to Start--> Programs--> Rockwell Software--> RSLinx--> RSLinx Classic Backup Restore Utility.
Select Restore. (If you don’t restart RSLinx before you perform the Restore, you will receive an error).
You can delete the Harmony files with 2 methods: Automatic and Manual.
Automatic method
RSLinx Classic version 3.90 or higher with valid activation
In RSLinx Classic go to File--> Compact Harmony.
RSLinx Classic version 3.81 or lower
Run the Rslinxcachedelete.bat file. It will stop the RSLinx Classic service, delete the Harmony files and then restart the RSLinx Classic service.
Manual method
Close all software including RSLinx Classic. If RSLinx is running as a service, switch to run as an application by following QA406 - RSLinx Classic: How to run as an Application or as a Service?
Open Windows Explorer and go to
For 32 bit Systems, C:\Program Files\Rockwell Software\RSCommon
For 64 bit Systems, C:\Program Files (x86)\Rockwell Software\RSCommon
Delete Harmony.hrc and Harmony.rsh (you may have Harmony instead of Harmony.rsh). Do not delete HRMYUI.DLL
If you cannot delete the Harmony files, stop the Harmony service from Start--> Control Panel --> Administrative tools --> Services or reboot your computer
If you have a Windows 64 bit system you may only have 1 harmony file.
Change it back to run as a service, and restart the computer if necessary.