SlideShare a Scribd company logo
1 of 39
Download to read offline
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
_____________________________________________________________________________________
i
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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Warning / Important Notice
_____________________________________________________________________________________
ii
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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents
_____________________________________________________________________________________
iii
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_ROOTServoWorks” Key............................................................. 2-1
2.3.1 Folder Structure of the “HKEY_CLASSES_ROOTServoWorks” 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_ROOTSNK” Key ...................................................................... 2-10
2.4.1 Overview of the “HKEY_CLASSES_ROOTSNK” 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_USERSNKSNK_PLC” Key ................................................... 2-15
2.5.1 Overview of the “HKEY_CURRENT_USERSNKSNK_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_USERSNK 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
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents
_____________________________________________________________________________________
iv
List of Tables
Table 2-1: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (1 of 4)................ 2-4
Table 2-2: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (2 of 4)................ 2-5
Table 2-3: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (3 of 4)................ 2-6
Table 2-4: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (4 of 4)................ 2-7
Table 2-5: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks
CNC and SMP Products (1 of 2) ....................................................................................................................... 2-8
Table 2-6: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks
CNC and SMP Products (2 of 2) ....................................................................................................................... 2-9
Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products.................. 2-14
Table 2-8: Summary of HKEY_CURRENT_USERSNK Folder, SNK_PLC Key Registry Information for
LadderWorks PLC........................................................................................................................................... 2-15
List of Figures
Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOTServoWorks” 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_USERSNKSNK_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
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 1: Windows Registry and Registry Editor
_____________________________________________________________________________________
1-1
Chapter 1: Windows Registry and Registry Editor
1.1 What is the Windows Registry?
The Windows registry is a database repository for information about a computer’s configuration. The registry
contains information that Windows continually references during operation, such as:
• Profiles for each user.
• The programs installed on the computer and the types of documents each can create.
• Property settings for folders and program icons.
• What hardware exists on the system.
• Which ports are being used.
The registry is organized hierarchically as a tree and is made up of keys and their subkeys, hives, and value entries.
1.2 What is the Registry Editor?
The Registry Editor is an advanced tool (included with your Windows operating system) for viewing, changing,
inspecting and modifying settings in your system registry.
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.
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.
INCORRECTLY EDITING THE REGISTRY MAY SEVERELY
DAMAGE YOUR SYSTEM.
CAUTION
!
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-1
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.
If you are not developing a customized ServoWorks CNC or SMP application, you should skip this chapter.
2.2 Default Registry Paths
Data for ServoWorks CNC and SMP products, including LadderWorks PLC, is stored in two different predefined
keys: the HKEY_CLASSES_ROOT folder and the HKEY_CURRENT_USER folder. Within the
HKEY_CLASSES_ROOT folder, there are two different keys: the “ServoWorks” key and the “SNK” key.
The default registry path for all ServoWorks CNC and SMP products is:
My ComputerHKEY_CLASSES_ROOTServoWorks
The default registry paths for all LadderWorks PLC parameters are:
My ComputerHKEY_CLASSES_ROOTSNK
My ComputerHKEY_CURRENT_USERSNKSNK_PLC
2.3 Registry Data in the “HKEY_CLASSES_ROOTServoWorks” Key
2.3.1 Folder Structure of the “HKEY_CLASSES_ROOTServoWorks” Key
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:
UNDER NO CIRCUMSTANCES SHOULD REGISTRY ENTRIES BE
MODIFIED DIRECTLY.
All parameters should be modified by using a ServoWorks CNC or SMP application
(Configure Mode or Configuration Mode in ServoWorks CNC products, and the
Parameters window in the SMP Console and ServoWorks MotionLite) to change
parameter values, which in turn updates the registry automatically.
CAUTION
!
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-2
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
2) Windows HMI Applications
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 ComputerHKEY_CLASSES_ROOTServoWorksS100M” – sub folders include:
a) ATC
b) AxisName
c) Color
d) Display
e) MacroVar
f) PitchErr
g) Plot
h) ToolOffset
i) WorkpieceOffset
The format of this “GMC” folder is predetermined and SHOULD NOT BE
CHANGED. We strongly caution against manually modifying this folder in any way.
CAUTION
!
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-3
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:
Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOTServoWorks” Subkeys
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-4
2.3.2 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder,
ServoWorks Key
Sub Folder Value Entry Name
Corresponding
Parameter Name*
Corresponding Variable
Name in SDK
Reserved Reserved
AbsEnc_Home_Value AbsEncHomeValue
ABS_Encoder
AbsEnc_Home_Done AbsEncHomeDone
Always_Search_Home Always Search for Home AlwaysSearchHome
Axis_Type Axis Type AxisType
Backlash Backlash Value Backlash
Circle_Error_Limit Reserved
Default_Cutting_Lead Reserved
Default_Program_Unit Unit / Default Program Unit DefaultProgramUnit
DryRun_Feedrate Dry Run Feedrate DryRunFeedrate
FeedDn_EDM Reserved
FeedUp_EDM Reserved
HandWheel_Pulse_Accum
Accumulate HandWheel Pulse
(HandWheel Pulse
Accumulation)
HandwheelPulseAccumulation
HandWheel_Type
Enable HandWheel /
HandWheel Type
HandwheelType
Home_Direction Home Direction HomeDirection
Home_Reverse_Distance Home Reverse Distance HomeReverseDistance
Home_Reverse_Dwell_Time Home Reverse Dwell Time HomeReverseDwellTime
Home_Shift Home Shift HomeShift
Home_Speed Grid Search Speed HomeSpeed
Home_Switch_Search_Speed Home Switch Search Speed HomeSwitchSearchSpeed
Home_Switch_Type Home Switch Type HomeSwitchType
Home_Timeout Reserved
Home_Type Home Type HomeType
Int_Prog_Enable
Enable Integer Programming
with Machine Unit
IntProgEnable
Jog_Feedrate Jog Feedrate JogFeedrate
LengthDn_EDM Reserved
LengthUp_EDM Reserved
Linear_Scale_On Reserved
Max_AccDec_Rate
Maximum Acceleration/
Deceleration Rate
MaxAccDecRate
Minus_Stroke Minus Stroke MinusStroke
No_Of_DC120 Number of DC Modules NoOfDC_Modules
NC_Param
No_Of_IM200 Number of IM Modules NoOfIM_Modules
Table 2-1: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (1 of 4)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-5
Sub Folder Value Entry Name
Corresponding
Parameter Name*
Corresponding Variable
Name in SDK
OverPosErrSynLimit_Rpd
Over Position Error Sync Limit
– Moving
OverPosErrSynLimit_Rpd
OverPosErrSynLimit_Stp
Over Position Error Sync Limit
– Stopped
OverPosErrSynLimit_Stp
Pitch_Interval Pitch Interval PitchInterval
Pitch_Origin Pitch Origin PitchOrigin
Plus_Stroke Plus Stroke PlusStroke
PowerCntl_EDM Reserved
Product_Version Reserved
Rapid_Feed_Type
G00 Perform Linear
Interpolation
(Rapid Feed Type)
RapidFeedType
Rapid_Feedrate Rapid Feedrate RapidFeedrate
Rapid_Feedrate_Zero Reserved
Ref_Point_2 Reference Position #2 RefPoint_2
Ref_Point_3 Reference Position #3 RefPoint_3
Ref_Point_4 Reference Position #4 RefPoint_4
Reserved Reserved
Retract_Vector Retract Vector RetractVector
Rpd_Linear_Feed Reserved
Rpd_Linear_Feed_Zero Reserved
Set_Point Reserved
Shift_Direction Shift Direction ShiftDirection
SynAssociatedToAxis Sync Master Axis SynAssociatedToAxis
SynControlRes1 Reserved
SynControlRes2 Reserved
SynSlaveCompGain
Sync Slave Axis
Compensation Gain
SynSlaveCompGain
TimeOver_EDM Reserved
Z_Dir_EDM Reserved
Z_Spd_EDM Reserved
Dis_Enc_Rev
Distance Per Encoder
Revolution
DisPerEncRev
EStop_Type E-STOP Type EStopType
In_Position_Val In Position Width InPositionWidth
Limit_Switch_Action Hard Limit Switch Action LimitSwitchAction
Limit_Switch_Type Limit Switch Type LimitSwitchType
Machine_Unit
Machine Unit (Minimum
Resolution)
MachineUnit
Notch_Filter1_d1 Reserved
Servo_Control_Param
Notch_Filter1_d2 Reserved
Table 2-2: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (2 of 4)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-6
Sub Folder Value Entry Name
Corresponding
Parameter Name*
Corresponding Variable
Name in SDK
Notch_Filter1_Enable Reserved
Notch_Filter1_n1 Reserved
Notch_Filter1_n2 Reserved
Notch_Filter2_d1 Reserved
Notch_Filter2_d2 Reserved
Notch_Filter2_Enable Reserved
Notch_Filter2_n1 Reserved
Notch_Filter2_n2 Reserved
Notch_Filter3_d1 Reserved
Notch_Filter3_d2 Reserved
Notch_Filter3_Enable Reserved
Notch_Filter3_n1 Reserved
Notch_Filter3_n2 Reserved
Notch_Filter4_d1 Reserved
Notch_Filter4_d2 Reserved
Notch_Filter4_Enable Reserved
Notch_Filter4_n1 Reserved
Notch_Filter4_n2 Reserved
Over_PosErr_Limit_Moving
Over Position Error Protection
Limit – Moving
OverPosErrServoOffLimit_Mo
ving
Over_PosErr_Limit_Stopped
Over Position Error Protection
Limit – Stopped
OverPosErrServoOffLimit_Sto
pped
Pos_iEnable
Position Loop Integral Control
Enable
PosLoopIntEnable
Pos_iSaturation
Position Loop Integral
Saturation
PosLoopIntSaturation
Pos_iTimeConst
Position Loop Integral Time
Constant
PosLoopIntTimeConst
Pos_pGain Position Loop Gain PosLoopGain
Reserved Reserved
Smoothing_Mode_Cutting Smoothing Mode – Cutting SmoothingMode_Cutting
Smoothing_Mode_Manual Smoothing Mode – Manual SmoothingMode_Manual
Smoothing_Mode_Rapid Smoothing Mode – Rapid SmoothingMode_Rapid
Smoothing_Time_Cutting Smoothing Time – Cutting
SmoothingTime_Regular_Cutt
ing
Smoothing_Time_Look_Ahead Look Ahead Smoothing Time SmoothingTime_LookAhead
Smoothing_Time_Manual Smoothing Time – Manual
SmoothingTime_Regular_Ma
nual
Smoothing_Time_Rapid Smoothing Time – Rapid
SmoothingTime_Regular_Rap
id
VelocityFF_Enable Velocity Feedforward Enable VelocityFFEnable
Servo_Control_Param
(continued)
VelocityFF_Pct
Velocity Feedforward
Percentage
VelocityFFpct
Table 2-3: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (3 of 4)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-7
Sub Folder Value Entry Name
Corresponding
Parameter Name*
Corresponding Variable
Name in SDK
Drive_Vel_Sensitivity
Servo Drive Velocity
Sensitivity
DriveVelSensitivity
Encoder_Polarity Encoder Polarity EncoderPolarity
Encoder_Resolution Encoder Resolution EncoderResolution
Encoder_Type Encoder Type EncoderType
Motor_Polarity Motor Polarity MotorPolarity
Motor_Type Reserved
Peak_Velocity Peak Velocity PeakVelocity
Rated_Velocity Rated Velocity RatedVelocity
Reserved Reserved
Servo_Drive_Param
Stepper_Resolution Reserved
Table 2-4: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (4 of 4)
* 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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-8
Subkey Parameter Type Sub Folders Sub Subfolders
GMC System Settings See tables, previous pages
COLOR
DISPLAY
FEEDRATE
HANDWHEEL
HOME
MACHINEERROR
MCODE
Password
PICTURE
PROGRAM
SAFEZONE
SERVOCONTROL
SMOOTHFILTER
SPINDLE_GENERAL
TOOLOFFSET
Lathe Program Settings
WORKCOORDINATE
Color
Display
Home
MacroVar PermanentMacroVar
Plot
ToolOffset
MC_QUAD Program Settings
WorkpieceOffset
Products Version/License
Table 2-5: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all
ServoWorks CNC and SMP Products (1 of 2)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-9
Subkey Parameter Type Sub Folders Sub Subfolders
ATC
AxisName
Color
Display
MacroVar PermanentMacroVar
Plot
ToolOffset
S100M Program Settings
WorkpieceOffset
ATC
AxisName
Color
Display
MacroVar PermanentMacroVar
Plot
ToolOffset
S120M Program Settings
WorkpieceOffset
ATC
AxisName
Color
Display
MacroVar PermanentMacroVar
Plot
ToolOffset
S140M Program Settings
WorkpieceOffset
CylIntAxis
Display
GapSensor
Messenger
SMP Program Settings
WORKCOORDINATE
Table 2-6: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all
ServoWorks CNC and SMP Products (2 of 2)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-10
2.4 Registry Data in the “HKEY_CLASSES_ROOTSNK” Key
2.4.1 Overview of the “HKEY_CLASSES_ROOTSNK” Key
Registry data in the “HKEY_CLASSES_ROOTSNK” key is used to store information relevant to the PLC Control
Screen Utility included with LadderWorks PLC.
A typical screen shot of the “SNK” key in HKEY_CLASSES_ROOT follows:
Figure 2-2: Registry Editor Window Showing “SNK” Subkeys
Four of the subkeys in the “SNK_PLC” folder relate directly to values set with the PLC Control Screen Utility.
2.4.2 The PLC Control Screen Utility
To access the PLC Control Screen Utility, double click on the file in C:SwPLCUtility.
If the status of ladder logic is “RUN,” you will see the PLC Control Screen window shown in the following figure:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-11
Figure 2-3: PLC Control Screen Window for “RUN” Status
If the status of ladder logic is “STOP,” you will see the PLC Control Screen window shown in the following figure:
Figure 2-4: PLC Control Screen Window for “STOP” Status
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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-12
2.4.3 Counters for PLC
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:
Figure 2-5: Edit Counter Window
2.4.4 D Data for PLC
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:
Figure 2-6: PLC Edit Data Table Screen
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-13
2.4.5 Keep Relays for PLC
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:
Figure 2-7: Edit Keep Relay Window
2.4.6 Timers for PLC
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:
Figure 2-8: Edit Timer Window
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-14
2.4.7 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder,
SNK Key
Subkey Parameter Type Sub Folders Sub Subfolders Notes
AXIS PLC Settings n/a Not used
MESSAGE PLC Settings TABLE Not used
DATA
PAGE01
PAGE02
PAGE03
PAGE04
CTR
PAGE05
See Figure 2-5
DATA
PAGE01
DATA
PAGE02
See Figure 2-6
PAGE01
PAGE02
PAGE03
I/O
PAGE04
DATA
PAGE01
.
.
KEEP
PAGE100
See Figure 2-7
PAGE01
.
.
RELAY
PAGE39
DATA
PAGE01
.
.
SLINKT
PAGE17
Not used
DATA
PAGE01
.
.
SNK_PLC PLC Settings
TMR
PAGE10
See Figure 2-8
Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data
_____________________________________________________________________________________
2-15
2.5 Registry Data in the “HKEY_CURRENT_USERSNKSNK_PLC” Key
2.5.1 Overview of the “HKEY_CURRENT_USERSNKSNK_PLC” Key
Registry data in the “HKEY_CURRENT_USERSNKSNK_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_USERSNK folder follows:
Figure 2-9: Registry Editor Window Showing “HKEY_CURRENT_USERSNKSNK_PLC” Subkeys
2.5.2 The PLC Diagnose Utility
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.]
2.5.3 LadderWorks Console
LadderWorks Console is a Win32 application for creating, editing, monitoring, debugging and compiling PLC
ladder diagram (LD) sequence programs.
2.5.4 Summary of Relevant Registry Information in the HKEY_CURRENT_USERSNK
Folder, SNK_PLC Key
Subkey Parameter Type Sub Folders
COLOR
SEARCH
SNK_PLC_DIAGNOSE
PLC Diagnose Utility
Settings
WINDOW
SW_PLC_EDITOR
LadderWorks Console
Settings
INSATLL_PATH
Table 2-8: Summary of HKEY_CURRENT_USERSNK Folder, SNK_PLC Key Registry Information for
LadderWorks PLC
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 3: APIs for Interacting with the Registry
_____________________________________________________________________________________
3-1
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.)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-1
Chapter 4: Backing Up and Restoring Registry Data
4.1 Uses for Backing Up and Restoring Registry Data
All current software settings are contained in the Windows registry. Therefore, when you have completed your
installation, setup and integration for any ServoWorks CNC or SMP product (especially the important process of
tuning your system), we highly recommend that you back up the GMC and Windows application folders in the
HKEY_CLASSES_ROOTServoWorks key of the Windows registry. This will save you time and money if you
need to recreate your optimized software environment for any reason. This is also useful for creating an identical
control system with a new PC.
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.2 Exporting Current Parameter Settings to Windows Files
The following steps will guide you in saving your current parameter settings to two files:
1) From the Windows “Start” menu, go to “Run…” as shown:
Figure 4-1: Start Menu Selection Showing “Run…”
2) You will see the “Run” window appear, as shown:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-2
Figure 4-2: Run Window
3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application
appear, as shown:
Figure 4-3: Main Registry Editor Window
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):
Figure 4-4: Registry Editor Window with “ServoWorks” Selected
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-3
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):
Figure 4-5: Registry Editor Window with “GMC” Selected
6) Select "Export" from the "File" pull-down menu, as shown in the following figure:
Figure 4-6: Registry Editor Window – File Pull Down Menu
7) You will see an Export Registry File window appear, as shown in the following figure:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-4
Figure 4-7: Export Registry File Window (1 of 2)
8) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOTServoWorksGMC” –
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 ServoWorks S-100M, select the “S100M” folder.
• If you are using ServoWorks S-120M, select the “S120M” folder.
• If you are using ServoWorks S-140M, select the “S140M” folder.
• If you are using ServoWorks MC-Quad, select the “MC_QUAD” folder.
• If you are using ServoWorks S-100T, select the “Lathe” folder.
• If you are using an SMP product, select the “SMP” folder, as shown in the following window:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-5
Figure 4-8: Registry Editor Window with “SMP” Selected
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:
Figure 4-9: Export Registry File Window (2 of 2)
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-6
12) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOTServoWorksSMP” 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.
Your registry settings are now backed up.
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.
4.3 Importing Registry Settings to a PC from Windows Files
The following steps will guide you in importing a set of registry settings to a PC (either the same PC from which the
registry settings were backed up, or a different PC). You must first have saved your desired parameter settings to
one or more files, as shown in the previous section, Section 4.2 Exporting Current Parameter Settings to Windows
Files.
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.
2) From the Windows “Start” menu, go to “Run…” as shown in Figure 4-1.
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:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-7
Figure 4-10: Registry Editor Window – File Pull Down Menu
7) You will see an Import Registry File window appear, as shown in the following figure:
Figure 4-11: Import Registry File Window
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:
Figure 4-12: Registry Editor Dialog Box – Importing Success Message
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data
_____________________________________________________________________________________
4-8
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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
_____________________________________________________________________________________
5-1
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:
1) From the Windows “Start” menu, go to “Run…” as shown:
Figure 5-1: Start Menu Selection Showing “Run…”
2) You will see the “Run” window appear, as shown:
Figure 5-2: Run Window
3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application
appear, as shown:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
_____________________________________________________________________________________
5-2
Figure 5-3: Main Registry Editor Window
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):
Figure 5-4: Registry Editor Window with “ServoWorks” Selected
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):
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
_____________________________________________________________________________________
5-3
Figure 5-5: Registry Editor Window with “GMC” Selected
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:
Figure 5-6: Registry Editor Window – Edit Pull Down Menu
7) You will see the following “Confirm Key Delete” button appear.
Figure 5-7: Confirm Delete Key Dialog Box
8) Click the “Yes” button to finalize the deletion of the “GMC” registry key.
9) Now click on the relevant Windows application folder:
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings
_____________________________________________________________________________________
5-4
• If you are using ServoWorks S-100M, select the “S100M” folder.
• If you are using ServoWorks S-120M, select the “S120M” folder.
• If you are using ServoWorks S-140M, select the “S140M” folder.
• If you are using ServoWorks MC-Quad, select the “MC_QUAD” folder.
• If you are using ServoWorks S-100T, select the “Lathe” folder.
• If you are using an SMP product, select the “SMP” folder, as shown in the following window:
Figure 5-8: Registry Editor Window with “SMP” Selected
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.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
I
Index
“
“CTR” registry sub folder.................................... 2-12
“DATA” registry sub folder ................................ 2-12
“KEEP” registry sub folder ................................. 2-13
“Run” window....................................................... 4-1
“SNK_PLC.......................................................... 2-15
“SNK” Key.......................................................... 2-10
“TMR” registry sub folder................................... 2-13
A
ABS_Encoder folder.......................................2-2, 2-4
AbsEnc_Home_Done............................................ 2-4
AbsEnc_Home_Value ........................................... 2-4
AbsEncHomeDone................................................ 2-4
AbsEncHomeValue ............................................... 2-4
absolute encoder parameters.................................. 3-1
accessing parameter information ........................... 4-1
accumulate handwheel pulse ................................. 2-4
always search for home ......................................... 2-4
Always_Search_Home .......................................... 2-4
AlwaysSearchHome .............................................. 2-4
APIs for interacting with the registry .................... 3-1
ATC....................................................................... 2-9
AXIS.................................................................... 2-14
axis type................................................................. 2-4
Axis_Type ............................................................. 2-4
AxisName.............................................................. 2-9
AxisType ............................................................... 2-4
B
backing up registry data......................................... 4-1
Backlash ................................................................ 2-4
backlash value ....................................................... 2-4
C
C edit button ...............................................2-11, 2-12
Circle_Error_Limit................................................ 2-4
Color...............................................................2-8, 2-9
COLOR ........................................................2-8, 2-15
Confirm Key Delete........................................5-3, 5-4
Control Screen UtilitySee PLC Control Screen Utility
counters for PLC.................................................. 2-12
creating an identical control system....................... 4-1
CTR ..................................................................... 2-14
CTR counter functional command....................... 2-12
CTRC counter functional command.................... 2-12
CylIntAxis ............................................................. 2-9
D
D data for PLC..................................................... 2-12
D edit button........................................................ 2-12
DATA.................................................................. 2-14
default program unit .............................................. 2-4
default registry paths ............................................. 2-1
default settings................................................1-1, 5-1
Default_Cutting_Lead ........................................... 2-4
Default_Program_Unit .......................................... 2-4
DefaultProgramUnit .............................................. 2-4
Diagnose Utility..................See PLC Diagnose Utility
Dis_Enc_Rev......................................................... 2-5
DisPerEncRev........................................................ 2-5
Display............................................................2-8, 2-9
DISPLAY .............................................................. 2-8
distance per encoder revolution............................. 2-5
Drive_Vel_Sensitivity ........................................... 2-7
DriveVelSensitivity ............................................... 2-7
dry run feedrate...................................................... 2-4
DryRun_Feedrate................................................... 2-4
DryRunFeedrate..................................................... 2-4
duplicating a control system.................................. 4-1
E
Edit Counter Window.......................................... 2-12
Edit Data Table Screen........................................ 2-12
Edit Keep Relay Window.................................... 2-13
Edit Timer Window............................................. 2-13
enable handwheel .................................................. 2-4
enable integer programming with machine unit .... 2-4
encoder polarity..................................................... 2-7
encoder resolution.................................................. 2-7
encoder type........................................................... 2-7
Encoder_Polarity ................................................... 2-7
Encoder_Resolution............................................... 2-7
Encoder_Type........................................................ 2-7
EncoderPolarity ..................................................... 2-7
EncoderResolution................................................. 2-7
EncoderType.......................................................... 2-7
E-STOP type.......................................................... 2-5
EStop_Type........................................................... 2-5
EstopType.............................................................. 2-5
exporting current parameter settings to Windows
Files ................................................................... 4-1
exporting registry data........................................... 4-1
exporting settings in your system registry ............. 1-1
F
FeedDn_EDM........................................................ 2-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
II
FEEDRATE........................................................... 2-8
FeedUp_EDM........................................................ 2-4
G
G00 perform linear interpolation........................... 2-5
GapSensor.............................................................. 2-9
GMC...................................................................... 4-3
GMC folder ....................................................2-2, 2-8
grid search speed ................................................... 2-4
H
HANDWHEEL...................................................... 2-8
handwheel pulse accumulation.............................. 2-4
handwheel type...................................................... 2-4
HandWheel_Pulse_Accum.................................... 2-4
HandWheel_Type.................................................. 2-4
HandwheelPulseAccumulation.............................. 2-4
HandwheelType..................................................... 2-4
hard limit switch action ......................................... 2-5
HKEY_CLASSES_ROOT .................................. 2-10
HKEY_CLASSES_ROOT folder.......................... 2-1
HKEY_CURRENT_USER ................................. 2-15
HKEY_CURRENT_USER folder......................... 2-1
HKEY_CURRENT_USERSNK ........................ 2-15
Home ..................................................................... 2-8
HOME ................................................................... 2-8
home direction....................................................... 2-4
home reverse distance............................................ 2-4
home reverse dwell Time....................................... 2-4
home shift.............................................................. 2-4
home speed............................................................ 2-4
home switch search speed...................................... 2-4
home switch type................................................... 2-4
home type .............................................................. 2-4
Home_Direction .................................................... 2-4
Home_Reverse_Distance....................................... 2-4
Home_Reverse_Dwell_Time ................................ 2-4
Home_Shift............................................................ 2-4
Home_Speed.......................................................... 2-4
Home_Switch_Search_Speed................................ 2-4
Home_Switch_Type.............................................. 2-4
Home_Timeout...................................................... 2-4
Home_Type........................................................... 2-4
HomeDirection ...................................................... 2-4
HomeReverseDistance........................................... 2-4
HomeReverseDwellTime ...................................... 2-4
HomeShift.............................................................. 2-4
HomeSpeed............................................................ 2-4
HomeSwitchSearchSpeed...................................... 2-4
HomeSwitchType.................................................. 2-4
HomeType............................................................. 2-4
I
I/O........................................................................ 2-14
identical control system......................................... 4-1
importing registry data........................................... 4-1
importing registry settings to a PC from Windows
files .................................................................... 4-6
importing settings in your system registry............. 1-1
in position width.................................................... 2-5
In_Position_Val..................................................... 2-5
InPositionWidth..................................................... 2-5
INSATLL_PATH................................................ 2-15
installer .................................................................. 2-3
Int_Prog_Enable.................................................... 2-4
integer programming with machine unit enable .... 2-4
IntProgEnable........................................................ 2-4
J
jog feedrate............................................................ 2-4
Jog_Feedrate.......................................................... 2-4
JogFeedrate............................................................ 2-4
K
K edit button...............................................2-11, 2-13
KEEP................................................................... 2-14
keep relays for PLC............................................. 2-13
keys........................................................................ 1-1
L
LadderWorks Console......................................... 2-15
LadderWorks PLC......................................2-10, 2-15
Lathe folder ........................................................... 2-8
legacy software products ..................................... 2-15
LengthDn_EDM.................................................... 2-4
LengthUp_EDM.................................................... 2-4
license code ........................................................... 2-3
limit switch type .................................................... 2-5
Limit_Switch_Action ............................................ 2-5
Limit_Switch_Type............................................... 2-5
LimitSwitchAction ................................................ 2-5
LimitSwitchType................................................... 2-5
Linear_Scale_On ................................................... 2-4
look ahead smoothing time.................................... 2-6
M
machine unit .......................................................... 2-5
Machine_Unit........................................................ 2-5
MACHINEERROR ............................................... 2-8
MachineUnit.......................................................... 2-5
MacroVar........................................................2-8, 2-9
Max_AccDec_Rate................................................ 2-4
MaxAccDecRate.................................................... 2-4
maximum acceleration/deceleration rate ............... 2-4
MC_QUAD folder................................................. 2-8
MCODE................................................................. 2-8
MDK...................................................................... 2-1
MESSAGE .......................................................... 2-14
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
III
Messenger.............................................................. 2-9
minimum resolution............................................... 2-5
minus stroke........................................................... 2-4
Minus_Stroke ........................................................ 2-4
MinusStroke .......................................................... 2-4
modifying settings in your system registry............ 1-1
motor polarity ........................................................ 2-7
Motor_Polarity ...................................................... 2-7
Motor_Type........................................................... 2-7
MotorPolarity ........................................................ 2-7
N
NC_Param folder............................................2-2, 2-4
No_Of_DC120 ...................................................... 2-4
No_Of_IM200 ....................................................... 2-4
NoOfDC_Modules................................................. 2-4
NoOfIM_Modules ................................................. 2-4
Notch_Filter1_d1................................................... 2-5
Notch_Filter1_d2................................................... 2-5
Notch_Filter1_Enable............................................ 2-6
Notch_Filter1_n1................................................... 2-6
Notch_Filter1_n2................................................... 2-6
Notch_Filter2_d1................................................... 2-6
Notch_Filter2_d2................................................... 2-6
Notch_Filter2_Enable............................................ 2-6
Notch_Filter2_n1................................................... 2-6
Notch_Filter2_n2................................................... 2-6
Notch_Filter3_d1................................................... 2-6
Notch_Filter3_d2................................................... 2-6
Notch_Filter3_Enable............................................ 2-6
Notch_Filter3_n1................................................... 2-6
Notch_Filter3_n2................................................... 2-6
Notch_Filter4_d1................................................... 2-6
Notch_Filter4_d2................................................... 2-6
Notch_Filter4_Enable............................................ 2-6
Notch_Filter4_n1................................................... 2-6
Notch_Filter4_n2................................................... 2-6
number of DC modules.......................................... 2-4
number of IM modules .......................................... 2-4
O
over position error protection limit – moving........ 2-6
over position error protection limit – stopped........ 2-6
over position error sync limit – moving................. 2-5
over position error sync limit – stopped ................ 2-5
Over_PosErr_Limit_Moving................................. 2-6
Over_PosErr_Limit_Stopped ................................ 2-6
OverPosErrServoOffLimit_Moving...................... 2-6
OverPosErrServoOffLimit_Stopped...................... 2-6
OverPosErrSynLimit_Rpd..................................... 2-5
OverPosErrSynLimit_Stp...................................... 2-5
overwriting registry settings .................................. 4-6
P
PAGE01............................................................... 2-14
parameter default settings...................................... 1-1
parameters
program.............................................................. 2-2
parameters, absolute encoder................................. 3-1
Password................................................................ 2-8
paths....................................................................... 2-1
peak velocity.......................................................... 2-7
Peak_Velocity........................................................ 2-7
PeakVelocity.......................................................... 2-7
PermanentMacroVar.......................................2-8, 2-9
PICTURE .............................................................. 2-8
pitch interval.......................................................... 2-5
pitch origin............................................................. 2-5
Pitch_Interval ........................................................ 2-5
Pitch_Origin .......................................................... 2-5
PitchInterval .......................................................... 2-5
PitchOrigin ............................................................ 2-5
PLC.............................................................2-10, 2-15
PLC Control Screen utility .................................. 2-11
PLC Control Screen Utility ................................. 2-10
PLC Diagnose Utility .......................................... 2-15
PLC Diagnose Utility .......................................... 2-15
PLC Edit Data Table Screen................................ 2-12
Plot..................................................................2-8, 2-9
plus stroke.............................................................. 2-5
Plus_Stroke............................................................ 2-5
PlusStroke.............................................................. 2-5
Pos_iEnable........................................................... 2-6
Pos_iSaturation...................................................... 2-6
Pos_iTimeConst .................................................... 2-6
Pos_pGain.............................................................. 2-6
position loop gain .................................................. 2-6
position loop integral control enable ..................... 2-6
position loop integral saturation ............................ 2-6
position loop integral time constant....................... 2-6
PosLoopGain......................................................... 2-6
PosLoopIntEnable ................................................. 2-6
PosLoopIntSaturation............................................ 2-6
PosLoopIntTimeConst........................................... 2-6
PowerCntl_EDM ................................................... 2-5
product version ...................................................... 2-3
Product_Version.................................................... 2-5
Products folder................................................2-3, 2-8
PROGRAM ........................................................... 2-8
program data.......................................................... 2-2
program parameters............................................... 2-2
R
rapid feed type ....................................................... 2-5
rapid feedrate......................................................... 2-5
Rapid_Feed_Type.................................................. 2-5
Rapid_Feedrate...................................................... 2-5
Rapid_Feedrate_Zero ............................................ 2-5
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
IV
RapidFeedrate........................................................ 2-5
RapidFeedType...................................................... 2-5
rated velocity ......................................................... 2-7
Rated_Velocity...................................................... 2-7
RatedVelocity........................................................ 2-7
Ref_Point_2........................................................... 2-5
Ref_Point_3........................................................... 2-5
Ref_Point_4........................................................... 2-5
reference position #2 ............................................. 2-5
reference position #3 ............................................. 2-5
reference position #4 ............................................. 2-5
RefPoint_2............................................................. 2-5
RefPoint_3............................................................. 2-5
RefPoint_4............................................................. 2-5
regedit......................................................4-2, 4-6, 5-1
registry APIs.......................................................... 3-1
registry default settings.......................................... 5-1
Registry Editor....................................................... 4-2
Registry Editor, definition ..................................... 1-1
registry paths ......................................................... 2-1
registry, definition ................................................. 1-1
regular smoothing time.......................................... 2-6
RELAY................................................................ 2-14
Reserved ..................................................2-5, 2-6, 2-7
restoring registry data............................................ 4-1
retract vector.......................................................... 2-5
Retract_Vector....................................................... 2-5
RetractVector......................................................... 2-5
Rpd_Linear_Feed .................................................. 2-5
Rpd_Linear_Feed_Zero......................................... 2-5
RUN status........................................................... 2-10
S
S100M folder......................................................... 2-9
S120M folder......................................................... 2-9
S140M folder......................................................... 2-9
SAFEZONE........................................................... 2-8
saving current parameter settings to Windows Files 4-
1
saving registry data................................................ 4-1
SDK....................................................................... 2-1
SEARCH ............................................................. 2-15
servo drive velocity sensitivity .............................. 2-7
Servo_Control_Param folder...................2-2, 2-5, 2-6
Servo_Drive_Param folder.............................2-2, 2-7
SERVOCONTROL ............................................... 2-8
ServoWorks........................................................... 4-2
ServoWorks key .................................................... 2-1
Set_Point................................................................ 2-5
setting all parameter settings back to the default
settings............................................................... 5-1
shift direction......................................................... 2-5
Shift_Direction ...................................................... 2-5
ShiftDirection ........................................................ 2-5
SLINKT............................................................... 2-14
SMOOTHFILTER................................................. 2-8
smoothing mode – cutting ..................................... 2-6
smoothing mode – manual..................................... 2-6
smoothing mode – rapid ........................................ 2-6
smoothing time – cutting ....................................... 2-6
smoothing time – manual ...................................... 2-6
smoothing time – rapid.......................................... 2-6
Smoothing_Mode_Cutting .................................... 2-6
Smoothing_Mode_Manual .................................... 2-6
Smoothing_Mode_Rapid....................................... 2-6
Smoothing_Time_Cutting ..................................... 2-6
Smoothing_Time_Look_Ahead ............................ 2-6
Smoothing_Time_Manual..................................... 2-6
Smoothing_Time_Rapid........................................ 2-6
SmoothingMode_Cutting ...................................... 2-6
SmoothingMode_Manual ...................................... 2-6
SmoothingMode_Rapid......................................... 2-6
SmoothingTime_LookAhead ................................ 2-6
SmoothingTime_Regular_Cutting......................... 2-6
SmoothingTime_Regular_Manual......................... 2-6
SmoothingTime_Regular_Rapid ........................... 2-6
SMP folder............................................................. 2-9
SNK key ................................................................ 2-1
SNK_PLC folder ................................................. 2-14
SNK_PLC_DIAGNOSE ..................................... 2-15
SPINDLE_GENERAL.......................................... 2-8
sssLoadAbsEncParameters.................................... 3-1
sssLoadParameters................................................. 3-1
sssSaveAbsEncParameters .................................... 3-1
sssSaveParameters................................................. 3-1
Stepper_Resolution................................................ 2-7
STOP status ......................................................... 2-11
subkeys .................................................................. 1-1
SW_PLC_EDITOR ............................................. 2-15
SwDll.dll................................................................ 2-2
SynAssociatedToAxis ........................................... 2-5
sync master axis..................................................... 2-5
sync slave axis associated to axis .......................... 2-5
sync slave axis compensation gain ........................ 2-5
SynControlRes1..................................................... 2-5
SynControlRes2..................................................... 2-5
SynSlaveCompGain............................................... 2-5
T
T edit button ...............................................2-11, 2-13
TABLE ................................................................ 2-14
TimeOver_EDM.................................................... 2-5
timers for PLC..................................................... 2-13
TMR .................................................................... 2-14
ToolOffset.......................................................2-8, 2-9
TOOLOFFSET...................................................... 2-8
tree......................................................................... 1-1
U
unit......................................................................... 2-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index
_____________________________________________________________________________________
V
V
velocity feedforward enable .................................. 2-6
velocity feedforward percentage............................ 2-6
VelocityFF_Enable................................................ 2-6
VelocityFF_Pct...................................................... 2-6
VelocityFFEnable.................................................. 2-6
VelocityFFPct........................................................ 2-6
version, product ..................................................... 2-3
viewing settings in your system registry................ 1-1
W
warning regarding registry editing......................... 1-1
WINDOW............................................................ 2-15
Windows Registry, definition................................ 1-1
WORKCOORDINATE..................................2-8, 2-9
WorkpieceOffset.............................................2-8, 2-9
Z
Z_Dir_EDM .......................................................... 2-5
Z_Spd_EDM.......................................................... 2-5

More Related Content

Similar to 300_Registry.pdf

B 65270 en-07
B 65270 en-07B 65270 en-07
B 65270 en-07mt7038
 
FANUC 0i-TD User's manual.pdf
FANUC 0i-TD User's manual.pdfFANUC 0i-TD User's manual.pdf
FANUC 0i-TD User's manual.pdfssuserf20997
 
Manual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTManual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTSANTIAGO PABLO ALBERTO
 
B 64482 en-01
B 64482 en-01B 64482 en-01
B 64482 en-01mt7038
 
Siemens hmi mp 277 operating instructions
Siemens hmi mp 277 operating instructionsSiemens hmi mp 277 operating instructions
Siemens hmi mp 277 operating instructionssteven qi
 
Fanuc 18iT.pdf
Fanuc 18iT.pdfFanuc 18iT.pdf
Fanuc 18iT.pdfpsorelizio
 
B 65270 en-08
B 65270 en-08B 65270 en-08
B 65270 en-08mt7038
 
Motorolascanner sd kforwindows
Motorolascanner sd kforwindowsMotorolascanner sd kforwindows
Motorolascanner sd kforwindowsBurak Alp Bilkay
 
Sinamics v20 getting_started_072012_en-us
Sinamics v20 getting_started_072012_en-usSinamics v20 getting_started_072012_en-us
Sinamics v20 getting_started_072012_en-usphilip tony
 
41731326 configuration
41731326 configuration41731326 configuration
41731326 configurationWilson Ospina
 
bizhub PRESS 2250P Security User's Guide
bizhub PRESS 2250P Security User's Guidebizhub PRESS 2250P Security User's Guide
bizhub PRESS 2250P Security User's GuideEyal Benedek
 
autonics_daqmaster_manual_1.pdf
autonics_daqmaster_manual_1.pdfautonics_daqmaster_manual_1.pdf
autonics_daqmaster_manual_1.pdfIvanlopez261860
 
Pagelayouts
PagelayoutsPagelayouts
Pagelayoutsmustafa
 
Convection Vacuum Gauge The Super Bee
Convection Vacuum Gauge The Super BeeConvection Vacuum Gauge The Super Bee
Convection Vacuum Gauge The Super BeeInstruTech, Inc.
 

Similar to 300_Registry.pdf (20)

B 65270 en-07
B 65270 en-07B 65270 en-07
B 65270 en-07
 
FANUC 0i-TD User's manual.pdf
FANUC 0i-TD User's manual.pdfFANUC 0i-TD User's manual.pdf
FANUC 0i-TD User's manual.pdf
 
Manual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMARTManual del sistema del controlador programable S7-200 SMART
Manual del sistema del controlador programable S7-200 SMART
 
B 64482 en-01
B 64482 en-01B 64482 en-01
B 64482 en-01
 
Siemens hmi mp 277 operating instructions
Siemens hmi mp 277 operating instructionsSiemens hmi mp 277 operating instructions
Siemens hmi mp 277 operating instructions
 
Fanuc 18iT.pdf
Fanuc 18iT.pdfFanuc 18iT.pdf
Fanuc 18iT.pdf
 
B 65270 en-08
B 65270 en-08B 65270 en-08
B 65270 en-08
 
Motorolascanner sd kforwindows
Motorolascanner sd kforwindowsMotorolascanner sd kforwindows
Motorolascanner sd kforwindows
 
Sinamics v20 getting_started_072012_en-us
Sinamics v20 getting_started_072012_en-usSinamics v20 getting_started_072012_en-us
Sinamics v20 getting_started_072012_en-us
 
41731326 configuration
41731326 configuration41731326 configuration
41731326 configuration
 
Viewse um006 -en-e (1)
Viewse um006 -en-e (1)Viewse um006 -en-e (1)
Viewse um006 -en-e (1)
 
bizhub PRESS 2250P Security User's Guide
bizhub PRESS 2250P Security User's Guidebizhub PRESS 2250P Security User's Guide
bizhub PRESS 2250P Security User's Guide
 
Factory talk metrics
Factory talk metricsFactory talk metrics
Factory talk metrics
 
autonics_daqmaster_manual_1.pdf
autonics_daqmaster_manual_1.pdfautonics_daqmaster_manual_1.pdf
autonics_daqmaster_manual_1.pdf
 
Factory talk assetcentre installation guide
Factory talk assetcentre installation guideFactory talk assetcentre installation guide
Factory talk assetcentre installation guide
 
Pagelayouts
PagelayoutsPagelayouts
Pagelayouts
 
GE Fanuc Automation User Manual
GE Fanuc Automation User ManualGE Fanuc Automation User Manual
GE Fanuc Automation User Manual
 
Network updater4 0onlinehelpissue2
Network updater4 0onlinehelpissue2Network updater4 0onlinehelpissue2
Network updater4 0onlinehelpissue2
 
Network updater4 0onlinehelpissue2
Network updater4 0onlinehelpissue2Network updater4 0onlinehelpissue2
Network updater4 0onlinehelpissue2
 
Convection Vacuum Gauge The Super Bee
Convection Vacuum Gauge The Super BeeConvection Vacuum Gauge The Super Bee
Convection Vacuum Gauge The Super Bee
 

Recently uploaded

[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...daisycvs
 
Cyber-Security-power point presentation.
Cyber-Security-power point presentation.Cyber-Security-power point presentation.
Cyber-Security-power point presentation.ECoyShastriBhawan
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证mestb
 
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...drjose256
 
Balancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptxBalancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptxjoshuaclack73
 
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...Amil Baba Dawood bangali
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证mestb
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证mestb
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证mestb
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxjoshuaclack73
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证mestb
 
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec QatarBuy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatarsamsungultra782445
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样vwymvu
 
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pillsCytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pillssamsungultra782445
 
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...Amil baba
 
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhhMatrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhhjoshuaclack73
 

Recently uploaded (19)

[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
[[Jeddah]] IN RIYADH +2773-7758557]] Abortion pills in Jeddah Cytotec in Riya...
 
Cyber-Security-power point presentation.
Cyber-Security-power point presentation.Cyber-Security-power point presentation.
Cyber-Security-power point presentation.
 
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotecAbortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
Abortion pills in Jeddah Saudi Arabia! +966572737505 Where to buy cytotec
 
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(USYD毕业证书)悉尼大学毕业证成绩单本科硕士学位证留信学历认证
 
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
Top^Clinic Soweto ^%[+27838792658_termination in florida_Safe*Abortion Pills ...
 
Balancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptxBalancing of rotating bodies questions.pptx
Balancing of rotating bodies questions.pptx
 
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
NO1 Pakistan Best vashikaran specialist in UK USA UAE London Dubai Canada Ame...
 
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(AUT毕业证书)奥克兰理工大学毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(UVic毕业证书)维多利亚大学毕业证成绩单本科硕士学位证留信学历认证
 
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
如何办理(OP毕业证书)奥塔哥理工学院毕业证成绩单本科硕士学位证留信学历认证
 
Vibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptxVibration of Continuous Systems.pjjjjjjjjptx
Vibration of Continuous Systems.pjjjjjjjjptx
 
Abortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pillsAbortion Clinic in Jeddah +966572737505 buy cytotec pills
Abortion Clinic in Jeddah +966572737505 buy cytotec pills
 
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotecAbortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
Abortion pills in Riyadh Saudi Arabia!+966572737505 ) Where to get cytotec
 
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
如何办理(SUT毕业证书)斯威本科技大学毕业证成绩单本科硕士学位证留信学历认证
 
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec QatarBuy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
Buy best abortion pills Doha [+966572737505 | Planned cytotec Qatar
 
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
办理(uw学位证书)美国华盛顿大学毕业证续费收据一模一样
 
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pillsCytotec 200 mcg in doha [+966572737505 ] buy abortion pills
Cytotec 200 mcg in doha [+966572737505 ] buy abortion pills
 
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
NO1 Best Amil Baba In Karachi Kala Jadu In Karachi Amil baba In Karachi Addre...
 
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhhMatrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
Matrix Methods.pptxhhhhhhhhhhhhhhhhhhhhh
 

300_Registry.pdf

  • 1. Windows Registry Reference Manual for ServoWorks CNC Products and SMP Series General Motion Control Products Revision 1.0 © 2007 Soft Servo Systems, Inc.
  • 2. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Warning / Important Notice _____________________________________________________________________________________ i 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.
  • 3. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Warning / Important Notice _____________________________________________________________________________________ ii 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.
  • 4. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Contents _____________________________________________________________________________________ iii 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_ROOTServoWorks” Key............................................................. 2-1 2.3.1 Folder Structure of the “HKEY_CLASSES_ROOTServoWorks” 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_ROOTSNK” Key ...................................................................... 2-10 2.4.1 Overview of the “HKEY_CLASSES_ROOTSNK” 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_USERSNKSNK_PLC” Key ................................................... 2-15 2.5.1 Overview of the “HKEY_CURRENT_USERSNKSNK_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_USERSNK 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
  • 5. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Contents _____________________________________________________________________________________ iv List of Tables Table 2-1: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (1 of 4)................ 2-4 Table 2-2: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (2 of 4)................ 2-5 Table 2-3: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (3 of 4)................ 2-6 Table 2-4: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (4 of 4)................ 2-7 Table 2-5: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (1 of 2) ....................................................................................................................... 2-8 Table 2-6: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (2 of 2) ....................................................................................................................... 2-9 Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products.................. 2-14 Table 2-8: Summary of HKEY_CURRENT_USERSNK Folder, SNK_PLC Key Registry Information for LadderWorks PLC........................................................................................................................................... 2-15 List of Figures Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOTServoWorks” 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_USERSNKSNK_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
  • 6. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 1: Windows Registry and Registry Editor _____________________________________________________________________________________ 1-1 Chapter 1: Windows Registry and Registry Editor 1.1 What is the Windows Registry? The Windows registry is a database repository for information about a computer’s configuration. The registry contains information that Windows continually references during operation, such as: • Profiles for each user. • The programs installed on the computer and the types of documents each can create. • Property settings for folders and program icons. • What hardware exists on the system. • Which ports are being used. The registry is organized hierarchically as a tree and is made up of keys and their subkeys, hives, and value entries. 1.2 What is the Registry Editor? The Registry Editor is an advanced tool (included with your Windows operating system) for viewing, changing, inspecting and modifying settings in your system registry. 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. 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. INCORRECTLY EDITING THE REGISTRY MAY SEVERELY DAMAGE YOUR SYSTEM. CAUTION !
  • 7. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-1 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. If you are not developing a customized ServoWorks CNC or SMP application, you should skip this chapter. 2.2 Default Registry Paths Data for ServoWorks CNC and SMP products, including LadderWorks PLC, is stored in two different predefined keys: the HKEY_CLASSES_ROOT folder and the HKEY_CURRENT_USER folder. Within the HKEY_CLASSES_ROOT folder, there are two different keys: the “ServoWorks” key and the “SNK” key. The default registry path for all ServoWorks CNC and SMP products is: My ComputerHKEY_CLASSES_ROOTServoWorks The default registry paths for all LadderWorks PLC parameters are: My ComputerHKEY_CLASSES_ROOTSNK My ComputerHKEY_CURRENT_USERSNKSNK_PLC 2.3 Registry Data in the “HKEY_CLASSES_ROOTServoWorks” Key 2.3.1 Folder Structure of the “HKEY_CLASSES_ROOTServoWorks” Key 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: UNDER NO CIRCUMSTANCES SHOULD REGISTRY ENTRIES BE MODIFIED DIRECTLY. All parameters should be modified by using a ServoWorks CNC or SMP application (Configure Mode or Configuration Mode in ServoWorks CNC products, and the Parameters window in the SMP Console and ServoWorks MotionLite) to change parameter values, which in turn updates the registry automatically. CAUTION !
  • 8. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-2 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 2) Windows HMI Applications 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 ComputerHKEY_CLASSES_ROOTServoWorksS100M” – sub folders include: a) ATC b) AxisName c) Color d) Display e) MacroVar f) PitchErr g) Plot h) ToolOffset i) WorkpieceOffset The format of this “GMC” folder is predetermined and SHOULD NOT BE CHANGED. We strongly caution against manually modifying this folder in any way. CAUTION !
  • 9. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-3 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: Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOTServoWorks” Subkeys
  • 10. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-4 2.3.2 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, ServoWorks Key Sub Folder Value Entry Name Corresponding Parameter Name* Corresponding Variable Name in SDK Reserved Reserved AbsEnc_Home_Value AbsEncHomeValue ABS_Encoder AbsEnc_Home_Done AbsEncHomeDone Always_Search_Home Always Search for Home AlwaysSearchHome Axis_Type Axis Type AxisType Backlash Backlash Value Backlash Circle_Error_Limit Reserved Default_Cutting_Lead Reserved Default_Program_Unit Unit / Default Program Unit DefaultProgramUnit DryRun_Feedrate Dry Run Feedrate DryRunFeedrate FeedDn_EDM Reserved FeedUp_EDM Reserved HandWheel_Pulse_Accum Accumulate HandWheel Pulse (HandWheel Pulse Accumulation) HandwheelPulseAccumulation HandWheel_Type Enable HandWheel / HandWheel Type HandwheelType Home_Direction Home Direction HomeDirection Home_Reverse_Distance Home Reverse Distance HomeReverseDistance Home_Reverse_Dwell_Time Home Reverse Dwell Time HomeReverseDwellTime Home_Shift Home Shift HomeShift Home_Speed Grid Search Speed HomeSpeed Home_Switch_Search_Speed Home Switch Search Speed HomeSwitchSearchSpeed Home_Switch_Type Home Switch Type HomeSwitchType Home_Timeout Reserved Home_Type Home Type HomeType Int_Prog_Enable Enable Integer Programming with Machine Unit IntProgEnable Jog_Feedrate Jog Feedrate JogFeedrate LengthDn_EDM Reserved LengthUp_EDM Reserved Linear_Scale_On Reserved Max_AccDec_Rate Maximum Acceleration/ Deceleration Rate MaxAccDecRate Minus_Stroke Minus Stroke MinusStroke No_Of_DC120 Number of DC Modules NoOfDC_Modules NC_Param No_Of_IM200 Number of IM Modules NoOfIM_Modules Table 2-1: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (1 of 4)
  • 11. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-5 Sub Folder Value Entry Name Corresponding Parameter Name* Corresponding Variable Name in SDK OverPosErrSynLimit_Rpd Over Position Error Sync Limit – Moving OverPosErrSynLimit_Rpd OverPosErrSynLimit_Stp Over Position Error Sync Limit – Stopped OverPosErrSynLimit_Stp Pitch_Interval Pitch Interval PitchInterval Pitch_Origin Pitch Origin PitchOrigin Plus_Stroke Plus Stroke PlusStroke PowerCntl_EDM Reserved Product_Version Reserved Rapid_Feed_Type G00 Perform Linear Interpolation (Rapid Feed Type) RapidFeedType Rapid_Feedrate Rapid Feedrate RapidFeedrate Rapid_Feedrate_Zero Reserved Ref_Point_2 Reference Position #2 RefPoint_2 Ref_Point_3 Reference Position #3 RefPoint_3 Ref_Point_4 Reference Position #4 RefPoint_4 Reserved Reserved Retract_Vector Retract Vector RetractVector Rpd_Linear_Feed Reserved Rpd_Linear_Feed_Zero Reserved Set_Point Reserved Shift_Direction Shift Direction ShiftDirection SynAssociatedToAxis Sync Master Axis SynAssociatedToAxis SynControlRes1 Reserved SynControlRes2 Reserved SynSlaveCompGain Sync Slave Axis Compensation Gain SynSlaveCompGain TimeOver_EDM Reserved Z_Dir_EDM Reserved Z_Spd_EDM Reserved Dis_Enc_Rev Distance Per Encoder Revolution DisPerEncRev EStop_Type E-STOP Type EStopType In_Position_Val In Position Width InPositionWidth Limit_Switch_Action Hard Limit Switch Action LimitSwitchAction Limit_Switch_Type Limit Switch Type LimitSwitchType Machine_Unit Machine Unit (Minimum Resolution) MachineUnit Notch_Filter1_d1 Reserved Servo_Control_Param Notch_Filter1_d2 Reserved Table 2-2: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (2 of 4)
  • 12. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-6 Sub Folder Value Entry Name Corresponding Parameter Name* Corresponding Variable Name in SDK Notch_Filter1_Enable Reserved Notch_Filter1_n1 Reserved Notch_Filter1_n2 Reserved Notch_Filter2_d1 Reserved Notch_Filter2_d2 Reserved Notch_Filter2_Enable Reserved Notch_Filter2_n1 Reserved Notch_Filter2_n2 Reserved Notch_Filter3_d1 Reserved Notch_Filter3_d2 Reserved Notch_Filter3_Enable Reserved Notch_Filter3_n1 Reserved Notch_Filter3_n2 Reserved Notch_Filter4_d1 Reserved Notch_Filter4_d2 Reserved Notch_Filter4_Enable Reserved Notch_Filter4_n1 Reserved Notch_Filter4_n2 Reserved Over_PosErr_Limit_Moving Over Position Error Protection Limit – Moving OverPosErrServoOffLimit_Mo ving Over_PosErr_Limit_Stopped Over Position Error Protection Limit – Stopped OverPosErrServoOffLimit_Sto pped Pos_iEnable Position Loop Integral Control Enable PosLoopIntEnable Pos_iSaturation Position Loop Integral Saturation PosLoopIntSaturation Pos_iTimeConst Position Loop Integral Time Constant PosLoopIntTimeConst Pos_pGain Position Loop Gain PosLoopGain Reserved Reserved Smoothing_Mode_Cutting Smoothing Mode – Cutting SmoothingMode_Cutting Smoothing_Mode_Manual Smoothing Mode – Manual SmoothingMode_Manual Smoothing_Mode_Rapid Smoothing Mode – Rapid SmoothingMode_Rapid Smoothing_Time_Cutting Smoothing Time – Cutting SmoothingTime_Regular_Cutt ing Smoothing_Time_Look_Ahead Look Ahead Smoothing Time SmoothingTime_LookAhead Smoothing_Time_Manual Smoothing Time – Manual SmoothingTime_Regular_Ma nual Smoothing_Time_Rapid Smoothing Time – Rapid SmoothingTime_Regular_Rap id VelocityFF_Enable Velocity Feedforward Enable VelocityFFEnable Servo_Control_Param (continued) VelocityFF_Pct Velocity Feedforward Percentage VelocityFFpct Table 2-3: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (3 of 4)
  • 13. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-7 Sub Folder Value Entry Name Corresponding Parameter Name* Corresponding Variable Name in SDK Drive_Vel_Sensitivity Servo Drive Velocity Sensitivity DriveVelSensitivity Encoder_Polarity Encoder Polarity EncoderPolarity Encoder_Resolution Encoder Resolution EncoderResolution Encoder_Type Encoder Type EncoderType Motor_Polarity Motor Polarity MotorPolarity Motor_Type Reserved Peak_Velocity Peak Velocity PeakVelocity Rated_Velocity Rated Velocity RatedVelocity Reserved Reserved Servo_Drive_Param Stepper_Resolution Reserved Table 2-4: HKEY_CLASSES_ROOTServoWorksGMC Subkey, System Settings Parameters (4 of 4) * 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.
  • 14. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-8 Subkey Parameter Type Sub Folders Sub Subfolders GMC System Settings See tables, previous pages COLOR DISPLAY FEEDRATE HANDWHEEL HOME MACHINEERROR MCODE Password PICTURE PROGRAM SAFEZONE SERVOCONTROL SMOOTHFILTER SPINDLE_GENERAL TOOLOFFSET Lathe Program Settings WORKCOORDINATE Color Display Home MacroVar PermanentMacroVar Plot ToolOffset MC_QUAD Program Settings WorkpieceOffset Products Version/License Table 2-5: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (1 of 2)
  • 15. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-9 Subkey Parameter Type Sub Folders Sub Subfolders ATC AxisName Color Display MacroVar PermanentMacroVar Plot ToolOffset S100M Program Settings WorkpieceOffset ATC AxisName Color Display MacroVar PermanentMacroVar Plot ToolOffset S120M Program Settings WorkpieceOffset ATC AxisName Color Display MacroVar PermanentMacroVar Plot ToolOffset S140M Program Settings WorkpieceOffset CylIntAxis Display GapSensor Messenger SMP Program Settings WORKCOORDINATE Table 2-6: HKEY_CLASSES_ROOTServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (2 of 2)
  • 16. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-10 2.4 Registry Data in the “HKEY_CLASSES_ROOTSNK” Key 2.4.1 Overview of the “HKEY_CLASSES_ROOTSNK” Key Registry data in the “HKEY_CLASSES_ROOTSNK” key is used to store information relevant to the PLC Control Screen Utility included with LadderWorks PLC. A typical screen shot of the “SNK” key in HKEY_CLASSES_ROOT follows: Figure 2-2: Registry Editor Window Showing “SNK” Subkeys Four of the subkeys in the “SNK_PLC” folder relate directly to values set with the PLC Control Screen Utility. 2.4.2 The PLC Control Screen Utility To access the PLC Control Screen Utility, double click on the file in C:SwPLCUtility. If the status of ladder logic is “RUN,” you will see the PLC Control Screen window shown in the following figure:
  • 17. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-11 Figure 2-3: PLC Control Screen Window for “RUN” Status If the status of ladder logic is “STOP,” you will see the PLC Control Screen window shown in the following figure: Figure 2-4: PLC Control Screen Window for “STOP” Status 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.
  • 18. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-12 2.4.3 Counters for PLC 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: Figure 2-5: Edit Counter Window 2.4.4 D Data for PLC 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: Figure 2-6: PLC Edit Data Table Screen
  • 19. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-13 2.4.5 Keep Relays for PLC 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: Figure 2-7: Edit Keep Relay Window 2.4.6 Timers for PLC 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: Figure 2-8: Edit Timer Window
  • 20. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-14 2.4.7 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, SNK Key Subkey Parameter Type Sub Folders Sub Subfolders Notes AXIS PLC Settings n/a Not used MESSAGE PLC Settings TABLE Not used DATA PAGE01 PAGE02 PAGE03 PAGE04 CTR PAGE05 See Figure 2-5 DATA PAGE01 DATA PAGE02 See Figure 2-6 PAGE01 PAGE02 PAGE03 I/O PAGE04 DATA PAGE01 . . KEEP PAGE100 See Figure 2-7 PAGE01 . . RELAY PAGE39 DATA PAGE01 . . SLINKT PAGE17 Not used DATA PAGE01 . . SNK_PLC PLC Settings TMR PAGE10 See Figure 2-8 Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products
  • 21. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 2: ServoWorks CNC and SMP Registry Data _____________________________________________________________________________________ 2-15 2.5 Registry Data in the “HKEY_CURRENT_USERSNKSNK_PLC” Key 2.5.1 Overview of the “HKEY_CURRENT_USERSNKSNK_PLC” Key Registry data in the “HKEY_CURRENT_USERSNKSNK_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_USERSNK folder follows: Figure 2-9: Registry Editor Window Showing “HKEY_CURRENT_USERSNKSNK_PLC” Subkeys 2.5.2 The PLC Diagnose Utility 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.] 2.5.3 LadderWorks Console LadderWorks Console is a Win32 application for creating, editing, monitoring, debugging and compiling PLC ladder diagram (LD) sequence programs. 2.5.4 Summary of Relevant Registry Information in the HKEY_CURRENT_USERSNK Folder, SNK_PLC Key Subkey Parameter Type Sub Folders COLOR SEARCH SNK_PLC_DIAGNOSE PLC Diagnose Utility Settings WINDOW SW_PLC_EDITOR LadderWorks Console Settings INSATLL_PATH Table 2-8: Summary of HKEY_CURRENT_USERSNK Folder, SNK_PLC Key Registry Information for LadderWorks PLC
  • 22. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 3: APIs for Interacting with the Registry _____________________________________________________________________________________ 3-1 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.)
  • 23. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-1 Chapter 4: Backing Up and Restoring Registry Data 4.1 Uses for Backing Up and Restoring Registry Data All current software settings are contained in the Windows registry. Therefore, when you have completed your installation, setup and integration for any ServoWorks CNC or SMP product (especially the important process of tuning your system), we highly recommend that you back up the GMC and Windows application folders in the HKEY_CLASSES_ROOTServoWorks key of the Windows registry. This will save you time and money if you need to recreate your optimized software environment for any reason. This is also useful for creating an identical control system with a new PC. 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.2 Exporting Current Parameter Settings to Windows Files The following steps will guide you in saving your current parameter settings to two files: 1) From the Windows “Start” menu, go to “Run…” as shown: Figure 4-1: Start Menu Selection Showing “Run…” 2) You will see the “Run” window appear, as shown:
  • 24. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-2 Figure 4-2: Run Window 3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application appear, as shown: Figure 4-3: Main Registry Editor Window 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): Figure 4-4: Registry Editor Window with “ServoWorks” Selected
  • 25. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-3 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): Figure 4-5: Registry Editor Window with “GMC” Selected 6) Select "Export" from the "File" pull-down menu, as shown in the following figure: Figure 4-6: Registry Editor Window – File Pull Down Menu 7) You will see an Export Registry File window appear, as shown in the following figure:
  • 26. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-4 Figure 4-7: Export Registry File Window (1 of 2) 8) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOTServoWorksGMC” – 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 ServoWorks S-100M, select the “S100M” folder. • If you are using ServoWorks S-120M, select the “S120M” folder. • If you are using ServoWorks S-140M, select the “S140M” folder. • If you are using ServoWorks MC-Quad, select the “MC_QUAD” folder. • If you are using ServoWorks S-100T, select the “Lathe” folder. • If you are using an SMP product, select the “SMP” folder, as shown in the following window:
  • 27. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-5 Figure 4-8: Registry Editor Window with “SMP” Selected 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: Figure 4-9: Export Registry File Window (2 of 2)
  • 28. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-6 12) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOTServoWorksSMP” 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. Your registry settings are now backed up. 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. 4.3 Importing Registry Settings to a PC from Windows Files The following steps will guide you in importing a set of registry settings to a PC (either the same PC from which the registry settings were backed up, or a different PC). You must first have saved your desired parameter settings to one or more files, as shown in the previous section, Section 4.2 Exporting Current Parameter Settings to Windows Files. 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. 2) From the Windows “Start” menu, go to “Run…” as shown in Figure 4-1. 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:
  • 29. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-7 Figure 4-10: Registry Editor Window – File Pull Down Menu 7) You will see an Import Registry File window appear, as shown in the following figure: Figure 4-11: Import Registry File Window 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: Figure 4-12: Registry Editor Dialog Box – Importing Success Message
  • 30. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 4: Backing Up and Restoring Registry Data _____________________________________________________________________________________ 4-8 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.
  • 31. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 5: Setting All Parameter Settings Back to the Default Settings _____________________________________________________________________________________ 5-1 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: 1) From the Windows “Start” menu, go to “Run…” as shown: Figure 5-1: Start Menu Selection Showing “Run…” 2) You will see the “Run” window appear, as shown: Figure 5-2: Run Window 3) Type in “regedit” as shown, and then click the “OK” button. You will see the “Registry Editor” application appear, as shown:
  • 32. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 5: Setting All Parameter Settings Back to the Default Settings _____________________________________________________________________________________ 5-2 Figure 5-3: Main Registry Editor Window 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): Figure 5-4: Registry Editor Window with “ServoWorks” Selected 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):
  • 33. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 5: Setting All Parameter Settings Back to the Default Settings _____________________________________________________________________________________ 5-3 Figure 5-5: Registry Editor Window with “GMC” Selected 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: Figure 5-6: Registry Editor Window – Edit Pull Down Menu 7) You will see the following “Confirm Key Delete” button appear. Figure 5-7: Confirm Delete Key Dialog Box 8) Click the “Yes” button to finalize the deletion of the “GMC” registry key. 9) Now click on the relevant Windows application folder:
  • 34. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Chapter 5: Setting All Parameter Settings Back to the Default Settings _____________________________________________________________________________________ 5-4 • If you are using ServoWorks S-100M, select the “S100M” folder. • If you are using ServoWorks S-120M, select the “S120M” folder. • If you are using ServoWorks S-140M, select the “S140M” folder. • If you are using ServoWorks MC-Quad, select the “MC_QUAD” folder. • If you are using ServoWorks S-100T, select the “Lathe” folder. • If you are using an SMP product, select the “SMP” folder, as shown in the following window: Figure 5-8: Registry Editor Window with “SMP” Selected 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.
  • 35. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Index _____________________________________________________________________________________ I Index “ “CTR” registry sub folder.................................... 2-12 “DATA” registry sub folder ................................ 2-12 “KEEP” registry sub folder ................................. 2-13 “Run” window....................................................... 4-1 “SNK_PLC.......................................................... 2-15 “SNK” Key.......................................................... 2-10 “TMR” registry sub folder................................... 2-13 A ABS_Encoder folder.......................................2-2, 2-4 AbsEnc_Home_Done............................................ 2-4 AbsEnc_Home_Value ........................................... 2-4 AbsEncHomeDone................................................ 2-4 AbsEncHomeValue ............................................... 2-4 absolute encoder parameters.................................. 3-1 accessing parameter information ........................... 4-1 accumulate handwheel pulse ................................. 2-4 always search for home ......................................... 2-4 Always_Search_Home .......................................... 2-4 AlwaysSearchHome .............................................. 2-4 APIs for interacting with the registry .................... 3-1 ATC....................................................................... 2-9 AXIS.................................................................... 2-14 axis type................................................................. 2-4 Axis_Type ............................................................. 2-4 AxisName.............................................................. 2-9 AxisType ............................................................... 2-4 B backing up registry data......................................... 4-1 Backlash ................................................................ 2-4 backlash value ....................................................... 2-4 C C edit button ...............................................2-11, 2-12 Circle_Error_Limit................................................ 2-4 Color...............................................................2-8, 2-9 COLOR ........................................................2-8, 2-15 Confirm Key Delete........................................5-3, 5-4 Control Screen UtilitySee PLC Control Screen Utility counters for PLC.................................................. 2-12 creating an identical control system....................... 4-1 CTR ..................................................................... 2-14 CTR counter functional command....................... 2-12 CTRC counter functional command.................... 2-12 CylIntAxis ............................................................. 2-9 D D data for PLC..................................................... 2-12 D edit button........................................................ 2-12 DATA.................................................................. 2-14 default program unit .............................................. 2-4 default registry paths ............................................. 2-1 default settings................................................1-1, 5-1 Default_Cutting_Lead ........................................... 2-4 Default_Program_Unit .......................................... 2-4 DefaultProgramUnit .............................................. 2-4 Diagnose Utility..................See PLC Diagnose Utility Dis_Enc_Rev......................................................... 2-5 DisPerEncRev........................................................ 2-5 Display............................................................2-8, 2-9 DISPLAY .............................................................. 2-8 distance per encoder revolution............................. 2-5 Drive_Vel_Sensitivity ........................................... 2-7 DriveVelSensitivity ............................................... 2-7 dry run feedrate...................................................... 2-4 DryRun_Feedrate................................................... 2-4 DryRunFeedrate..................................................... 2-4 duplicating a control system.................................. 4-1 E Edit Counter Window.......................................... 2-12 Edit Data Table Screen........................................ 2-12 Edit Keep Relay Window.................................... 2-13 Edit Timer Window............................................. 2-13 enable handwheel .................................................. 2-4 enable integer programming with machine unit .... 2-4 encoder polarity..................................................... 2-7 encoder resolution.................................................. 2-7 encoder type........................................................... 2-7 Encoder_Polarity ................................................... 2-7 Encoder_Resolution............................................... 2-7 Encoder_Type........................................................ 2-7 EncoderPolarity ..................................................... 2-7 EncoderResolution................................................. 2-7 EncoderType.......................................................... 2-7 E-STOP type.......................................................... 2-5 EStop_Type........................................................... 2-5 EstopType.............................................................. 2-5 exporting current parameter settings to Windows Files ................................................................... 4-1 exporting registry data........................................... 4-1 exporting settings in your system registry ............. 1-1 F FeedDn_EDM........................................................ 2-4
  • 36. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Index _____________________________________________________________________________________ II FEEDRATE........................................................... 2-8 FeedUp_EDM........................................................ 2-4 G G00 perform linear interpolation........................... 2-5 GapSensor.............................................................. 2-9 GMC...................................................................... 4-3 GMC folder ....................................................2-2, 2-8 grid search speed ................................................... 2-4 H HANDWHEEL...................................................... 2-8 handwheel pulse accumulation.............................. 2-4 handwheel type...................................................... 2-4 HandWheel_Pulse_Accum.................................... 2-4 HandWheel_Type.................................................. 2-4 HandwheelPulseAccumulation.............................. 2-4 HandwheelType..................................................... 2-4 hard limit switch action ......................................... 2-5 HKEY_CLASSES_ROOT .................................. 2-10 HKEY_CLASSES_ROOT folder.......................... 2-1 HKEY_CURRENT_USER ................................. 2-15 HKEY_CURRENT_USER folder......................... 2-1 HKEY_CURRENT_USERSNK ........................ 2-15 Home ..................................................................... 2-8 HOME ................................................................... 2-8 home direction....................................................... 2-4 home reverse distance............................................ 2-4 home reverse dwell Time....................................... 2-4 home shift.............................................................. 2-4 home speed............................................................ 2-4 home switch search speed...................................... 2-4 home switch type................................................... 2-4 home type .............................................................. 2-4 Home_Direction .................................................... 2-4 Home_Reverse_Distance....................................... 2-4 Home_Reverse_Dwell_Time ................................ 2-4 Home_Shift............................................................ 2-4 Home_Speed.......................................................... 2-4 Home_Switch_Search_Speed................................ 2-4 Home_Switch_Type.............................................. 2-4 Home_Timeout...................................................... 2-4 Home_Type........................................................... 2-4 HomeDirection ...................................................... 2-4 HomeReverseDistance........................................... 2-4 HomeReverseDwellTime ...................................... 2-4 HomeShift.............................................................. 2-4 HomeSpeed............................................................ 2-4 HomeSwitchSearchSpeed...................................... 2-4 HomeSwitchType.................................................. 2-4 HomeType............................................................. 2-4 I I/O........................................................................ 2-14 identical control system......................................... 4-1 importing registry data........................................... 4-1 importing registry settings to a PC from Windows files .................................................................... 4-6 importing settings in your system registry............. 1-1 in position width.................................................... 2-5 In_Position_Val..................................................... 2-5 InPositionWidth..................................................... 2-5 INSATLL_PATH................................................ 2-15 installer .................................................................. 2-3 Int_Prog_Enable.................................................... 2-4 integer programming with machine unit enable .... 2-4 IntProgEnable........................................................ 2-4 J jog feedrate............................................................ 2-4 Jog_Feedrate.......................................................... 2-4 JogFeedrate............................................................ 2-4 K K edit button...............................................2-11, 2-13 KEEP................................................................... 2-14 keep relays for PLC............................................. 2-13 keys........................................................................ 1-1 L LadderWorks Console......................................... 2-15 LadderWorks PLC......................................2-10, 2-15 Lathe folder ........................................................... 2-8 legacy software products ..................................... 2-15 LengthDn_EDM.................................................... 2-4 LengthUp_EDM.................................................... 2-4 license code ........................................................... 2-3 limit switch type .................................................... 2-5 Limit_Switch_Action ............................................ 2-5 Limit_Switch_Type............................................... 2-5 LimitSwitchAction ................................................ 2-5 LimitSwitchType................................................... 2-5 Linear_Scale_On ................................................... 2-4 look ahead smoothing time.................................... 2-6 M machine unit .......................................................... 2-5 Machine_Unit........................................................ 2-5 MACHINEERROR ............................................... 2-8 MachineUnit.......................................................... 2-5 MacroVar........................................................2-8, 2-9 Max_AccDec_Rate................................................ 2-4 MaxAccDecRate.................................................... 2-4 maximum acceleration/deceleration rate ............... 2-4 MC_QUAD folder................................................. 2-8 MCODE................................................................. 2-8 MDK...................................................................... 2-1 MESSAGE .......................................................... 2-14
  • 37. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Index _____________________________________________________________________________________ III Messenger.............................................................. 2-9 minimum resolution............................................... 2-5 minus stroke........................................................... 2-4 Minus_Stroke ........................................................ 2-4 MinusStroke .......................................................... 2-4 modifying settings in your system registry............ 1-1 motor polarity ........................................................ 2-7 Motor_Polarity ...................................................... 2-7 Motor_Type........................................................... 2-7 MotorPolarity ........................................................ 2-7 N NC_Param folder............................................2-2, 2-4 No_Of_DC120 ...................................................... 2-4 No_Of_IM200 ....................................................... 2-4 NoOfDC_Modules................................................. 2-4 NoOfIM_Modules ................................................. 2-4 Notch_Filter1_d1................................................... 2-5 Notch_Filter1_d2................................................... 2-5 Notch_Filter1_Enable............................................ 2-6 Notch_Filter1_n1................................................... 2-6 Notch_Filter1_n2................................................... 2-6 Notch_Filter2_d1................................................... 2-6 Notch_Filter2_d2................................................... 2-6 Notch_Filter2_Enable............................................ 2-6 Notch_Filter2_n1................................................... 2-6 Notch_Filter2_n2................................................... 2-6 Notch_Filter3_d1................................................... 2-6 Notch_Filter3_d2................................................... 2-6 Notch_Filter3_Enable............................................ 2-6 Notch_Filter3_n1................................................... 2-6 Notch_Filter3_n2................................................... 2-6 Notch_Filter4_d1................................................... 2-6 Notch_Filter4_d2................................................... 2-6 Notch_Filter4_Enable............................................ 2-6 Notch_Filter4_n1................................................... 2-6 Notch_Filter4_n2................................................... 2-6 number of DC modules.......................................... 2-4 number of IM modules .......................................... 2-4 O over position error protection limit – moving........ 2-6 over position error protection limit – stopped........ 2-6 over position error sync limit – moving................. 2-5 over position error sync limit – stopped ................ 2-5 Over_PosErr_Limit_Moving................................. 2-6 Over_PosErr_Limit_Stopped ................................ 2-6 OverPosErrServoOffLimit_Moving...................... 2-6 OverPosErrServoOffLimit_Stopped...................... 2-6 OverPosErrSynLimit_Rpd..................................... 2-5 OverPosErrSynLimit_Stp...................................... 2-5 overwriting registry settings .................................. 4-6 P PAGE01............................................................... 2-14 parameter default settings...................................... 1-1 parameters program.............................................................. 2-2 parameters, absolute encoder................................. 3-1 Password................................................................ 2-8 paths....................................................................... 2-1 peak velocity.......................................................... 2-7 Peak_Velocity........................................................ 2-7 PeakVelocity.......................................................... 2-7 PermanentMacroVar.......................................2-8, 2-9 PICTURE .............................................................. 2-8 pitch interval.......................................................... 2-5 pitch origin............................................................. 2-5 Pitch_Interval ........................................................ 2-5 Pitch_Origin .......................................................... 2-5 PitchInterval .......................................................... 2-5 PitchOrigin ............................................................ 2-5 PLC.............................................................2-10, 2-15 PLC Control Screen utility .................................. 2-11 PLC Control Screen Utility ................................. 2-10 PLC Diagnose Utility .......................................... 2-15 PLC Diagnose Utility .......................................... 2-15 PLC Edit Data Table Screen................................ 2-12 Plot..................................................................2-8, 2-9 plus stroke.............................................................. 2-5 Plus_Stroke............................................................ 2-5 PlusStroke.............................................................. 2-5 Pos_iEnable........................................................... 2-6 Pos_iSaturation...................................................... 2-6 Pos_iTimeConst .................................................... 2-6 Pos_pGain.............................................................. 2-6 position loop gain .................................................. 2-6 position loop integral control enable ..................... 2-6 position loop integral saturation ............................ 2-6 position loop integral time constant....................... 2-6 PosLoopGain......................................................... 2-6 PosLoopIntEnable ................................................. 2-6 PosLoopIntSaturation............................................ 2-6 PosLoopIntTimeConst........................................... 2-6 PowerCntl_EDM ................................................... 2-5 product version ...................................................... 2-3 Product_Version.................................................... 2-5 Products folder................................................2-3, 2-8 PROGRAM ........................................................... 2-8 program data.......................................................... 2-2 program parameters............................................... 2-2 R rapid feed type ....................................................... 2-5 rapid feedrate......................................................... 2-5 Rapid_Feed_Type.................................................. 2-5 Rapid_Feedrate...................................................... 2-5 Rapid_Feedrate_Zero ............................................ 2-5
  • 38. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Index _____________________________________________________________________________________ IV RapidFeedrate........................................................ 2-5 RapidFeedType...................................................... 2-5 rated velocity ......................................................... 2-7 Rated_Velocity...................................................... 2-7 RatedVelocity........................................................ 2-7 Ref_Point_2........................................................... 2-5 Ref_Point_3........................................................... 2-5 Ref_Point_4........................................................... 2-5 reference position #2 ............................................. 2-5 reference position #3 ............................................. 2-5 reference position #4 ............................................. 2-5 RefPoint_2............................................................. 2-5 RefPoint_3............................................................. 2-5 RefPoint_4............................................................. 2-5 regedit......................................................4-2, 4-6, 5-1 registry APIs.......................................................... 3-1 registry default settings.......................................... 5-1 Registry Editor....................................................... 4-2 Registry Editor, definition ..................................... 1-1 registry paths ......................................................... 2-1 registry, definition ................................................. 1-1 regular smoothing time.......................................... 2-6 RELAY................................................................ 2-14 Reserved ..................................................2-5, 2-6, 2-7 restoring registry data............................................ 4-1 retract vector.......................................................... 2-5 Retract_Vector....................................................... 2-5 RetractVector......................................................... 2-5 Rpd_Linear_Feed .................................................. 2-5 Rpd_Linear_Feed_Zero......................................... 2-5 RUN status........................................................... 2-10 S S100M folder......................................................... 2-9 S120M folder......................................................... 2-9 S140M folder......................................................... 2-9 SAFEZONE........................................................... 2-8 saving current parameter settings to Windows Files 4- 1 saving registry data................................................ 4-1 SDK....................................................................... 2-1 SEARCH ............................................................. 2-15 servo drive velocity sensitivity .............................. 2-7 Servo_Control_Param folder...................2-2, 2-5, 2-6 Servo_Drive_Param folder.............................2-2, 2-7 SERVOCONTROL ............................................... 2-8 ServoWorks........................................................... 4-2 ServoWorks key .................................................... 2-1 Set_Point................................................................ 2-5 setting all parameter settings back to the default settings............................................................... 5-1 shift direction......................................................... 2-5 Shift_Direction ...................................................... 2-5 ShiftDirection ........................................................ 2-5 SLINKT............................................................... 2-14 SMOOTHFILTER................................................. 2-8 smoothing mode – cutting ..................................... 2-6 smoothing mode – manual..................................... 2-6 smoothing mode – rapid ........................................ 2-6 smoothing time – cutting ....................................... 2-6 smoothing time – manual ...................................... 2-6 smoothing time – rapid.......................................... 2-6 Smoothing_Mode_Cutting .................................... 2-6 Smoothing_Mode_Manual .................................... 2-6 Smoothing_Mode_Rapid....................................... 2-6 Smoothing_Time_Cutting ..................................... 2-6 Smoothing_Time_Look_Ahead ............................ 2-6 Smoothing_Time_Manual..................................... 2-6 Smoothing_Time_Rapid........................................ 2-6 SmoothingMode_Cutting ...................................... 2-6 SmoothingMode_Manual ...................................... 2-6 SmoothingMode_Rapid......................................... 2-6 SmoothingTime_LookAhead ................................ 2-6 SmoothingTime_Regular_Cutting......................... 2-6 SmoothingTime_Regular_Manual......................... 2-6 SmoothingTime_Regular_Rapid ........................... 2-6 SMP folder............................................................. 2-9 SNK key ................................................................ 2-1 SNK_PLC folder ................................................. 2-14 SNK_PLC_DIAGNOSE ..................................... 2-15 SPINDLE_GENERAL.......................................... 2-8 sssLoadAbsEncParameters.................................... 3-1 sssLoadParameters................................................. 3-1 sssSaveAbsEncParameters .................................... 3-1 sssSaveParameters................................................. 3-1 Stepper_Resolution................................................ 2-7 STOP status ......................................................... 2-11 subkeys .................................................................. 1-1 SW_PLC_EDITOR ............................................. 2-15 SwDll.dll................................................................ 2-2 SynAssociatedToAxis ........................................... 2-5 sync master axis..................................................... 2-5 sync slave axis associated to axis .......................... 2-5 sync slave axis compensation gain ........................ 2-5 SynControlRes1..................................................... 2-5 SynControlRes2..................................................... 2-5 SynSlaveCompGain............................................... 2-5 T T edit button ...............................................2-11, 2-13 TABLE ................................................................ 2-14 TimeOver_EDM.................................................... 2-5 timers for PLC..................................................... 2-13 TMR .................................................................... 2-14 ToolOffset.......................................................2-8, 2-9 TOOLOFFSET...................................................... 2-8 tree......................................................................... 1-1 U unit......................................................................... 2-4
  • 39. REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Index _____________________________________________________________________________________ V V velocity feedforward enable .................................. 2-6 velocity feedforward percentage............................ 2-6 VelocityFF_Enable................................................ 2-6 VelocityFF_Pct...................................................... 2-6 VelocityFFEnable.................................................. 2-6 VelocityFFPct........................................................ 2-6 version, product ..................................................... 2-3 viewing settings in your system registry................ 1-1 W warning regarding registry editing......................... 1-1 WINDOW............................................................ 2-15 Windows Registry, definition................................ 1-1 WORKCOORDINATE..................................2-8, 2-9 WorkpieceOffset.............................................2-8, 2-9 Z Z_Dir_EDM .......................................................... 2-5 Z_Spd_EDM.......................................................... 2-5