Windows Registry Reference Manual: For Servoworks CNC Products and SMP Series General Motion Control Products
Windows Registry Reference Manual: For Servoworks CNC Products and SMP Series General Motion Control Products
Windows Registry Reference Manual: For Servoworks CNC Products and SMP Series General Motion Control Products
Revision 1.0
© 2007 Soft Servo Systems, Inc.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Warning / Important Notice
Warning
The product described herein has the potential – through misuse, inattention, or lack of understanding – to create
conditions that could result in personal injury, damage to equipment, or damage to the product(s) described herein.
Machinery in motion and high-power, high-current servo drives can be dangerous; potentially hazardous situations
such as runaway motors could result in death; burning or other serious personal injury to personnel; damage to
equipment or machinery; or economic loss if procedures aren’t followed properly. Soft Servo Systems, Inc. assumes
no liability for any personal injury, property damage, losses or claims arising from misapplication of its products. In
no event shall Soft Servo Systems, Inc. or its suppliers be liable to you or any other person for any incidental
collateral, special or consequential damages to machines or products, including without limitation, property damage,
damages for loss of profits, loss of customers, loss of goodwill, work stoppage, data loss, computer failure or
malfunction claims by any party other than you, or any and all similar damages or loss even if Soft Servo Systems,
Inc., its suppliers, or its agent has been advised of the possibility of such damages.
It is therefore necessary for any and all personnel involved in the installation, maintenance, or use of these products
to thoroughly read this pamphlet and related manuals and understand their contents. Soft Servo Systems, Inc. stands
ready to answer any questions or clarify any confusion related to these products in as timely a manner as possible.
The selection and application of Soft Servo Systems, Inc.’s products remain the responsibility of the equipment
designer or end user. Soft Servo Systems, Inc. accepts no responsibility for the way its controls are incorporated
into a machine tool or factory automation setting. Any documentation and warnings provided by Soft Servo
Systems, Inc. must be promptly provided to any end users.
This document is based on information that was available at the time of publication. All efforts have been made to
ensure that this document is accurate and complete. However, due to the widely varying uses of this product, and
the variety of software and hardware configurations possible in connection with these uses, the information
contained in this manual does not purport to cover every possible situation, contingency or variation in hardware or
software configuration that could possibly arise in connection with the installation, maintenance, and use of the
products described herein. Soft Servo Systems, Inc. assumes no obligations of notice to holders of this document
with respect to changes subsequently made. Under no circumstances will Soft Servo Systems, Inc. be liable for any
damages or injuries resulting from any defect or omission in this manual.
Soft Servo Systems, Inc. makes no representation or warranty, expressed, implied, or statutory with respect to, and
assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained
herein. NO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS OF PURPOSE SHALL APPLY.
_____________________________________________________________________________________
i
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Warning / Important Notice
Important Notice
The information contained in this manual is intended to be used only for the purposes agreed upon in the related
contract with Soft Servo Systems, Inc. All material contained herein is subject to restricted rights and restrictions
set forth in the contract between the parties.
These manuals contain confidential and proprietary information that is not to be shared with, nor distributed to, third
parties by any means without the prior express, written permission of Soft Servo Systems, Inc. No materials
contained herein are to be duplicated or reproduced in whole or in part without the express, written permission of
Soft Servo Systems, Inc.
Although every effort and precaution has been taken in preparing this manual, the information contained herein is
subject to change without notice. This is because Soft Servo Systems, Inc. is constantly striving to improve its
products. Soft Servo Systems, Inc. assumes no responsibility for errors or omissions.
All rights reserved. Any violations of contractual agreements pertaining to the materials herein will be prosecuted to
the full extent of the law.
_____________________________________________________________________________________
ii
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents
Table of Contents
Warning ............................................................................................................................................................................................ i
Important Notice ............................................................................................................................................................................. ii
Table of Contents .......................................................................................................................................................................... iii
List of Tables.................................................................................................................................................................................. iv
List of Figures................................................................................................................................................................................ iv
Chapter 1: Windows Registry and Registry Editor................................................................................................................... 1-1
1.1 What is the Windows Registry?...................................................................................................................... 1-1
1.2 What is the Registry Editor? ........................................................................................................................... 1-1
Chapter 2: ServoWorks CNC and SMP Registry Data.............................................................................................................. 2-1
2.1 Overview......................................................................................................................................................... 2-1
2.2 Default Registry Paths .................................................................................................................................... 2-1
2.3 Registry Data in the “HKEY_CLASSES_ROOT\ServoWorks” Key............................................................. 2-1
2.3.1 Folder Structure of the “HKEY_CLASSES_ROOT\ServoWorks” Key................................................. 2-1
2.3.2 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, ServoWorks Key2-
4
2.4 Registry Data in the “HKEY_CLASSES_ROOT\SNK” Key ...................................................................... 2-10
2.4.1 Overview of the “HKEY_CLASSES_ROOT\SNK” Key..................................................................... 2-10
2.4.2 The PLC Control Screen Utility............................................................................................................ 2-10
2.4.3 Counters for PLC .................................................................................................................................. 2-12
2.4.4 D Data for PLC ..................................................................................................................................... 2-12
2.4.5 Keep Relays for PLC ............................................................................................................................ 2-13
2.4.6 Timers for PLC ..................................................................................................................................... 2-13
2.4.7 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, SNK Key....... 2-14
2.5 Registry Data in the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key ................................................... 2-15
2.5.1 Overview of the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key.................................................. 2-15
2.5.2 The PLC Diagnose Utility..................................................................................................................... 2-15
2.5.3 LadderWorks Console........................................................................................................................... 2-15
2.5.4 Summary of Relevant Registry Information in the HKEY_CURRENT_USER\SNK Folder, SNK_PLC
Key................................................................................................................................................................. 2-15
Chapter 3: APIs for Interacting with the Registry..................................................................................................................... 3-1
Chapter 4: Backing Up and Restoring Registry Data............................................................................................................... 4-1
4.1 Uses for Backing Up and Restoring Registry Data......................................................................................... 4-1
4.2 Exporting Current Parameter Settings to Windows Files ............................................................................... 4-1
4.3 Importing Registry Settings to a PC from Windows Files.............................................................................. 4-6
Chapter 5: Setting All Parameter Settings Back to the Default Settings................................................................................ 5-1
Index ................................................................................................................................................................................................. I
_____________________________________________________________________________________
iii
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents
List of Tables
List of Figures
Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOT\ServoWorks” Subkeys ....................... 2-3
Figure 2-2: Registry Editor Window Showing “SNK” Subkeys ............................................................................. 2-10
Figure 2-3: PLC Control Screen Window for “RUN” Status .................................................................................. 2-11
Figure 2-4: PLC Control Screen Window for “STOP” Status................................................................................. 2-11
Figure 2-5: Edit Counter Window ........................................................................................................................... 2-12
Figure 2-6: PLC Edit Data Table Screen ................................................................................................................. 2-12
Figure 2-7: Edit Keep Relay Window ..................................................................................................................... 2-13
Figure 2-8: Edit Timer Window .............................................................................................................................. 2-13
Figure 2-9: Registry Editor Window Showing “HKEY_CURRENT_USER\SNK\SNK_PLC” Subkeys .............. 2-15
Figure 4-1: Start Menu Selection Showing “Run…”................................................................................................. 4-1
Figure 4-2: Run Window ........................................................................................................................................... 4-2
Figure 4-3: Main Registry Editor Window................................................................................................................ 4-2
Figure 4-4: Registry Editor Window with “ServoWorks” Selected .......................................................................... 4-2
Figure 4-5: Registry Editor Window with “GMC” Selected ..................................................................................... 4-3
Figure 4-6: Registry Editor Window – File Pull Down Menu................................................................................... 4-3
Figure 4-7: Export Registry File Window (1 of 2) .................................................................................................... 4-4
Figure 4-8: Registry Editor Window with “SMP” Selected ...................................................................................... 4-5
Figure 4-9: Export Registry File Window (2 of 2) .................................................................................................... 4-5
Figure 4-10: Registry Editor Window – File Pull Down Menu................................................................................. 4-7
Figure 4-11: Import Registry File Window ............................................................................................................... 4-7
Figure 4-12: Registry Editor Dialog Box – Importing Success Message .................................................................. 4-7
Figure 5-1: Start Menu Selection Showing “Run…”................................................................................................. 5-1
Figure 5-2: Run Window ........................................................................................................................................... 5-1
Figure 5-3: Main Registry Editor Window................................................................................................................ 5-2
Figure 5-4: Registry Editor Window with “ServoWorks” Selected .......................................................................... 5-2
Figure 5-5: Registry Editor Window with “GMC” Selected ..................................................................................... 5-3
Figure 5-6: Registry Editor Window – Edit Pull Down Menu .................................................................................. 5-3
Figure 5-7: Confirm Delete Key Dialog Box ............................................................................................................ 5-3
Figure 5-8: Registry Editor Window with “SMP” Selected ...................................................................................... 5-4
_____________________________________________________________________________________
iv
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 1: Windows Registry and Registry Editor
• The programs installed on the computer and the types of documents each can create.
The registry is organized hierarchically as a tree and is made up of keys and their subkeys, hives, and value entries.
You may use the Registry Editor to export registry settings, import registry settings, or to set all ServoWorks CNC
or SMP parameters back to their default settings, as described in subsequent chapters of this manual.
! CAUTION
Do not use the Registry Editor to make any changes to Windows registry entries.
Only use the Registry Editor to import or export registry folders. Follow the
procedures in this manual very carefully.
_____________________________________________________________________________________
1-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
2.1 Overview
This information is only provided for SDK (ServoWorks Development Kit) and MDK (Motion Development Kit)
users, who will need to use the Windows registry for their customized programs. Many registry entries are in binary
and hexadecimal format, and their values are not readily apparent when viewed in the Windows Registry Editor.
! CAUTION
UNDER NO CIRCUMSTANCES SHOULD REGISTRY ENTRIES BE
MODIFIED DIRECTLY.
If you are not developing a customized ServoWorks CNC or SMP application, you should skip this chapter.
The default registry path for all ServoWorks CNC and SMP products is:
My Computer\HKEY_CLASSES_ROOT\ServoWorks
The default registry paths for all LadderWorks PLC parameters are:
My Computer\HKEY_CLASSES_ROOT\SNK
My Computer\HKEY_CURRENT_USER\SNK\SNK_PLC
The structure of the “ServoWorks” key in the registry varies somewhat depending upon which ServoWorks CNC or
SMP product is installed. For customized ServoWorks CNC or SMP products created with the ServoWorks
Development Kit (SDK) or the Motion Development Kit (MDK), the application developer determines some of the
structure. For off-the-shelf ServoWorks CNC or SMP products, there are three types of folders for registry entries
for ServoWorks CNC and SMP Products:
_____________________________________________________________________________________
2-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
1) GMC
This folder is used to store all system parameters, including those created and updated by SDK or MDK
APIs (SWAPI or MAPI) through the SwDll.dll file (a dynamic link library containing code and data for
ServoWorks CNC and SMP products – it provides the interface between the ServoWorks CNC/SMP
applications in the Win32 subspace and the CNC Engine or SMP Motion Engine in the real-time subspace).
System parameters included in this folder are divided into four subfolders:
a) ABS_Encoder
b) NC_Param
c) Servo_Control_Param
d) Servo_Drive_Param
! CAUTION
The format of this “GMC” folder is predetermined and SHOULD NOT BE
CHANGED. We strongly caution against manually modifying this folder in any way.
These folders store program data (such as Windows HMI-related data or user-defined program parameters)
for ServoWorks CNC and SMP applications. These registry entries are created and updated by Windows
APIs in HMI or Windows applications.
Each folder is named for the Windows HMI application it was created by (i.e. “S100M,” “S120M” or
“S140M,” for the ServoWorks S-100M series; “MC_QUAD” for ServoWorks MC-Quad; “Lathe” for
ServoWorks S-100T; or “SMP” for the SMP Console). NOTE: SDK and MDK users must create the path,
the format and the data to be saved for each customized ServoWorks CNC or SMP application they create.
For example, ServoWorks S-100M creates and maintains an “S100M” folder, for example, in
“My Computer\HKEY_CLASSES_ROOT\ServoWorks\S100M” – sub folders include:
a) ATC
b) AxisName
c) Color
d) Display
e) MacroVar
f) PitchErr
g) Plot
h) ToolOffset
i) WorkpieceOffset
_____________________________________________________________________________________
2-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
3) Products
This folder is used to store the product version and the license code, and is created and updated by the
ServoWorks CNC or SMP installer.
A screen shot of the “ServoWorks” key in the HKEY_CLASSES_ROOT folder (showing multiple ServoWorks
CNC and SMP installations) follows:
_____________________________________________________________________________________
2-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-5
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-6
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
* System parameters are discussed in detail in the Reference Manual for ServoWorks CNC Parameters and
Functions, the ServoWorks S-100T Parameters Manual and the Reference Manual for SMP Parameters and
Functions.
_____________________________________________________________________________________
2-7
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-8
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-9
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
Registry data in the “HKEY_CLASSES_ROOT\SNK” key is used to store information relevant to the PLC Control
Screen Utility included with LadderWorks PLC.
Four of the subkeys in the “SNK_PLC” folder relate directly to values set with the PLC Control Screen Utility.
To access the PLC Control Screen Utility, double click on the file in C:\SwPLC\Utility.
If the status of ladder logic is “RUN,” you will see the PLC Control Screen window shown in the following figure:
_____________________________________________________________________________________
2-10
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
If the status of ladder logic is “STOP,” you will see the PLC Control Screen window shown in the following figure:
The first time you run the PLC Control Screen utility, the “K edit,” “T edit” and “C edit” buttons may be disabled.
If these three buttons are disabled, you can enable them by compiling the SwPLC table – see Section 6.2: PLC
Tables for Input/Output Declaration of the LadderWorks PLC User’s Manual, and follow the procedure described
in this section.
To exit the PLC Control Screen utility at any time, click on the button in the upper right hand corner.
_____________________________________________________________________________________
2-11
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
The data in the “CTR” registry sub folder relates to the counter values used by the CTR counter functional command
(SUB5) and the CTRC counter functional command (SUB55) for LadderWorks PLC. There are five pages of
counter data in the Edit Counter window, corresponding to the PAGE01 to PAGE05 folders in the “CTR” registry
folder. To view the Edit Counter window, click the “C edit” button in the PLC Control Screen utility, and the
following window will appear:
The data in the “DATA” registry sub folder relates to D data for LadderWorks PLC. There are two pages of D data
in the Edit Data Table window, corresponding to the PAGE01 and PAGE02 folders in the “DATA” registry folder.
To view the Edit Data Table window, click the “D edit” button in the PLC Control Screen utility, and the following
window will appear:
_____________________________________________________________________________________
2-12
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
The data in the “KEEP” registry sub folder relates to the keep relay values used by LadderWorks PLC. There are
100 pages of keep relay data in the Edit Keep Relay window, corresponding to the PAGE01 to PAGE100 folders in
the “KEEP” registry folder. To view the Edit Keep Relay window, click the “K edit” button in the PLC Control
Screen utility, and the following window will appear:
The data in the “TMR” registry sub folder relates to the timers for LadderWorks PLC. There are ten pages of
counter data in the Edit Timer window, corresponding to the PAGE01 to PAGE10 folders in the “TMR” registry
folder. To view the Edit Timer window, click the “T edit” button in the PLC Control Screen utility, and the
following window will appear:
_____________________________________________________________________________________
2-13
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products
_____________________________________________________________________________________
2-14
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
Registry data in the “HKEY_CURRENT_USER\SNK\SNK_PLC” key is used to store information relevant to the
PLC Diagnose Utility and the LadderWorks Console application included with LadderWorks PLC.
A typical screen shot of the “SNK_PLC” key in the HKEY_CURRENT_USER\SNK folder follows:
The PLC Diagnose Utility is a utility for verifying sequence programs with ladder diagrams (viewing ladder
diagrams only – you cannot edit in the ladder diagram format with this utility). [NOTE: This is a LadderWorks PLC
legacy product that will be discontinued in the future.]
LadderWorks Console is a Win32 application for creating, editing, monitoring, debugging and compiling PLC
ladder diagram (LD) sequence programs.
_____________________________________________________________________________________
2-15
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 3: APIs for Interacting with the Registry
Please refer to our API manuals (either the ServoWorks API (SWAPI) Reference Manual for C/C++ and Visual
Basic or the SMP Motion and Logic API (MAPI) Reference Manual for C/C++ and Visual Basic) for the details of
the following registry-related APIs:
• sssLoadParameters (loads parameter settings from registry or the initialization files and feeds the data into
parameter structures)
• sssSaveParameters (saves parameter settings to the system registry or initialization files from the structures)
• sssLoadAbsEncParameters (loads absolute encoder parameters from file or Windows registry and sends it
to the Real-Time Engines. These parameters include information on whether the absolute encoder homing
has ever been performed, and the absolute encoder home location.)
• sssSaveAbsEncParameters (Gets the absolute encoder parameters from the Real-Time Engines, and saves
them to file or to the Windows registry. These parameters include information on whether the absolute
encoder homing has ever been performed, and the absolute encoder home location.)
_____________________________________________________________________________________
3-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
To back up your current parameter settings, you must export two folders to two Windows files (as explained in
Section 4.2: Exporting Current Parameter Settings to Windows Files). [We recommend saving these files
somewhere other than your PC.]
To restore a set of parameters, you can import your desired parameter settings from these two Windows files (as
explained in Section 4.3: Importing Registry Settings to a PC from Windows Files).
You can also use your registry data files for quickly accessing parameter information, such as your password to
access Configure Mode (or Configuration Mode). Open a saved .reg file with any text editor (such as Notepad), and
you can search for "password" to get your password setting.
_____________________________________________________________________________________
4-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application
appear, as shown:
4) Click on the symbol next to "HKEY_CLASSES_ROOT"to see the drop-down list under
“HKEY_CLASSES_ROOT.” Then, with "HKEY_CLASSES_ROOT" selected, scroll all the way down to
the key named "ServoWorks" (as shown in the following window):
_____________________________________________________________________________________
4-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
5) Click on the symbol next to "ServoWorks" to see the drop-down list under “ServoWorks.” Then click on
the “GMC” key (as shown in the following window):
6) Select "Export" from the "File" pull-down menu, as shown in the following figure:
7) You will see an Export Registry File window appear, as shown in the following figure:
_____________________________________________________________________________________
4-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
8) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOT\ServoWorks\GMC” –
your location in the registry before you selected “Export.” Browse to the folder where you want to save
this registry settings file, set an arbitrary name for this file (or click on an existing file to overwrite), and
click the "OK" button. This .reg file will contain the current GMC parameter settings.
9) Now click on the relevant Windows application folder in the “ServoWorks” key:
• If you are using an SMP product, select the “SMP” folder, as shown in the following window:
_____________________________________________________________________________________
4-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
10) Select "Export" from the "File" pull-down menu, as shown in Figure 4-6.
11) You will see an Export Registry File window appear, as shown in the following figure:
_____________________________________________________________________________________
4-5
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
12) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOT\ServoWorks\SMP” in
this example – your location in the registry before you selected “Export.” Browse to the folder where you
want to save this registry settings file, set an arbitrary name for this file (or click on an existing file to
overwrite), and click the "OK" button. This .reg file will contain the current Windows application
parameter settings.
NOTE: In addition to backing up individual sub-keys such as the “GMC” and Windows application keys, you can
back up the entire “ServoWorks” key. However, this is not recommended if you are planning to import those
settings to another computer, because your ServoWorks CNC or SMP license information (contained in the
“Products” key) will be overwritten, and you will have to reregister your ServoWorks CNC or SMP product.
NOTE: If you are backing up the entire “ServoWorks” key from HKEY_CLASSES_ROOT (not recommended),
make a note of your ServoWorks CNC or SMP license code before beginning this procedure, as your license code
for your ServoWorks CNC or SMP product will be overwritten, and you will be required to reregister your
ServoWorks CNC or SMP product.
1) Copy the .reg file(s) with the desired registry settings to the target PC, in a location of your choice.
3) You will see the “Run” window appear, as shown in Figure 4-2.
4) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application
appear, as shown in Figure 4-3.
5) Click on the symbol next to"HKEY_CLASSES_ROOT" to see the drop-down list under
“HKEY_CLASSES_ROOT.” Then, with "HKEY_CLASSES_ROOT" selected, scroll all the way down
and select (click on) the key you are importing (i.e. “GMC,” “SMP,” “ServoWorks,” etc).
6) Select "Import" from the "File" pull-down menu, as shown in the following figure:
_____________________________________________________________________________________
4-6
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
7) You will see an Import Registry File window appear, as shown in the following figure:
8) Select the file with your parameter settings (you can only select one file at a time), then click the "OK"
button. You will see a window similar to the following appear:
_____________________________________________________________________________________
4-7
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
9) To import a second registry file, select "Import" from the "File" pull-down menu again, as shown in Figure
4-10. You will see the Import Registry File window appear again, as shown in Figure 4-11.
10) Select the second file with your parameter settings (you can only select one file at a time), then click the
"OK" button. You should see a message telling you the file was successfully entered into the registry,
similar to Figure 4-12.
To back up more than two registry files, keep repeating steps 9 and 10.
NOTE: If you are trying to create an identical control system with the same PC environment, you should first install
and register your ServoWorks CNC or SMP product, then import registry settings to overwrite the default settings.
If you import a registry file containing settings for the entire “ServoWorks” key, you will need to reregister your
product, as your license code will be overwritten. [Click on the "Registration" button in the ServoWorks CNC or
SMP installer and input your license code again.] To avoid this problem, instead of importing a registry file
containing settings for the entire “ServoWorks” key, import separate registry files for “GMC” and the relevant
Windows application folder under the “ServoWorks” key.
_____________________________________________________________________________________
4-8
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
You can change the current parameter settings for a ServoWorks CNC or SMP product back to the default parameter
settings with the following steps:
3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application
appear, as shown:
_____________________________________________________________________________________
5-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
4) Click on the symbol next to "HKEY_CLASSES_ROOT" to see the drop-down list under
“HKEY_CLASSES_ROOT.” Then, with "HKEY_CLASSES_ROOT" selected, scroll all the way down to
the key named "ServoWorks" (as shown in the following window):
5) Click on the symbol next to "ServoWorks" to see the drop-down list under “ServoWorks.” Then, select
(click on) the key named "GMC" (as shown in the following window):
_____________________________________________________________________________________
5-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
6) Delete the "GMC" key by pressing the “delete” key on your keyboard, or by selecting “Delete” from the
“Edit” pull-down menu, as shown:
7) You will see the following “Confirm Key Delete” button appear.
8) Click the “Yes” button to finalize the deletion of the “GMC” registry key.
_____________________________________________________________________________________
5-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
• If you are using an SMP product, select the “SMP” folder, as shown in the following window:
10) Delete the selected key by pressing the “delete” key on your keyboard, or by selecting “Delete” from the
“Edit” pull-down menu, as shown in Figure 5-6. You will see the “Confirm Key Delete” button appear as
shown in Figure 5-7. Click the “Yes” button to finalize the deletion of the selected registry key.
11) The next time when you run your ServoWorks CNC or SMP application, the default settings will be
restored automatically.
NOTE: In addition to deleting the GMC and Windows application folder subkeys, you can delete the entire
“ServoWorks” key. You will, however, need to reregister your ServoWorks CNC or SMP application, as you will
be deleting the “Products” key with your license code.
_____________________________________________________________________________________
5-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
Index
“ D
“CTR” registry sub folder.................................... 2-12 D data for PLC..................................................... 2-12
“DATA” registry sub folder ................................ 2-12 D edit button ........................................................ 2-12
“KEEP” registry sub folder ................................. 2-13 DATA.................................................................. 2-14
“Run” window ....................................................... 4-1 default program unit .............................................. 2-4
“SNK_PLC .......................................................... 2-15 default registry paths ............................................. 2-1
“SNK” Key.......................................................... 2-10 default settings................................................ 1-1, 5-1
“TMR” registry sub folder................................... 2-13 Default_Cutting_Lead ........................................... 2-4
Default_Program_Unit .......................................... 2-4
A DefaultProgramUnit .............................................. 2-4
Diagnose Utility..................See PLC Diagnose Utility
ABS_Encoder folder....................................... 2-2, 2-4 Dis_Enc_Rev......................................................... 2-5
AbsEnc_Home_Done ............................................ 2-4 DisPerEncRev........................................................ 2-5
AbsEnc_Home_Value ........................................... 2-4
Display............................................................ 2-8, 2-9
AbsEncHomeDone ................................................ 2-4 DISPLAY .............................................................. 2-8
AbsEncHomeValue ............................................... 2-4 distance per encoder revolution ............................. 2-5
absolute encoder parameters.................................. 3-1
Drive_Vel_Sensitivity ........................................... 2-7
accessing parameter information ........................... 4-1 DriveVelSensitivity ............................................... 2-7
accumulate handwheel pulse ................................. 2-4 dry run feedrate...................................................... 2-4
always search for home ......................................... 2-4
DryRun_Feedrate................................................... 2-4
Always_Search_Home .......................................... 2-4 DryRunFeedrate..................................................... 2-4
AlwaysSearchHome .............................................. 2-4 duplicating a control system .................................. 4-1
APIs for interacting with the registry .................... 3-1
ATC ....................................................................... 2-9
E
AXIS.................................................................... 2-14
axis type................................................................. 2-4 Edit Counter Window.......................................... 2-12
Axis_Type ............................................................. 2-4 Edit Data Table Screen ........................................ 2-12
AxisName .............................................................. 2-9 Edit Keep Relay Window .................................... 2-13
AxisType ............................................................... 2-4 Edit Timer Window ............................................. 2-13
enable handwheel .................................................. 2-4
B enable integer programming with machine unit .... 2-4
encoder polarity ..................................................... 2-7
backing up registry data......................................... 4-1 encoder resolution.................................................. 2-7
Backlash ................................................................ 2-4 encoder type........................................................... 2-7
backlash value ....................................................... 2-4 Encoder_Polarity ................................................... 2-7
Encoder_Resolution............................................... 2-7
C Encoder_Type........................................................ 2-7
C edit button ............................................... 2-11, 2-12 EncoderPolarity ..................................................... 2-7
Circle_Error_Limit ................................................ 2-4 EncoderResolution................................................. 2-7
Color............................................................... 2-8, 2-9 EncoderType.......................................................... 2-7
COLOR ........................................................ 2-8, 2-15 E-STOP type.......................................................... 2-5
Confirm Key Delete........................................ 5-3, 5-4 EStop_Type ........................................................... 2-5
Control Screen UtilitySee PLC Control Screen Utility EstopType.............................................................. 2-5
counters for PLC.................................................. 2-12 exporting current parameter settings to Windows
creating an identical control system....................... 4-1 Files ................................................................... 4-1
CTR ..................................................................... 2-14 exporting registry data ........................................... 4-1
CTR counter functional command....................... 2-12 exporting settings in your system registry ............. 1-1
CTRC counter functional command .................... 2-12
CylIntAxis ............................................................. 2-9 F
FeedDn_EDM........................................................ 2-4
_____________________________________________________________________________________
I
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
II
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
Messenger.............................................................. 2-9 P
minimum resolution............................................... 2-5
PAGE01............................................................... 2-14
minus stroke........................................................... 2-4
parameter default settings ...................................... 1-1
Minus_Stroke ........................................................ 2-4
parameters
MinusStroke .......................................................... 2-4
program.............................................................. 2-2
modifying settings in your system registry............ 1-1
parameters, absolute encoder................................. 3-1
motor polarity ........................................................ 2-7
Password................................................................ 2-8
Motor_Polarity ...................................................... 2-7
paths....................................................................... 2-1
Motor_Type........................................................... 2-7
peak velocity.......................................................... 2-7
MotorPolarity ........................................................ 2-7
Peak_Velocity........................................................ 2-7
PeakVelocity.......................................................... 2-7
N
PermanentMacroVar....................................... 2-8, 2-9
NC_Param folder............................................ 2-2, 2-4 PICTURE .............................................................. 2-8
No_Of_DC120 ...................................................... 2-4 pitch interval.......................................................... 2-5
No_Of_IM200 ....................................................... 2-4 pitch origin............................................................. 2-5
NoOfDC_Modules................................................. 2-4 Pitch_Interval ........................................................ 2-5
NoOfIM_Modules ................................................. 2-4 Pitch_Origin .......................................................... 2-5
Notch_Filter1_d1................................................... 2-5 PitchInterval .......................................................... 2-5
Notch_Filter1_d2................................................... 2-5 PitchOrigin ............................................................ 2-5
Notch_Filter1_Enable............................................ 2-6 PLC............................................................. 2-10, 2-15
Notch_Filter1_n1................................................... 2-6 PLC Control Screen utility .................................. 2-11
Notch_Filter1_n2................................................... 2-6 PLC Control Screen Utility ................................. 2-10
Notch_Filter2_d1................................................... 2-6 PLC Diagnose Utility .......................................... 2-15
Notch_Filter2_d2................................................... 2-6 PLC Diagnose Utility .......................................... 2-15
Notch_Filter2_Enable............................................ 2-6 PLC Edit Data Table Screen................................ 2-12
Notch_Filter2_n1................................................... 2-6 Plot.................................................................. 2-8, 2-9
Notch_Filter2_n2................................................... 2-6 plus stroke.............................................................. 2-5
Notch_Filter3_d1................................................... 2-6 Plus_Stroke............................................................ 2-5
Notch_Filter3_d2................................................... 2-6 PlusStroke.............................................................. 2-5
Notch_Filter3_Enable............................................ 2-6 Pos_iEnable ........................................................... 2-6
Notch_Filter3_n1................................................... 2-6 Pos_iSaturation...................................................... 2-6
Notch_Filter3_n2................................................... 2-6 Pos_iTimeConst .................................................... 2-6
Notch_Filter4_d1................................................... 2-6 Pos_pGain.............................................................. 2-6
Notch_Filter4_d2................................................... 2-6 position loop gain .................................................. 2-6
Notch_Filter4_Enable............................................ 2-6 position loop integral control enable ..................... 2-6
Notch_Filter4_n1................................................... 2-6 position loop integral saturation ............................ 2-6
Notch_Filter4_n2................................................... 2-6 position loop integral time constant....................... 2-6
number of DC modules.......................................... 2-4 PosLoopGain ......................................................... 2-6
number of IM modules .......................................... 2-4 PosLoopIntEnable ................................................. 2-6
PosLoopIntSaturation ............................................ 2-6
O PosLoopIntTimeConst........................................... 2-6
PowerCntl_EDM ................................................... 2-5
over position error protection limit – moving........ 2-6 product version ...................................................... 2-3
over position error protection limit – stopped........ 2-6 Product_Version .................................................... 2-5
over position error sync limit – moving................. 2-5 Products folder................................................ 2-3, 2-8
over position error sync limit – stopped ................ 2-5 PROGRAM ........................................................... 2-8
Over_PosErr_Limit_Moving................................. 2-6 program data.......................................................... 2-2
Over_PosErr_Limit_Stopped ................................ 2-6 program parameters ............................................... 2-2
OverPosErrServoOffLimit_Moving ...................... 2-6
OverPosErrServoOffLimit_Stopped...................... 2-6
R
OverPosErrSynLimit_Rpd..................................... 2-5
OverPosErrSynLimit_Stp ...................................... 2-5 rapid feed type ....................................................... 2-5
overwriting registry settings .................................. 4-6 rapid feedrate ......................................................... 2-5
Rapid_Feed_Type.................................................. 2-5
Rapid_Feedrate...................................................... 2-5
Rapid_Feedrate_Zero ............................................ 2-5
_____________________________________________________________________________________
III
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
IV
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
V W
velocity feedforward enable .................................. 2-6 warning regarding registry editing......................... 1-1
velocity feedforward percentage............................ 2-6 WINDOW............................................................ 2-15
VelocityFF_Enable................................................ 2-6 Windows Registry, definition................................ 1-1
VelocityFF_Pct...................................................... 2-6 WORKCOORDINATE .................................. 2-8, 2-9
VelocityFFEnable.................................................. 2-6 WorkpieceOffset............................................. 2-8, 2-9
VelocityFFPct........................................................ 2-6
version, product ..................................................... 2-3 Z
viewing settings in your system registry................ 1-1
Z_Dir_EDM .......................................................... 2-5
Z_Spd_EDM.......................................................... 2-5
_____________________________________________________________________________________
V