Vous êtes sur la page 1sur 39

Windows Registry Reference Manual

for ServoWorks CNC Products and


SMP Series General Motion Control Products

Revision 1.0
© 2007 Soft Servo Systems, Inc.
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Warning / Important Notice

Warning

The product described herein has the potential – through misuse, inattention, or lack of understanding – to create
conditions that could result in personal injury, damage to equipment, or damage to the product(s) described herein.
Machinery in motion and high-power, high-current servo drives can be dangerous; potentially hazardous situations
such as runaway motors could result in death; burning or other serious personal injury to personnel; damage to
equipment or machinery; or economic loss if procedures aren’t followed properly. Soft Servo Systems, Inc. assumes
no liability for any personal injury, property damage, losses or claims arising from misapplication of its products. In
no event shall Soft Servo Systems, Inc. or its suppliers be liable to you or any other person for any incidental
collateral, special or consequential damages to machines or products, including without limitation, property damage,
damages for loss of profits, loss of customers, loss of goodwill, work stoppage, data loss, computer failure or
malfunction claims by any party other than you, or any and all similar damages or loss even if Soft Servo Systems,
Inc., its suppliers, or its agent has been advised of the possibility of such damages.

It is therefore necessary for any and all personnel involved in the installation, maintenance, or use of these products
to thoroughly read this pamphlet and related manuals and understand their contents. Soft Servo Systems, Inc. stands
ready to answer any questions or clarify any confusion related to these products in as timely a manner as possible.

The selection and application of Soft Servo Systems, Inc.’s products remain the responsibility of the equipment
designer or end user. Soft Servo Systems, Inc. accepts no responsibility for the way its controls are incorporated
into a machine tool or factory automation setting. Any documentation and warnings provided by Soft Servo
Systems, Inc. must be promptly provided to any end users.

This document is based on information that was available at the time of publication. All efforts have been made to
ensure that this document is accurate and complete. However, due to the widely varying uses of this product, and
the variety of software and hardware configurations possible in connection with these uses, the information
contained in this manual does not purport to cover every possible situation, contingency or variation in hardware or
software configuration that could possibly arise in connection with the installation, maintenance, and use of the
products described herein. Soft Servo Systems, Inc. assumes no obligations of notice to holders of this document
with respect to changes subsequently made. Under no circumstances will Soft Servo Systems, Inc. be liable for any
damages or injuries resulting from any defect or omission in this manual.

Soft Servo Systems, Inc. makes no representation or warranty, expressed, implied, or statutory with respect to, and
assumes no responsibility for the accuracy, completeness, sufficiency, or usefulness of the information contained
herein. NO IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS OF PURPOSE SHALL APPLY.

_____________________________________________________________________________________
i
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Warning / Important Notice

Important Notice

The information contained in this manual is intended to be used only for the purposes agreed upon in the related
contract with Soft Servo Systems, Inc. All material contained herein is subject to restricted rights and restrictions
set forth in the contract between the parties.

These manuals contain confidential and proprietary information that is not to be shared with, nor distributed to, third
parties by any means without the prior express, written permission of Soft Servo Systems, Inc. No materials
contained herein are to be duplicated or reproduced in whole or in part without the express, written permission of
Soft Servo Systems, Inc.

Although every effort and precaution has been taken in preparing this manual, the information contained herein is
subject to change without notice. This is because Soft Servo Systems, Inc. is constantly striving to improve its
products. Soft Servo Systems, Inc. assumes no responsibility for errors or omissions.

All rights reserved. Any violations of contractual agreements pertaining to the materials herein will be prosecuted to
the full extent of the law.

_____________________________________________________________________________________
ii
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents

Table of Contents

Warning ............................................................................................................................................................................................ i
Important Notice ............................................................................................................................................................................. ii
Table of Contents .......................................................................................................................................................................... iii
List of Tables.................................................................................................................................................................................. iv
List of Figures................................................................................................................................................................................ iv
Chapter 1: Windows Registry and Registry Editor................................................................................................................... 1-1
1.1 What is the Windows Registry?...................................................................................................................... 1-1
1.2 What is the Registry Editor? ........................................................................................................................... 1-1
Chapter 2: ServoWorks CNC and SMP Registry Data.............................................................................................................. 2-1
2.1 Overview......................................................................................................................................................... 2-1
2.2 Default Registry Paths .................................................................................................................................... 2-1
2.3 Registry Data in the “HKEY_CLASSES_ROOT\ServoWorks” Key............................................................. 2-1
2.3.1 Folder Structure of the “HKEY_CLASSES_ROOT\ServoWorks” Key................................................. 2-1
2.3.2 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, ServoWorks Key2-
4
2.4 Registry Data in the “HKEY_CLASSES_ROOT\SNK” Key ...................................................................... 2-10
2.4.1 Overview of the “HKEY_CLASSES_ROOT\SNK” Key..................................................................... 2-10
2.4.2 The PLC Control Screen Utility............................................................................................................ 2-10
2.4.3 Counters for PLC .................................................................................................................................. 2-12
2.4.4 D Data for PLC ..................................................................................................................................... 2-12
2.4.5 Keep Relays for PLC ............................................................................................................................ 2-13
2.4.6 Timers for PLC ..................................................................................................................................... 2-13
2.4.7 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder, SNK Key....... 2-14
2.5 Registry Data in the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key ................................................... 2-15
2.5.1 Overview of the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key.................................................. 2-15
2.5.2 The PLC Diagnose Utility..................................................................................................................... 2-15
2.5.3 LadderWorks Console........................................................................................................................... 2-15
2.5.4 Summary of Relevant Registry Information in the HKEY_CURRENT_USER\SNK Folder, SNK_PLC
Key................................................................................................................................................................. 2-15
Chapter 3: APIs for Interacting with the Registry..................................................................................................................... 3-1
Chapter 4: Backing Up and Restoring Registry Data............................................................................................................... 4-1
4.1 Uses for Backing Up and Restoring Registry Data......................................................................................... 4-1
4.2 Exporting Current Parameter Settings to Windows Files ............................................................................... 4-1
4.3 Importing Registry Settings to a PC from Windows Files.............................................................................. 4-6
Chapter 5: Setting All Parameter Settings Back to the Default Settings................................................................................ 5-1
Index ................................................................................................................................................................................................. I

_____________________________________________________________________________________
iii
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Contents

List of Tables

Table 2-1: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (1 of 4)................ 2-4


Table 2-2: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (2 of 4)................ 2-5
Table 2-3: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (3 of 4)................ 2-6
Table 2-4: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (4 of 4)................ 2-7
Table 2-5: HKEY_CLASSES_ROOT\ServoWorks Key – Summary of Registry Information for all ServoWorks
CNC and SMP Products (1 of 2) ....................................................................................................................... 2-8
Table 2-6: HKEY_CLASSES_ROOT\ServoWorks 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_USER\SNK Folder, SNK_PLC Key Registry Information for
LadderWorks PLC........................................................................................................................................... 2-15

List of Figures

Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOT\ServoWorks” Subkeys ....................... 2-3
Figure 2-2: Registry Editor Window Showing “SNK” Subkeys ............................................................................. 2-10
Figure 2-3: PLC Control Screen Window for “RUN” Status .................................................................................. 2-11
Figure 2-4: PLC Control Screen Window for “STOP” Status................................................................................. 2-11
Figure 2-5: Edit Counter Window ........................................................................................................................... 2-12
Figure 2-6: PLC Edit Data Table Screen ................................................................................................................. 2-12
Figure 2-7: Edit Keep Relay Window ..................................................................................................................... 2-13
Figure 2-8: Edit Timer Window .............................................................................................................................. 2-13
Figure 2-9: Registry Editor Window Showing “HKEY_CURRENT_USER\SNK\SNK_PLC” Subkeys .............. 2-15
Figure 4-1: Start Menu Selection Showing “Run…”................................................................................................. 4-1
Figure 4-2: Run Window ........................................................................................................................................... 4-2
Figure 4-3: Main Registry Editor Window................................................................................................................ 4-2
Figure 4-4: Registry Editor Window with “ServoWorks” Selected .......................................................................... 4-2
Figure 4-5: Registry Editor Window with “GMC” Selected ..................................................................................... 4-3
Figure 4-6: Registry Editor Window – File Pull Down Menu................................................................................... 4-3
Figure 4-7: Export Registry File Window (1 of 2) .................................................................................................... 4-4
Figure 4-8: Registry Editor Window with “SMP” Selected ...................................................................................... 4-5
Figure 4-9: Export Registry File Window (2 of 2) .................................................................................................... 4-5
Figure 4-10: Registry Editor Window – File Pull Down Menu................................................................................. 4-7
Figure 4-11: Import Registry File Window ............................................................................................................... 4-7
Figure 4-12: Registry Editor Dialog Box – Importing Success Message .................................................................. 4-7
Figure 5-1: Start Menu Selection Showing “Run…”................................................................................................. 5-1
Figure 5-2: Run Window ........................................................................................................................................... 5-1
Figure 5-3: Main Registry Editor Window................................................................................................................ 5-2
Figure 5-4: Registry Editor Window with “ServoWorks” Selected .......................................................................... 5-2
Figure 5-5: Registry Editor Window with “GMC” Selected ..................................................................................... 5-3
Figure 5-6: Registry Editor Window – Edit Pull Down Menu .................................................................................. 5-3
Figure 5-7: Confirm Delete Key Dialog Box ............................................................................................................ 5-3
Figure 5-8: Registry Editor Window with “SMP” Selected ...................................................................................... 5-4

_____________________________________________________________________________________
iv
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 1: Windows Registry and Registry Editor

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.

! CAUTION
Do not use the Registry Editor to make any changes to Windows registry entries.
Only use the Registry Editor to import or export registry folders. Follow the
procedures in this manual very carefully.

INCORRECTLY EDITING THE REGISTRY MAY SEVERELY


DAMAGE YOUR SYSTEM.

_____________________________________________________________________________________
1-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Chapter 2: ServoWorks CNC and SMP Registry Data

2.1 Overview
This information is only provided for SDK (ServoWorks Development Kit) and MDK (Motion Development Kit)
users, who will need to use the Windows registry for their customized programs. Many registry entries are in binary
and hexadecimal format, and their values are not readily apparent when viewed in the Windows Registry Editor.

! CAUTION
UNDER NO CIRCUMSTANCES SHOULD REGISTRY ENTRIES BE
MODIFIED DIRECTLY.

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.

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 Computer\HKEY_CLASSES_ROOT\ServoWorks

The default registry paths for all LadderWorks PLC parameters are:

My Computer\HKEY_CLASSES_ROOT\SNK

My Computer\HKEY_CURRENT_USER\SNK\SNK_PLC

2.3 Registry Data in the “HKEY_CLASSES_ROOT\ServoWorks” Key

2.3.1 Folder Structure of the “HKEY_CLASSES_ROOT\ServoWorks” 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:

_____________________________________________________________________________________
2-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

1) GMC

This folder is used to store all system parameters, including those created and updated by SDK or MDK
APIs (SWAPI or MAPI) through the SwDll.dll file (a dynamic link library containing code and data for
ServoWorks CNC and SMP products – it provides the interface between the ServoWorks CNC/SMP
applications in the Win32 subspace and the CNC Engine or SMP Motion Engine in the real-time subspace).

System parameters included in this folder are divided into four subfolders:

a) ABS_Encoder

b) NC_Param

c) Servo_Control_Param

d) Servo_Drive_Param

! CAUTION
The format of this “GMC” folder is predetermined and SHOULD NOT BE
CHANGED. We strongly caution against manually modifying this folder in any way.

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 Computer\HKEY_CLASSES_ROOT\ServoWorks\S100M” – sub folders include:

a) ATC

b) AxisName

c) Color

d) Display

e) MacroVar

f) PitchErr

g) Plot

h) ToolOffset

i) WorkpieceOffset

_____________________________________________________________________________________
2-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

3) Products

This folder is used to store the product version and the license code, and is created and updated by the
ServoWorks CNC or SMP installer.

A screen shot of the “ServoWorks” key in the HKEY_CLASSES_ROOT folder (showing multiple ServoWorks
CNC and SMP installations) follows:

Figure 2-1: Registry Editor Window Showing “HKEY_CLASSES_ROOT\ServoWorks” Subkeys

_____________________________________________________________________________________
2-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

2.3.2 Summary of Relevant Registry Information in the HKEY_CLASSES_ROOT Folder,


ServoWorks Key

Corresponding Corresponding Variable


Sub Folder Value Entry Name Parameter Name* Name in SDK
Reserved Reserved
ABS_Encoder AbsEnc_Home_Value AbsEncHomeValue
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
Accumulate HandWheel Pulse
HandWheel_Pulse_Accum (HandWheel Pulse HandwheelPulseAccumulation
Accumulation)
Enable HandWheel /
HandWheel_Type HandwheelType
HandWheel Type
Home_Direction Home Direction HomeDirection
Home_Reverse_Distance Home Reverse Distance HomeReverseDistance
Home_Reverse_Dwell_Time Home Reverse Dwell Time HomeReverseDwellTime
NC_Param
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
Enable Integer Programming
Int_Prog_Enable IntProgEnable
with Machine Unit
Jog_Feedrate Jog Feedrate JogFeedrate
LengthDn_EDM Reserved
LengthUp_EDM Reserved
Linear_Scale_On Reserved
Maximum Acceleration/
Max_AccDec_Rate MaxAccDecRate
Deceleration Rate
Minus_Stroke Minus Stroke MinusStroke
No_Of_DC120 Number of DC Modules NoOfDC_Modules
No_Of_IM200 Number of IM Modules NoOfIM_Modules

Table 2-1: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (1 of 4)

_____________________________________________________________________________________
2-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Corresponding Corresponding Variable


Sub Folder Value Entry Name Parameter Name* Name in SDK
Over Position Error Sync Limit
OverPosErrSynLimit_Rpd OverPosErrSynLimit_Rpd
– Moving
Over Position Error Sync Limit
OverPosErrSynLimit_Stp OverPosErrSynLimit_Stp
– Stopped
Pitch_Interval Pitch Interval PitchInterval
Pitch_Origin Pitch Origin PitchOrigin
Plus_Stroke Plus Stroke PlusStroke
PowerCntl_EDM Reserved
Product_Version Reserved
G00 Perform Linear
Rapid_Feed_Type Interpolation RapidFeedType
(Rapid Feed Type)
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
Sync Slave Axis
SynSlaveCompGain SynSlaveCompGain
Compensation Gain
TimeOver_EDM Reserved
Z_Dir_EDM Reserved
Z_Spd_EDM Reserved
Distance Per Encoder
Dis_Enc_Rev DisPerEncRev
Revolution
EStop_Type E-STOP Type EStopType
In_Position_Val In Position Width InPositionWidth
Limit_Switch_Action Hard Limit Switch Action LimitSwitchAction
Servo_Control_Param
Limit_Switch_Type Limit Switch Type LimitSwitchType
Machine Unit (Minimum
Machine_Unit MachineUnit
Resolution)
Notch_Filter1_d1 Reserved
Notch_Filter1_d2 Reserved

Table 2-2: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (2 of 4)

_____________________________________________________________________________________
2-5
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Corresponding Corresponding Variable


Sub Folder Value Entry Name Parameter Name* 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 Position Error Protection OverPosErrServoOffLimit_Mo
Over_PosErr_Limit_Moving
Servo_Control_Param Limit – Moving ving
(continued) Over Position Error Protection OverPosErrServoOffLimit_Sto
Over_PosErr_Limit_Stopped
Limit – Stopped pped
Position Loop Integral Control
Pos_iEnable PosLoopIntEnable
Enable
Position Loop Integral
Pos_iSaturation PosLoopIntSaturation
Saturation
Position Loop Integral Time
Pos_iTimeConst PosLoopIntTimeConst
Constant
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
SmoothingTime_Regular_Cutt
Smoothing_Time_Cutting Smoothing Time – Cutting
ing
Smoothing_Time_Look_Ahead Look Ahead Smoothing Time SmoothingTime_LookAhead
SmoothingTime_Regular_Ma
Smoothing_Time_Manual Smoothing Time – Manual
nual
SmoothingTime_Regular_Rap
Smoothing_Time_Rapid Smoothing Time – Rapid
id
VelocityFF_Enable Velocity Feedforward Enable VelocityFFEnable
Velocity Feedforward
VelocityFF_Pct VelocityFFpct
Percentage
Table 2-3: HKEY_CLASSES_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (3 of 4)

_____________________________________________________________________________________
2-6
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Corresponding Corresponding Variable


Sub Folder Value Entry Name Parameter Name* Name in SDK
Servo Drive Velocity
Drive_Vel_Sensitivity DriveVelSensitivity
Sensitivity
Encoder_Polarity Encoder Polarity EncoderPolarity
Encoder_Resolution Encoder Resolution EncoderResolution
Encoder_Type Encoder Type EncoderType
Servo_Drive_Param Motor_Polarity Motor Polarity MotorPolarity
Motor_Type Reserved
Peak_Velocity Peak Velocity PeakVelocity
Rated_Velocity Rated Velocity RatedVelocity
Reserved Reserved
Stepper_Resolution Reserved

Table 2-4: HKEY_CLASSES_ROOT\ServoWorks\GMC 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.

_____________________________________________________________________________________
2-7
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Subkey Parameter Type Sub Folders Sub Subfolders


GMC System Settings See tables, previous pages
COLOR
DISPLAY
FEEDRATE
HANDWHEEL
HOME
MACHINEERROR
MCODE
Password
Lathe Program Settings
PICTURE
PROGRAM
SAFEZONE
SERVOCONTROL
SMOOTHFILTER
SPINDLE_GENERAL
TOOLOFFSET
WORKCOORDINATE
Color
Display
Home
MC_QUAD Program Settings MacroVar PermanentMacroVar
Plot
ToolOffset
WorkpieceOffset
Products Version/License

Table 2-5: HKEY_CLASSES_ROOT\ServoWorks Key – Summary of Registry Information for all


ServoWorks CNC and SMP Products (1 of 2)

_____________________________________________________________________________________
2-8
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

Subkey Parameter Type Sub Folders Sub Subfolders


ATC
AxisName
Color
Display
S100M Program Settings
MacroVar PermanentMacroVar
Plot
ToolOffset
WorkpieceOffset
ATC
AxisName
Color
Display
S120M Program Settings
MacroVar PermanentMacroVar
Plot
ToolOffset
WorkpieceOffset
ATC
AxisName
Color
Display
S140M Program Settings
MacroVar PermanentMacroVar
Plot
ToolOffset
WorkpieceOffset
CylIntAxis
Display
SMP Program Settings GapSensor
Messenger
WORKCOORDINATE

Table 2-6: HKEY_CLASSES_ROOT\ServoWorks Key – Summary of Registry Information for all


ServoWorks CNC and SMP Products (2 of 2)

_____________________________________________________________________________________
2-9
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

2.4 Registry Data in the “HKEY_CLASSES_ROOT\SNK” Key

2.4.1 Overview of the “HKEY_CLASSES_ROOT\SNK” Key

Registry data in the “HKEY_CLASSES_ROOT\SNK” key is used to store information relevant to the PLC Control
Screen Utility included with LadderWorks PLC.

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:\SwPLC\Utility.

If the status of ladder logic is “RUN,” you will see the PLC Control Screen window shown in the following figure:

_____________________________________________________________________________________
2-10
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

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.

_____________________________________________________________________________________
2-11
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

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

_____________________________________________________________________________________
2-12
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

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

_____________________________________________________________________________________
2-13
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

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
CTR See Figure 2-5
PAGE03
PAGE04
PAGE05
DATA
DATA PAGE01 See Figure 2-6
PAGE02
PAGE01
PAGE02
I/O
PAGE03
PAGE04
DATA
PAGE01
SNK_PLC PLC Settings KEEP See Figure 2-7
.
.
PAGE100
PAGE01
.
RELAY
.
PAGE39
DATA
PAGE01
SLINKT . Not used
.
PAGE17
DATA
PAGE01
TMR . See Figure 2-8
.
PAGE10

Table 2-7: Summary of SNK Key Registry Information for all ServoWorks CNC and SMP Products

_____________________________________________________________________________________
2-14
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 2: ServoWorks CNC and SMP Registry Data

2.5 Registry Data in the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key

2.5.1 Overview of the “HKEY_CURRENT_USER\SNK\SNK_PLC” Key

Registry data in the “HKEY_CURRENT_USER\SNK\SNK_PLC” key is used to store information relevant to the
PLC Diagnose Utility and the LadderWorks Console application included with LadderWorks PLC.

A typical screen shot of the “SNK_PLC” key in the HKEY_CURRENT_USER\SNK folder follows:

Figure 2-9: Registry Editor Window Showing “HKEY_CURRENT_USER\SNK\SNK_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_USER\SNK


Folder, SNK_PLC Key

Subkey Parameter Type Sub Folders


COLOR
PLC Diagnose Utility
SNK_PLC_DIAGNOSE SEARCH
Settings
WINDOW
LadderWorks Console
SW_PLC_EDITOR INSATLL_PATH
Settings
Table 2-8: Summary of HKEY_CURRENT_USER\SNK Folder, SNK_PLC Key Registry Information for
LadderWorks PLC

_____________________________________________________________________________________
2-15
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 3: APIs for Interacting with the Registry

Chapter 3: APIs for Interacting with the Registry

Please refer to our API manuals (either the ServoWorks API (SWAPI) Reference Manual for C/C++ and Visual
Basic or the SMP Motion and Logic API (MAPI) Reference Manual for C/C++ and Visual Basic) for the details of
the following registry-related APIs:

• sssLoadParameters (loads parameter settings from registry or the initialization files and feeds the data into
parameter structures)

• sssSaveParameters (saves parameter settings to the system registry or initialization files from the structures)

• sssLoadAbsEncParameters (loads absolute encoder parameters from file or Windows registry and sends it
to the Real-Time Engines. These parameters include information on whether the absolute encoder homing
has ever been performed, and the absolute encoder home location.)

• sssSaveAbsEncParameters (Gets the absolute encoder parameters from the Real-Time Engines, and saves
them to file or to the Windows registry. These parameters include information on whether the absolute
encoder homing has ever been performed, and the absolute encoder home location.)

_____________________________________________________________________________________
3-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

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_ROOT\ServoWorks 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:

_____________________________________________________________________________________
4-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

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

_____________________________________________________________________________________
4-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

5) Click on the symbol next to "ServoWorks" to see the drop-down list under “ServoWorks.” Then click on
the “GMC” key (as shown in the following window):

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:

_____________________________________________________________________________________
4-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

Figure 4-7: Export Registry File Window (1 of 2)

8) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOT\ServoWorks\GMC” –
your location in the registry before you selected “Export.” Browse to the folder where you want to save
this registry settings file, set an arbitrary name for this file (or click on an existing file to overwrite), and
click the "OK" button. This .reg file will contain the current GMC parameter settings.

9) Now click on the relevant Windows application folder in the “ServoWorks” key:

• If you are using 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:

_____________________________________________________________________________________
4-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

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)

_____________________________________________________________________________________
4-5
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

12) Note that the export range for the selected branch shows “HKEY_CLASSES_ROOT\ServoWorks\SMP” in
this example – your location in the registry before you selected “Export.” Browse to the folder where you
want to save this registry settings file, set an arbitrary name for this file (or click on an existing file to
overwrite), and click the "OK" button. This .reg file will contain the current Windows application
parameter settings.

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:

_____________________________________________________________________________________
4-6
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

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

_____________________________________________________________________________________
4-7
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 4: Backing Up and Restoring Registry Data

9) To import a second registry file, select "Import" from the "File" pull-down menu again, as shown in Figure
4-10. You will see the Import Registry File window appear again, as shown in Figure 4-11.

10) Select the second file with your parameter settings (you can only select one file at a time), then click the
"OK" button. You should see a message telling you the file was successfully entered into the registry,
similar to Figure 4-12.

To back up more than two registry files, keep repeating steps 9 and 10.

NOTE: If you are trying to create an identical control system with the same PC environment, you should first install
and register your ServoWorks CNC or SMP product, then import registry settings to overwrite the default settings.

If you import a registry file containing settings for the entire “ServoWorks” key, you will need to reregister your
product, as your license code will be overwritten. [Click on the "Registration" button in the ServoWorks CNC or
SMP installer and input your license code again.] To avoid this problem, instead of importing a registry file
containing settings for the entire “ServoWorks” key, import separate registry files for “GMC” and the relevant
Windows application folder under the “ServoWorks” key.

_____________________________________________________________________________________
4-8
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings

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:

_____________________________________________________________________________________
5-1
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings

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):

_____________________________________________________________________________________
5-2
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings

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:

_____________________________________________________________________________________
5-3
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Chapter 5: Setting All Parameter Settings Back to the Default Settings

• If you are using 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.

_____________________________________________________________________________________
5-4
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index

Index

“ D
“CTR” registry sub folder.................................... 2-12 D data for PLC..................................................... 2-12
“DATA” registry sub folder ................................ 2-12 D edit button ........................................................ 2-12
“KEEP” registry sub folder ................................. 2-13 DATA.................................................................. 2-14
“Run” window ....................................................... 4-1 default program unit .............................................. 2-4
“SNK_PLC .......................................................... 2-15 default registry paths ............................................. 2-1
“SNK” Key.......................................................... 2-10 default settings................................................ 1-1, 5-1
“TMR” registry sub folder................................... 2-13 Default_Cutting_Lead ........................................... 2-4
Default_Program_Unit .......................................... 2-4
A DefaultProgramUnit .............................................. 2-4
Diagnose Utility..................See PLC Diagnose Utility
ABS_Encoder folder....................................... 2-2, 2-4 Dis_Enc_Rev......................................................... 2-5
AbsEnc_Home_Done ............................................ 2-4 DisPerEncRev........................................................ 2-5
AbsEnc_Home_Value ........................................... 2-4
Display............................................................ 2-8, 2-9
AbsEncHomeDone ................................................ 2-4 DISPLAY .............................................................. 2-8
AbsEncHomeValue ............................................... 2-4 distance per encoder revolution ............................. 2-5
absolute encoder parameters.................................. 3-1
Drive_Vel_Sensitivity ........................................... 2-7
accessing parameter information ........................... 4-1 DriveVelSensitivity ............................................... 2-7
accumulate handwheel pulse ................................. 2-4 dry run feedrate...................................................... 2-4
always search for home ......................................... 2-4
DryRun_Feedrate................................................... 2-4
Always_Search_Home .......................................... 2-4 DryRunFeedrate..................................................... 2-4
AlwaysSearchHome .............................................. 2-4 duplicating a control system .................................. 4-1
APIs for interacting with the registry .................... 3-1
ATC ....................................................................... 2-9
E
AXIS.................................................................... 2-14
axis type................................................................. 2-4 Edit Counter Window.......................................... 2-12
Axis_Type ............................................................. 2-4 Edit Data Table Screen ........................................ 2-12
AxisName .............................................................. 2-9 Edit Keep Relay Window .................................... 2-13
AxisType ............................................................... 2-4 Edit Timer Window ............................................. 2-13
enable handwheel .................................................. 2-4
B enable integer programming with machine unit .... 2-4
encoder polarity ..................................................... 2-7
backing up registry data......................................... 4-1 encoder resolution.................................................. 2-7
Backlash ................................................................ 2-4 encoder type........................................................... 2-7
backlash value ....................................................... 2-4 Encoder_Polarity ................................................... 2-7
Encoder_Resolution............................................... 2-7
C Encoder_Type........................................................ 2-7
C edit button ............................................... 2-11, 2-12 EncoderPolarity ..................................................... 2-7
Circle_Error_Limit ................................................ 2-4 EncoderResolution................................................. 2-7
Color............................................................... 2-8, 2-9 EncoderType.......................................................... 2-7
COLOR ........................................................ 2-8, 2-15 E-STOP type.......................................................... 2-5
Confirm Key Delete........................................ 5-3, 5-4 EStop_Type ........................................................... 2-5
Control Screen UtilitySee PLC Control Screen Utility EstopType.............................................................. 2-5
counters for PLC.................................................. 2-12 exporting current parameter settings to Windows
creating an identical control system....................... 4-1 Files ................................................................... 4-1
CTR ..................................................................... 2-14 exporting registry data ........................................... 4-1
CTR counter functional command....................... 2-12 exporting settings in your system registry ............. 1-1
CTRC counter functional command .................... 2-12
CylIntAxis ............................................................. 2-9 F
FeedDn_EDM........................................................ 2-4

_____________________________________________________________________________________
I
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index

FEEDRATE........................................................... 2-8 identical control system ......................................... 4-1


FeedUp_EDM........................................................ 2-4 importing registry data........................................... 4-1
importing registry settings to a PC from Windows
G files .................................................................... 4-6
importing settings in your system registry............. 1-1
G00 perform linear interpolation ........................... 2-5 in position width .................................................... 2-5
GapSensor.............................................................. 2-9 In_Position_Val ..................................................... 2-5
GMC...................................................................... 4-3
InPositionWidth..................................................... 2-5
GMC folder .................................................... 2-2, 2-8 INSATLL_PATH ................................................ 2-15
grid search speed ................................................... 2-4 installer .................................................................. 2-3
Int_Prog_Enable .................................................... 2-4
H integer programming with machine unit enable .... 2-4
HANDWHEEL...................................................... 2-8 IntProgEnable ........................................................ 2-4
handwheel pulse accumulation .............................. 2-4
handwheel type ...................................................... 2-4 J
HandWheel_Pulse_Accum .................................... 2-4 jog feedrate ............................................................ 2-4
HandWheel_Type.................................................. 2-4
Jog_Feedrate.......................................................... 2-4
HandwheelPulseAccumulation.............................. 2-4 JogFeedrate............................................................ 2-4
HandwheelType..................................................... 2-4
hard limit switch action ......................................... 2-5
K
HKEY_CLASSES_ROOT .................................. 2-10
HKEY_CLASSES_ROOT folder.......................... 2-1 K edit button ............................................... 2-11, 2-13
HKEY_CURRENT_USER ................................. 2-15 KEEP ................................................................... 2-14
HKEY_CURRENT_USER folder......................... 2-1 keep relays for PLC ............................................. 2-13
HKEY_CURRENT_USER\SNK ........................ 2-15 keys........................................................................ 1-1
Home ..................................................................... 2-8
HOME ................................................................... 2-8 L
home direction ....................................................... 2-4
home reverse distance............................................ 2-4 LadderWorks Console ......................................... 2-15
home reverse dwell Time....................................... 2-4 LadderWorks PLC...................................... 2-10, 2-15
Lathe folder ........................................................... 2-8
home shift .............................................................. 2-4
home speed ............................................................ 2-4 legacy software products ..................................... 2-15
home switch search speed...................................... 2-4 LengthDn_EDM .................................................... 2-4
LengthUp_EDM .................................................... 2-4
home switch type ................................................... 2-4
home type .............................................................. 2-4 license code ........................................................... 2-3
Home_Direction .................................................... 2-4 limit switch type .................................................... 2-5
Home_Reverse_Distance....................................... 2-4 Limit_Switch_Action ............................................ 2-5
Home_Reverse_Dwell_Time ................................ 2-4 Limit_Switch_Type ............................................... 2-5
LimitSwitchAction ................................................ 2-5
Home_Shift............................................................ 2-4
Home_Speed.......................................................... 2-4 LimitSwitchType ................................................... 2-5
Home_Switch_Search_Speed................................ 2-4 Linear_Scale_On ................................................... 2-4
look ahead smoothing time.................................... 2-6
Home_Switch_Type .............................................. 2-4
Home_Timeout...................................................... 2-4
Home_Type ........................................................... 2-4 M
HomeDirection ...................................................... 2-4 machine unit .......................................................... 2-5
HomeReverseDistance........................................... 2-4 Machine_Unit ........................................................ 2-5
HomeReverseDwellTime ...................................... 2-4 MACHINEERROR ............................................... 2-8
HomeShift.............................................................. 2-4 MachineUnit .......................................................... 2-5
HomeSpeed............................................................ 2-4 MacroVar........................................................ 2-8, 2-9
HomeSwitchSearchSpeed...................................... 2-4 Max_AccDec_Rate................................................ 2-4
HomeSwitchType .................................................. 2-4 MaxAccDecRate.................................................... 2-4
HomeType ............................................................. 2-4 maximum acceleration/deceleration rate ............... 2-4
MC_QUAD folder................................................. 2-8
I MCODE................................................................. 2-8
MDK...................................................................... 2-1
I/O........................................................................ 2-14
MESSAGE .......................................................... 2-14

_____________________________________________________________________________________
II
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index

Messenger.............................................................. 2-9 P
minimum resolution............................................... 2-5
PAGE01............................................................... 2-14
minus stroke........................................................... 2-4
parameter default settings ...................................... 1-1
Minus_Stroke ........................................................ 2-4
parameters
MinusStroke .......................................................... 2-4
program.............................................................. 2-2
modifying settings in your system registry............ 1-1
parameters, absolute encoder................................. 3-1
motor polarity ........................................................ 2-7
Password................................................................ 2-8
Motor_Polarity ...................................................... 2-7
paths....................................................................... 2-1
Motor_Type........................................................... 2-7
peak velocity.......................................................... 2-7
MotorPolarity ........................................................ 2-7
Peak_Velocity........................................................ 2-7
PeakVelocity.......................................................... 2-7
N
PermanentMacroVar....................................... 2-8, 2-9
NC_Param folder............................................ 2-2, 2-4 PICTURE .............................................................. 2-8
No_Of_DC120 ...................................................... 2-4 pitch interval.......................................................... 2-5
No_Of_IM200 ....................................................... 2-4 pitch origin............................................................. 2-5
NoOfDC_Modules................................................. 2-4 Pitch_Interval ........................................................ 2-5
NoOfIM_Modules ................................................. 2-4 Pitch_Origin .......................................................... 2-5
Notch_Filter1_d1................................................... 2-5 PitchInterval .......................................................... 2-5
Notch_Filter1_d2................................................... 2-5 PitchOrigin ............................................................ 2-5
Notch_Filter1_Enable............................................ 2-6 PLC............................................................. 2-10, 2-15
Notch_Filter1_n1................................................... 2-6 PLC Control Screen utility .................................. 2-11
Notch_Filter1_n2................................................... 2-6 PLC Control Screen Utility ................................. 2-10
Notch_Filter2_d1................................................... 2-6 PLC Diagnose Utility .......................................... 2-15
Notch_Filter2_d2................................................... 2-6 PLC Diagnose Utility .......................................... 2-15
Notch_Filter2_Enable............................................ 2-6 PLC Edit Data Table Screen................................ 2-12
Notch_Filter2_n1................................................... 2-6 Plot.................................................................. 2-8, 2-9
Notch_Filter2_n2................................................... 2-6 plus stroke.............................................................. 2-5
Notch_Filter3_d1................................................... 2-6 Plus_Stroke............................................................ 2-5
Notch_Filter3_d2................................................... 2-6 PlusStroke.............................................................. 2-5
Notch_Filter3_Enable............................................ 2-6 Pos_iEnable ........................................................... 2-6
Notch_Filter3_n1................................................... 2-6 Pos_iSaturation...................................................... 2-6
Notch_Filter3_n2................................................... 2-6 Pos_iTimeConst .................................................... 2-6
Notch_Filter4_d1................................................... 2-6 Pos_pGain.............................................................. 2-6
Notch_Filter4_d2................................................... 2-6 position loop gain .................................................. 2-6
Notch_Filter4_Enable............................................ 2-6 position loop integral control enable ..................... 2-6
Notch_Filter4_n1................................................... 2-6 position loop integral saturation ............................ 2-6
Notch_Filter4_n2................................................... 2-6 position loop integral time constant....................... 2-6
number of DC modules.......................................... 2-4 PosLoopGain ......................................................... 2-6
number of IM modules .......................................... 2-4 PosLoopIntEnable ................................................. 2-6
PosLoopIntSaturation ............................................ 2-6
O PosLoopIntTimeConst........................................... 2-6
PowerCntl_EDM ................................................... 2-5
over position error protection limit – moving........ 2-6 product version ...................................................... 2-3
over position error protection limit – stopped........ 2-6 Product_Version .................................................... 2-5
over position error sync limit – moving................. 2-5 Products folder................................................ 2-3, 2-8
over position error sync limit – stopped ................ 2-5 PROGRAM ........................................................... 2-8
Over_PosErr_Limit_Moving................................. 2-6 program data.......................................................... 2-2
Over_PosErr_Limit_Stopped ................................ 2-6 program parameters ............................................... 2-2
OverPosErrServoOffLimit_Moving ...................... 2-6
OverPosErrServoOffLimit_Stopped...................... 2-6
R
OverPosErrSynLimit_Rpd..................................... 2-5
OverPosErrSynLimit_Stp ...................................... 2-5 rapid feed type ....................................................... 2-5
overwriting registry settings .................................. 4-6 rapid feedrate ......................................................... 2-5
Rapid_Feed_Type.................................................. 2-5
Rapid_Feedrate...................................................... 2-5
Rapid_Feedrate_Zero ............................................ 2-5

_____________________________________________________________________________________
III
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index

RapidFeedrate........................................................ 2-5 SMOOTHFILTER................................................. 2-8


RapidFeedType...................................................... 2-5 smoothing mode – cutting ..................................... 2-6
rated velocity ......................................................... 2-7 smoothing mode – manual..................................... 2-6
Rated_Velocity ...................................................... 2-7 smoothing mode – rapid ........................................ 2-6
RatedVelocity ........................................................ 2-7 smoothing time – cutting ....................................... 2-6
Ref_Point_2........................................................... 2-5 smoothing time – manual ...................................... 2-6
Ref_Point_3........................................................... 2-5 smoothing time – rapid .......................................... 2-6
Ref_Point_4........................................................... 2-5 Smoothing_Mode_Cutting .................................... 2-6
reference position #2 ............................................. 2-5 Smoothing_Mode_Manual .................................... 2-6
reference position #3 ............................................. 2-5 Smoothing_Mode_Rapid....................................... 2-6
reference position #4 ............................................. 2-5 Smoothing_Time_Cutting ..................................... 2-6
RefPoint_2............................................................. 2-5 Smoothing_Time_Look_Ahead ............................ 2-6
RefPoint_3............................................................. 2-5 Smoothing_Time_Manual ..................................... 2-6
RefPoint_4............................................................. 2-5 Smoothing_Time_Rapid........................................ 2-6
regedit......................................................4-2, 4-6, 5-1 SmoothingMode_Cutting ...................................... 2-6
registry APIs.......................................................... 3-1 SmoothingMode_Manual ...................................... 2-6
registry default settings.......................................... 5-1 SmoothingMode_Rapid......................................... 2-6
Registry Editor....................................................... 4-2 SmoothingTime_LookAhead ................................ 2-6
Registry Editor, definition ..................................... 1-1 SmoothingTime_Regular_Cutting......................... 2-6
registry paths ......................................................... 2-1 SmoothingTime_Regular_Manual......................... 2-6
registry, definition ................................................. 1-1 SmoothingTime_Regular_Rapid ........................... 2-6
regular smoothing time .......................................... 2-6 SMP folder............................................................. 2-9
RELAY................................................................ 2-14 SNK key ................................................................ 2-1
Reserved ..................................................2-5, 2-6, 2-7 SNK_PLC folder ................................................. 2-14
restoring registry data ............................................ 4-1 SNK_PLC_DIAGNOSE ..................................... 2-15
retract vector.......................................................... 2-5 SPINDLE_GENERAL .......................................... 2-8
Retract_Vector....................................................... 2-5 sssLoadAbsEncParameters .................................... 3-1
RetractVector......................................................... 2-5 sssLoadParameters................................................. 3-1
Rpd_Linear_Feed .................................................. 2-5 sssSaveAbsEncParameters .................................... 3-1
Rpd_Linear_Feed_Zero......................................... 2-5 sssSaveParameters ................................................. 3-1
RUN status........................................................... 2-10 Stepper_Resolution................................................ 2-7
STOP status ......................................................... 2-11
S subkeys .................................................................. 1-1
SW_PLC_EDITOR ............................................. 2-15
S100M folder......................................................... 2-9 SwDll.dll................................................................ 2-2
S120M folder......................................................... 2-9
SynAssociatedToAxis ........................................... 2-5
S140M folder......................................................... 2-9 sync master axis..................................................... 2-5
SAFEZONE........................................................... 2-8 sync slave axis associated to axis .......................... 2-5
saving current parameter settings to Windows Files 4-
sync slave axis compensation gain ........................ 2-5
1 SynControlRes1..................................................... 2-5
saving registry data................................................ 4-1 SynControlRes2..................................................... 2-5
SDK ....................................................................... 2-1
SynSlaveCompGain............................................... 2-5
SEARCH ............................................................. 2-15
servo drive velocity sensitivity .............................. 2-7
T
Servo_Control_Param folder ...................2-2, 2-5, 2-6
Servo_Drive_Param folder ............................. 2-2, 2-7 T edit button ............................................... 2-11, 2-13
SERVOCONTROL ............................................... 2-8 TABLE ................................................................ 2-14
ServoWorks ........................................................... 4-2 TimeOver_EDM.................................................... 2-5
ServoWorks key .................................................... 2-1 timers for PLC ..................................................... 2-13
Set_Point................................................................ 2-5 TMR .................................................................... 2-14
setting all parameter settings back to the default ToolOffset....................................................... 2-8, 2-9
settings............................................................... 5-1 TOOLOFFSET ...................................................... 2-8
shift direction......................................................... 2-5 tree ......................................................................... 1-1
Shift_Direction ...................................................... 2-5
ShiftDirection ........................................................ 2-5 U
SLINKT............................................................... 2-14
unit......................................................................... 2-4

_____________________________________________________________________________________
IV
REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS
Index

V W
velocity feedforward enable .................................. 2-6 warning regarding registry editing......................... 1-1
velocity feedforward percentage............................ 2-6 WINDOW............................................................ 2-15
VelocityFF_Enable................................................ 2-6 Windows Registry, definition................................ 1-1
VelocityFF_Pct...................................................... 2-6 WORKCOORDINATE .................................. 2-8, 2-9
VelocityFFEnable.................................................. 2-6 WorkpieceOffset............................................. 2-8, 2-9
VelocityFFPct........................................................ 2-6
version, product ..................................................... 2-3 Z
viewing settings in your system registry................ 1-1
Z_Dir_EDM .......................................................... 2-5
Z_Spd_EDM.......................................................... 2-5

_____________________________________________________________________________________
V

Vous aimerez peut-être aussi