+ All Categories
Home > Documents > Windows Registry Reference Manual - Soft...

Windows Registry Reference Manual - Soft...

Date post: 30-May-2020
Category:
Upload: others
View: 40 times
Download: 1 times
Share this document with a friend
39
Windows Registry Reference Manual for ServoWorks CNC Products and SMP Series General Motion Control Products Revision 1.0 © 2007 Soft Servo Systems, Inc.
Transcript
Page 1: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

Windows Registry Reference Manual for ServoWorks CNC Products and

SMP Series General Motion Control Products

Revision 1.0 © 2007 Soft Servo Systems, Inc.

Page 2: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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.

Page 3: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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.

Page 4: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_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

Page 5: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

REFERENCE MANUAL FOR SERVOWORKS CNC PARAMETERS AND FUNCTIONS Contents

_____________________________________________________________________________________ iv

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

Page 6: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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 !

Page 7: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

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 !

Page 8: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

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 !

Page 9: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_ROOT\ServoWorks” Subkeys

Page 10: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (1 of 4)

Page 11: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_ROOT\ServoWorks\GMC Subkey, System Settings Parameters (2 of 4)

Page 12: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_Moving

Over_PosErr_Limit_Stopped Over Position Error Protection Limit – Stopped

OverPosErrServoOffLimit_Stopped

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_Cutting

Smoothing_Time_Look_Ahead Look Ahead Smoothing Time SmoothingTime_LookAhead

Smoothing_Time_Manual Smoothing Time – Manual SmoothingTime_Regular_Manual

Smoothing_Time_Rapid Smoothing Time – Rapid SmoothingTime_Regular_Rapid

VelocityFF_Enable Velocity Feedforward Enable VelocityFFEnable

Servo_Control_Param (continued)

VelocityFF_Pct Velocity Feedforward Percentage VelocityFFpct

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

Page 13: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_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.

Page 14: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_ROOT\ServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (1 of 2)

Page 15: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_ROOT\ServoWorks Key – Summary of Registry Information for all ServoWorks CNC and SMP Products (2 of 2)

Page 16: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 17: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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.

Page 18: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 19: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 20: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 21: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_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 SEARCH SNK_PLC_DIAGNOSE PLC Diagnose Utility

Settings WINDOW

SW_PLC_EDITOR LadderWorks Console Settings INSATLL_PATH

Table 2-8: Summary of HKEY_CURRENT_USER\SNK Folder, SNK_PLC Key Registry Information for LadderWorks PLC

Page 22: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 23: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 24: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 25: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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:

Page 26: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 27: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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)

Page 28: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 29: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 30: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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.

Page 31: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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:

Page 32: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 33: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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:

Page 34: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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.

Page 35: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 36: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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_USER\SNK ........................ 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

Page 37: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 38: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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

Page 39: Windows Registry Reference Manual - Soft Servosoftservo.com/wp-content/Documentation/300_Registry.pdf · Windows Registry Reference Manual for ServoWorks CNC Products and ... loss

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


Recommended