16. Data, Firmware, and Logs
Streszczenie: Zarządzanie danymi: pamięć RAM i flash wzmacniacza, pliki danych wzmacniacza (.ccx) i silnika (.ccm), narzędzia zapisu i odtwarzania, plik MACRO dla Delta Tau, aktualizacja firmware oraz dziennik błędów i dziennik komunikacji.
EN: Data management: RAM and flash memory, .ccx/.ccm files, data tools, firmware download, error log and communications log.
Dotyczy: program CME 2 do konfiguracji i strojenia serwonapędów oraz napędów krokowych Copley Controls (m.in. Xenus, Accelnet, Stepnet, Accelus, Junus)
Źródło: dokumentacja producenta (Copley Controls CME 2 User Guide); tabele przepisane z obrazów na tekst – opracowanie Multiprojekt
This chapter describes how CME 2 manages amplifier data and firmware, how to download firmware, and use the amplifier logs.
Amplifier RAM and Flash Memory
Disk Storage of Amplifier and Motor Data Files
Data Management Tools
Amplifier Firmware
Error Log
Communications Log
16.1:1 Amplifier RAM and Flash Memory
Amplifier RAM holds status data and certain user-entered data during operation. Its contents are flushed when the amplifier is reset or powered off. Flash memory permanently stores the data. The contents of flash are loaded into amplifier RAM at power-up or reset, as described below.
| Amplifier RAM | Flash |
|---|---|
| Contents erased when amplifier is reset or powered off. | Permanent. Contents retained when the amplifier is reset or powered off. |
| Initial contents read from flash on power-up. Contents then updated in real time to reflect certain operational conditions and changes entered with CME 2 software. At any time, the user can use CME 2 to restore data from flash into amplifier RAM. | Modified only by using a Save to Flash tool or by closing certain screens (Motor/Feedback, Basic Setup, Homing, or CAN Configuration), whose contents are automatically saved to flash upon closing of the screen. |
As described below, some data resides in flash only, some in amplifier RAM only, and some in both.
| Data Resides In | Data |
|---|---|
| Flash only | This category includes all data represented on the Motor/Feedback screen, Basic Setup screen, and CAN Configuration screen. This data is automatically saved to flash as soon as its entry is confirmed (when the user clicks the appropriate Save to Flash button, or closes the screen). |
| Flash and amplifier RAM | Includes all user-entered data represented on other screens, such as gains, limits, and I/O, faults, and regen settings. Initial values for this data are factory-set in flash. They are loaded from flash to amplifier RAM with each power-up or amplifier reset. This data is saved to flash only when a user clicks the appropriate Save to Flash button. It is flushed from amplifier RAM with each power-down or amplifier reset. |
| Amplifier RAM only | Includes operating status data such as actual position, actual current, and amplifier temperature. Such data is never stored in flash. It is flushed from amplifier RAM with each power-down or amplifier reset. |
16.2:2 Disk Storage of Amplifier and Motor Data Files
At any time, the user can save certain data from amplifier RAM and flash memory to a file on disk. From the Main screen, the user can save all user-entered data represented on all screens (the data described as Flash only and Flash and amplifier RAM on). This data is saved in a Copley Controls amplifier data file with a .ccx filename extension.
From the Motor/Feedback screen, the user can save all data represented on the Motor/Feedback screen. This data is saved in a Copley Controls motor data file with a .ccm filename extension.
A .ccx file can be restored to return the amplifier to a previous state or to copy settings from one amplifier to another, as described in Copy Amplifier Data.
16.3:3 Data Management Tools
16.3.1:1 Amplifier Data Management Tools
Operations performed using the amplifier data management tools at the top of the Main screen (shown below) affect amplifier settings, including motor/feedback data. (CVM Control Program data is not saved by these operations.)
The amplifier data management tools are described below.
Amplifier data tools
| Name | Description |
|---|---|
| Save amplifier data to disk | Saves all data represented on all screens to a disk file with a .ccx filename extension. |
| Restore amplifier data from disk | Restores amplifier and motor data from a .ccx file to the PC and amplifier RAM and flash memory. Note that only certain data is saved to flash by this operation (the data described as Flash only). To assure that all data (including the data described as Flash and amplifier RAM) is stored in flash, use the Save amplifier data to flash tool. |
| Save amplifier data to flash | Saves contents of amplifier RAM to amplifier flash memory. |
| Restore amplifier data from flash | Restores contents of amplifier flash memory to amplifier RAM. |
16.3.2:2 Motor Data Management Tools
Operations performed using the data management tools at the bottom of the Motor/Feedback screen (shown below) affect only user-entered data that is represented on the Motor/Feedback screen.
The motor data management tools are described below
| Name | Description |
|---|---|
| Save motor data to disk | Saves only motor/feedback data from the PC to a disk file with a .ccm filename extension. Amplifier data that is not represented on the Motor/Feedback screen is not saved in this file, and this operation does not affect any .ccx files. |
| Restore motor data from disk | Restores only motor data from a disk file with a .ccm filename extension to the PC. Amplifier data that is not represented on the Motor/Feedback screen is not affected. |
| Save motor data to flash | Saves the contents of the Motor/Feedback screen from PC to amplifier flash memory. Amplifier data that is not represented on the Motor/Feedback screen is not saved. Can be used to assure that all changes are saved to flash without closing the Motor/Feedback screen. |
| Restore motor data from flash | Restores only motor data from amplifier flash memory to the PC. Amplifier data that is not represented on the Motor/Feedback screen is not affected. Can be used before closing the Motor/Data screen to restore settings to the previously saved values. |
To use a data management tool, click the icon and respond to prompts.
16.3.3:3 Save MACRO File for Delta Tau Controllers
This feature is available only on Copley MACRO amplifiers such as the Accelnet MACRO, with a minimum firmware version of 1.2.
Save a MACRO file:file
1.1 On the CME 2 Main screen, choose FileSaveFile → Save MACRO File to open the MACRO File
Save window:
22. Enter the ID of the MACRO node with the settings you want to save and click OK.3
3. When prompted, enter a File Name. If needed, navigate from the default AmpData folder to another folder where you wish to store the file.4
4. Click Save to save the .pmc file in the same folder and close the screen
16.4:4 Amplifier Firmware
The amplifier’s flash memory holds the amplifier’s firmware. As needed, perform the following steps to obtain new firmware and download it to amplifier flash memory.
NOTE: Firmware can only be downloaded to an amplifier via a direct serial port or CAN connection between the amplifier and the PC. CME 2 does not support downloading firmware to a node amplifier via a multi-drop gateway amplifier.
NOTE: To check the firmware version currently loaded, click the Amplifier Properties button or choose HelpAbout.
Help → About.
WARNING: Do not power down or disconnect the amplifier during firmware download.download
Download Firmware to the Amplifier
1.1 On the Main screen choose ToolsDownloadTools → Download Firmware to open the Download Firmware window.
22. To download new firmware without saving amplifier and motor data, click No and then proceed to Step 4.3
3. To save amplifier and motor data for backup purposes before downloading firmware, click Yes.
Choose whether to save to disk, flash, both, or neither.
Click OK to save data and continue to select a firmware image, or click Cancel to continue without saving data.
If Save Data to Disk was selected, use the Save Amplifier Data to Disk screen to browse to the folder where you want to save the .ccx file. Then enter a name in the Name field. Then click Save.
When the Firmware Images window appears, proceed to Step 4.
44. Use the Firmware Images window to locate and select a firmware image file.
55. Click Open to begin the download. A message window displays a series of progress messages:
When the message window closes, the firmware download is complete
16.5:5 Error Log
Copley amplifiers track faults and warnings in a log in flash memory
11. ![]()
Click the Error Log tool on the Main screen.2
2. Click a tab to view a section of the log:
| Tab | Contents |
|---|---|
| Active | Type and description of each active fault and warning. The contents of this tab are automatically refreshed as new events occur. |
| History | Type, description, and time of occurrence of each fault and most warnings since the log was last cleared. The contents of this tab are not refreshed automatically as new events occur. The contents are refreshed only when the tab is displayed or when Refresh is clicked. |
| Frequency | Type, description, and frequency of each fault and warning that has occurred since the log was last cleared. The contents are refreshed only when the tab is displayed or when Refresh is clicked. |
| CAN Network | (Under CAN control only.) Status of CAN bus. Lists warnings and errors. |
33. To update the contents of the History or Frequency tabs, click Refresh.
4
To save the log to a disk file, click the Save to Disk icon on the log screen. Then navigate to the appropriate folder, enter a File Name for the log, and click Save.5
5. To clear the log if needed, press Clear Log. (Contents cannot be recovered.)6
6. To close the log screen, click Close.
16.6:6 Communications Log
The communications log tracks all communications between CME 2 and the amplifier. The log is maintained in the PC’s RAM. Typically it is used only on request of customer service for troubleshooting purposes. When required, perform the following steps to manage the tracking and storage of these messages.
NOTE: Do not leave the Enable Logging control selected for any longer than necessary. Leaving it enabled for long periods can affect the PC’s performance.
View the CME 2 Communications Log
1.1 On the Main screen, choose ToolsCommunicationsTools → Communications Log to open the screen:
22. Select the logging options described below.
| Option | Description |
|---|---|
| Enable Logging | When selected, logging is enabled and all communications, with the exception of status messages, are recorded in the log. |
| Enable Event Status Logging | When selected, status messages are included in the log. Note that Show “Get Variable” Cmnds must also be checked to log Event Status commands. |
| Show “Get Variable” Cmds | When selected, “Get Variable” commands are added to the log. |
33. To clear the log contents from the PC’s RAM, press Clear.
NOTE: The log is limited to 2000 lines. When it reaches that limit, CME 2 automatically clears the oldest 1000 lines.4
4. ![]()
To save the log contents from the PC’s RAM to a disk file, click the Save to Disk icon. When prompted, enter a File name. Then, click Save to save the log file and close the window.
Słowa kluczowe
RAM, flash, .ccx, .ccm, zapis do flash, odtwarzanie, MACRO, Delta Tau, firmware, aktualizacja, error log, dziennik komunikacji













