DriveDebug User Manual
DriveDebug User Manual
User's Manual
DriveDebug
DriveDebug
User's Manual
DriveWare
Code: 3AFE 64289918 Rev O
EFFECTIVE: 01.03.2005
SUPERSEDES: 31.05.2002
Table of Contents
Table of Contents................................................................................................................................................v
Chapter 1 - General..........................................................................................................................................1-1
General Information .................................................................................................................................1-1
Chapter 2 Installation of DriveDebug..........................................................................................................2-1
Installing DriveDebug Software ...............................................................................................................2-1
Installing DriveDebug Hardware..............................................................................................................2-1
Installing the DDCS PCMCIA Card ...............................................................................................2-2
Installing the DDCS ISA Board......................................................................................................2-2
Installing the PCI / PCMCIA adapter .............................................................................................2-2
Chapter 3 - Use of DriveDebug .......................................................................................................................3-1
Starting the DriveDebug Program ...........................................................................................................3-1
Screen Layout..........................................................................................................................................3-1
Targets.....................................................................................................................................................3-2
Target List Window ..................................................................................................................................3-3
Colors in the Target List ................................................................................................................3-3
Monitoring (Numerical Display) ...............................................................................................................3-3
Application Variables .....................................................................................................................3-5
Pin Connections ............................................................................................................................3-6
Recording Numeric Values to a File ........................................................................................................3-6
Trending (Graphical Display)...................................................................................................................3-7
Trend Buffer...................................................................................................................................3-9
Speed and Torque Steps ............................................................................................................3-10
Trend Save ..................................................................................................................................3-10
Control Panel .........................................................................................................................................3-11
Target's Status.............................................................................................................................3-11
Parameter Window ................................................................................................................................3-12
Backup and Restore of Parameters ............................................................................................3-12
Fault Logger Window.............................................................................................................................3-12
Data Logger Window .............................................................................................................................3-13
Data Logger Monitor....................................................................................................................3-14
Macros ...................................................................................................................................................3-15
Write the Macro into an Empty Macro Window ...........................................................................3-16
Convert a Saved Monitor Window Data into a Macro .................................................................3-17
Macro Execution Window............................................................................................................3-17
Definition Files .......................................................................................................................................3-19
Help........................................................................................................................................................3-19
Exit .........................................................................................................................................................3-19
Chapter 4 - File Menu.......................................................................................................................................4-1
Save Current Window As.........................................................................................................................4-1
Print Current Window...............................................................................................................................4-1
Display Trend Text File............................................................................................................................4-1
Display Recorder File ..............................................................................................................................4-1
Display DriveBDU File .............................................................................................................................4-1
Current Symbol File .................................................................................................................................4-2
Select Symbol File ...................................................................................................................................4-2
Current Appl Var File ...............................................................................................................................4-2
User's Manual
0-v
Table of Contents
Select Appl Var File .................................................................................................................................4-2
Exit ...........................................................................................................................................................4-2
Chapter 5 - Edit Menu ......................................................................................................................................5-1
Cut ...........................................................................................................................................................5-1
Copy.........................................................................................................................................................5-1
Paste........................................................................................................................................................5-1
Delete.......................................................................................................................................................5-1
Chapter 6 - Target Menu..................................................................................................................................6-1
Open Target List Window ........................................................................................................................6-1
Update Target List Window (with Names)...............................................................................................6-1
Change Default Target ............................................................................................................................6-1
Open Control Panel .................................................................................................................................6-1
Open Parameter Window ........................................................................................................................6-1
Open Fault Window .................................................................................................................................6-1
Data Logger Monitor ................................................................................................................................6-1
Backup .....................................................................................................................................................6-1
Restore ....................................................................................................................................................6-1
Enable Communication............................................................................................................................6-2
Disable Communication...........................................................................................................................6-2
Comm Statistics.......................................................................................................................................6-2
Start DriveBDU ........................................................................................................................................6-2
Chapter 7 - Config Menu .................................................................................................................................7-1
New Configuration ...................................................................................................................................7-1
Change Title ............................................................................................................................................7-1
Open Configuration..................................................................................................................................7-1
Save Configuration ..................................................................................................................................7-1
Chapter 8 - MonWin Menu...............................................................................................................................8-1
New Monitor Window...............................................................................................................................8-1
Change Window Title...............................................................................................................................8-1
Change Window Target ...........................................................................................................................8-1
Enable Monitoring....................................................................................................................................8-1
Disable Monitoring ...................................................................................................................................8-1
Open Monitor Window .............................................................................................................................8-1
Save Monitor Window..............................................................................................................................8-1
Add Symbol..............................................................................................................................................8-1
Add Abs Address .....................................................................................................................................8-1
Add Parameter.........................................................................................................................................8-2
Add Appl Variable ....................................................................................................................................8-2
Add Dataset Item .....................................................................................................................................8-2
Search/Update Symbols ..........................................................................................................................8-2
Remove Item............................................................................................................................................8-3
Change Display Mode .............................................................................................................................8-3
Define Comment......................................................................................................................................8-3
Define Pointer ..........................................................................................................................................8-3
Change Item Target.................................................................................................................................8-3
Set Item Value .........................................................................................................................................8-3
Undo Item Value Setting..........................................................................................................................8-3
Start/Stop Recorder .................................................................................................................................8-3
Change Line Layout.................................................................................................................................8-3
Chapter 9 AC80Win Menu ............................................................................................................................9-1
New AC80 Window..................................................................................................................................9-1
0 - vi
User's Manual
Table of Contents
Change Window Title...............................................................................................................................9-1
Open AC80 Window ................................................................................................................................9-1
Save AC80 Window.................................................................................................................................9-1
Add Symbol..............................................................................................................................................9-1
Add Abs Address .....................................................................................................................................9-1
Remove Item............................................................................................................................................9-1
Change Display Mode .............................................................................................................................9-1
Define Comment......................................................................................................................................9-1
Chapter 10 - TrendWin Menu ........................................................................................................................10-1
New Trend Window ...............................................................................................................................10-1
Change Window Title.............................................................................................................................10-1
Change Window Target .........................................................................................................................10-1
Open Trend Window..............................................................................................................................10-1
Save Trend Window ..............................................................................................................................10-1
Symbol ...................................................................................................................................................10-1
Abs Address ..........................................................................................................................................10-1
Parameter ..............................................................................................................................................10-1
Appl Variable .........................................................................................................................................10-2
Dataset Item...........................................................................................................................................10-2
Display Helper List.................................................................................................................................10-2
Change Num Display Mode...................................................................................................................10-2
Change Item Target...............................................................................................................................10-2
Set Item Value .......................................................................................................................................10-2
Undo Item Value Setting........................................................................................................................10-2
Change Sample Interval ........................................................................................................................10-3
Change Buffer Size................................................................................................................................10-3
Start/Stop Trending................................................................................................................................10-3
Set Trig Condition ..................................................................................................................................10-3
Clear Graph Area...................................................................................................................................10-3
Define Steps ..........................................................................................................................................10-3
Step........................................................................................................................................................10-3
Mouse and Keyboard Operations..........................................................................................................10-3
Vertical Scrolling and Scaling......................................................................................................10-3
Horizontal Scrolling and Scaling..................................................................................................10-4
Chapter 11 - MacroWin Menu........................................................................................................................11-1
New Macro Window...............................................................................................................................11-1
Open Macro ...........................................................................................................................................11-1
Save Macro............................................................................................................................................11-1
Save Macro As ......................................................................................................................................11-1
Execute Macro.......................................................................................................................................11-1
Execute Selected Lines .........................................................................................................................11-2
Chapter 12 - DLogWin Menu .........................................................................................................................12-1
New Data Logger Window.....................................................................................................................12-1
Change Window Title.............................................................................................................................12-1
Read Data Logger Info ..........................................................................................................................12-1
Initialize Data Logger .............................................................................................................................12-1
Data Logger Control ..............................................................................................................................12-1
Upload Data Logger Samples ...............................................................................................................12-1
Numeric Display of Samples .................................................................................................................12-1
Chapter 13 - Windows Menu.........................................................................................................................13-1
Tile .........................................................................................................................................................13-1
Cascade.................................................................................................................................................13-1
User's Manual
0 - vii
Table of Contents
Arrange Icons ........................................................................................................................................13-1
Close All.................................................................................................................................................13-1
Chapter 14 - Help Menu .................................................................................................................................14-1
Contents.................................................................................................................................................14-1
About DriveDebug .................................................................................................................................14-1
Chapter 15 - Appendices...............................................................................................................................15-1
Appendix 1......................................................................................................................................................15-1
Startup Parameters................................................................................................................................15-1
Table of Startup Parameters .......................................................................................................15-2
Appendix 2......................................................................................................................................................15-3
Special Comments.................................................................................................................................15-3
Value Type Interpretation ............................................................................................................15-3
Appendix 3......................................................................................................................................................15-4
AC80 and NCB ......................................................................................................................................15-4
Appendix 4......................................................................................................................................................15-5
Macro Language....................................................................................................................................15-5
Summary of Macro Statements...................................................................................................15-5
Assignment Statements ..............................................................................................................15-7
Decision Statements....................................................................................................................15-7
Loop Statements .........................................................................................................................15-7
Target Statement.........................................................................................................................15-7
Wait Statement ............................................................................................................................15-7
Dataset Statements .....................................................................................................................15-8
Macro Chaining Statement..........................................................................................................15-8
File and User Interface Statements.............................................................................................15-9
Data Logger Statements ...........................................................................................................15-13
Fault Logger Statements ...........................................................................................................15-13
Parameter List Statement..........................................................................................................15-14
User Function Statement...........................................................................................................15-14
Exit Statement ...........................................................................................................................15-14
Comment Statement..................................................................................................................15-14
Notes about the Macro Statements...........................................................................................15-15
Example.....................................................................................................................................15-16
Appendix 5....................................................................................................................................................15-17
Remote Operation ...............................................................................................................................15-17
Installation of the Server Program (DDsrvr.exe) .......................................................................15-17
Installation of the DriveDebug Program to a Remote PC .........................................................15-17
Some Differences between the Local and Remote Use ...........................................................15-18
Appendix 6....................................................................................................................................................15-19
Visual Basic Interface ..........................................................................................................................15-19
0 - viii
User's Manual
Chapter 1 - General
General
Information
User's Manual
1-1
General
1-2
User's Manual
Installing
DriveDebug
Software
Installing
DriveDebug
Hardware
User's Manual
2-1
Installation of DriveDebug
Installing the
DDCS PCMCIA
Card
Insert the DDCS card into a vacant PCMCIA slot of the PC.
Connect optical cables between the PCMCIA card and the target
device(s) or between the PCMCIA card and the (first) branching
unit.
The target channel number of the optical connector pair is 0.
Installing the
DDCS ISA Board
Note: If you do not know how to install option boards into your PC,
consult a service technician.
Unplug the power cord of the PC.
Open the cover of the PC.
Insert the DDCS board into a vacant ISA-bus slot of the PC.
Close the cover of the PC.
Connect optical cables between the DDCS board and the target
device(s) or between the DDCS board and the (first) branching
unit.
The target channel numbers of the two optical connector pairs are 0
and 1.
2-2
Adapter software
PCI / PCMCIA adapter
DriveDebug software
DDCS PCMCIA card.
User's Manual
You start the DriveDebug program by using the Start button in the
Taskbar (Start -> Programs -> DriveWare -> DriveDebug if you
have used the default settings in the software installation).
Note: During the startup the program tries to read the application
variable file and/or the symbol file (if defined during the previous
session). If it cannot find the file it displays an error message "Cannot
open file xxxxxx.yyy". You can ignore this error message and
continue but you cannot use any application variables and/or
symbolic addresses during this DriveDebug session.
Screen Layout
When the program starts it displays the main Frame Window (usually
full screen) and user-defined child windows (if any) inside the Frame
Window. There are nine types of child windows:
Target List Window displays the list of all connected targets and
their statuses.
Monitor Window (one or more) for numerical monitoring and
recording of actual values of user-selected parameters, application
variables, dataset items and/or memory locations from one or
more targets
Trend Window (one or more) for graphical trending of actual
values of user-selected parameters, application variables, dataset
items and/or memory locations (max 6 items in one Trend
Window) from one or more targets. Min sample time is from 1
msec (if 1 trend) to 6 msec (if 6 trends).
Parameters Window for upload, compare, change, backup and
restore of the parameters of the current Default Target (the term
Default Target is described in the next section Targets).
Fault Window for upload, display and clear of the faults of the
current Default Target.
Data Logger Window (one or more) for control of targets data
logger operation and display of the collected sample values in
graphical and numeric form
Control Panel Window for local control and status display of the
selected target
Macro Window (one or more) for creation and execution of
macros. A macro is an user-written sequence of macro
statements.
AC80 Window for numerical monitoring of actual values of userselected AC80 memory locations (if DriveDebug is connected to
AC80, see Appendix 3).
User's Manual
3-1
Use of DriveDebug
Targets
3-2
User's Manual
Use of DriveDebug
You open the Target List Window by menu command Target Open
Target List Window. All targets connected to the PC are searched
during the first execution of this command and the target list (channel
and node numbers without target names) is displayed in the window.
The real-time value of target's status bits (Ready / Running / ALARM /
FAULT) is displayed in text format after target's channel and node
numbers.
You can update the target list by menu command Target Update
Target List Window (with Names). This command also reads the
target names.
Note: This update command is available only if you have opened the
Target List Window by menu command Target - Open Target List
Window.
You can select the Default Target from the target list by double
clicking on the desired target in the list.
Colors in the
Target List
If there are no faults in the targets then the background color of all
targets is green.
The text color of the Default Target is determined by using the same
color selection algorithm that is described above for background
colors of the non-Default targets.
The text color of the other targets (if any) is always black.
Monitoring
(Numerical
Display)
User's Manual
3-3
Use of DriveDebug
value =
item =
comment =
address =
You can make some changes to this line layout by menu command
MonWin - Change Line Layout (this command changes the line
layout of all items of all Monitor and Trend Windows).
Note: If a parameter, application variable or symbol (defined during
some previous DriveDebug session) is now unknown then its value is
displayed as a string of question marks.
The Item Target of the new item is the Window Target of the selected
window. You can change items target by menu command MonWin Change Item Target.
You can change the value display format of the selected item by
menu command MonWin - Change Display Mode (this command is
not available with Real type parameters).
If display mode is Boolean then numeric value 0 is displayed as text
FALSE and any other value is displayed as text TRUE.
You can add, change and/or remove optional line comments by menu
command MonWin - Define Comment (special comments are
described in Appendix 2).
3-4
User's Manual
Use of DriveDebug
You remove the selected item line by menu command MonWin Remove Item.
If you click on an item line while holding down the Alt key then
DriveDebug displays the help text of this item (if the help text exists).
You set the value of the selected item by pressing F5 (or by starting
to write the new value directly or by menu command MonWin - Set
Item Value) and undo the previous setting by pressing Ctrl-F5 (or by
menu command MonWin - Undo Item Value Setting).
You can save the data of the selected Monitor Window to a disk file
by menu command File - Save Current Window As.
Later you can e.g. import this file into the document you are working
with or you can download these saved values by a Macro Window
(see section Macros later in this chapter).
Note: The definitions of the selected Monitor Window are
saved/restored by the Save/Open commands in the MonWin menu.
You can select a Monitor Window by pressing (while holding down
the Alt key) the number key that corresponds to the parenthesized
window number of the desired window (see startup parameter N in
Appendix 1).
Application
Variables
User's Manual
3-5
Use of DriveDebug
If you have selected an application variable (i.e. pin) from the pin list,
you can put this application variable to the Monitor (or Trend) Window
by the OK (or Apply) button.
The Apply button works as the OK button but the Application
Variable Window does not disappear and you can immediately select
the next item.
If you have not selected an application variable then all pins of the
selected block are put to the Monitor Window by the OK button.
Pin Connections
Recording Numeric
Values to a File
You can record the numeric values of the items of a Monitor Window
to a file.
First, select the desired parameters, application variables, dataset
items and/or memory locations (max 500 items) to the desired
Monitor Window as described in section Monitoring above in this
chapter.
Then, define the name of the recorder file, record interval and the
number of lines in the recorder file by menu command MonWin
Start/Stop Recorder.
The minimum value of the record interval (in milliseconds) is the
same as the number of items in the Monitor Window (i.e. 1500
msec) and the maximum value is 60000 msec (= 1 min).
One line in the recorder file contains the values of one record interval.
The maximum allowable number of lines depends on the amount of
free disk space. If the recorder file becomes full during recording then
the oldest line is replaced by the new line.
Finally, start the record operation by the Start button.
You can set the values of the items in the recorder window (= Monitor
Window) when the recording is on.
Note: The values of other windows are not updated during recording.
You stop the recording by the F4 key (or by menu command MonWin
Start/Stop Recorder).
You can display graphically the data of the recorder file by menu
command File - Display Recorder File.
3-6
User's Manual
Use of DriveDebug
Trending
(Graphical Display)
When you want to display graphically (and numerically, too) the realtime values of one or more data items, you first
create a new Trend Window by menu command TrendWin - New
Trend Window or
select an existing Trend Window (if not already selected)
There can be max 6 items defined in one Trend Window. These items
are listed in the box at the top of the window (initially all items are
marked with question marks). You click on the item line which you
want to replace with a new item and then make the item definition as
follows:
Parameter is defined by clicking the Param button (or by menu
command TrendWin - Parameter)
Application variable is defined by menu command TrendWin Appl Variable (see section Application Variables above in this
chapter)
Dataset item is defined by menu command TrendWin - Dataset
Item
Symbol name is defined by menu command TrendWin - Symbol
Absolute address is defined by menu command TrendWin - Abs
Address
Note: Check the box 16 Data Bits with DPM memory locations of
AC80.
The default layout of a trend item line is as follows:
value item (address)
where:
value =
item =
address =
You can make some changes to this line layout by menu command
MonWin - Change Line Layout (this command changes the line
layout of all items of all Monitor and Trend Windows).
Note: If a parameter, application variable or symbol (defined during
some previous DriveDebug session) is now unknown then its value is
displayed as a string of question marks.
User's Manual
3-7
Use of DriveDebug
The Item Target of the new item is the Window Target of the selected
window. You can change items target by clicking the Target button
(or by menu command TrendWin - Change Item Target).
You can change the numeric value display format of the selected item
by menu command TrendWin - Change Num Display Mode (this
command is not available with Real type parameters).
If display mode is Boolean then numeric value 0 is displayed as text
FALSE and any other value is displayed as text TRUE (the value
FALSE is displayed as graph value 0 and TRUE as graph value 1).
If you click on an item line of a Trend Window while holding down the
Alt key then DriveDebug displays the help text of this item (if the help
text exists).
After you have defined one or more items, select the item(s) you want
to display during trending by checking the desired check box(es) in
front of the item definition lines.
After you have checked an item then you can set the Y values of the
selected graph by clicking on the top, middle and/or bottom white Y
value text area. You can change these values at any time later on by
selecting first the desired item and then clicking on the desired Y
value text area (this also enables the vertical scrolling and scaling of
existing trend graphs when the trending has been stopped).
The displayed graph Y value texts are normally signed integers (or
reals), but if the numeric display format of the selected item is Fract
then the Y values are fracts as well.
You set the sampling interval (in milliseconds) by clicking the Interval
button (or by menu command TrendWin - Change Sample Interval).
The minimum value is the same as the number of selected graphs
(i.e. 16 msec) and the maximum value is 60000 msec (= 1 min).
You can define a triggering condition by menu command TrendWin
Set Trig Condition. Black value means a value of the first (black)
graph and "Red value means a value of the second (red) graph.
If you want to save the trend history during trending then you must
define the size of the trend buffer before you start trending (see
section Trend Buffer later in this chapter).
If you want to make speed or torque steps during trending then you
must define the speed and torque steps before you start trending (see
section Speed and Torque Steps later in this chapter).
You start (and stop) the trending by pressing the F4 key (or by menu
command TrendWin - Start/Stop Trending).
3-8
User's Manual
Use of DriveDebug
You can change item definitions and selections, sample interval and
Y values during trending.
If you have defined a triggering condition and this condition is met
during trending then the trending stops automatically after the
Sample Count after Trig.
Note: When trending has been started the Trend Window can update
only the numeric actual values of the items selected for trending.
Therefore, the unselected items are dimmed when the trending is on.
The values of other windows are not updated during trending.
You set the value of the selected item by pressing F5 (or by starting
to write the new value directly or by menu command TrendWin - Set
Item Value) and undo the previous setting by pressing Ctrl-F5 (or by
menu command TrendWin - Undo Item Value Setting).
Note: If you want to set (during trending) the value of an item that is
not in the Trend Window then you can display the Helper List box by
the F7 key (or by the List button), select an item from Helper's item
list and press the F5 key (or click Helper's Set Value button). The
Helper List box lists the items that are in the Monitor Window with title
TrendWinHelper. You can put the desired items into this Monitor
Window before you start trending.
With the trending stopped, you can press the mouse button while the
cursor is on the graph area and the numeric values of the samples at
the cursor location are displayed in the list box at the top of the
window on the gray background (the cursor time is displayed above
the graph area). You can move the mouse while holding down the
mouse button. When you release the mouse button then the current
(real-time) values are again displayed in the list box.
You can save the sample values of the selected Trend Window to a
file (in bitmap or text format) by menu command File - Save Current
Window As (with the trending stopped). See sectionTrend Save later
in this chapter.
You can clear the trend graph area by menu command TrendWin Clear Graph Area (when the trending is stopped).
Trend Buffer
The trend graph area of a Trend Window can horizontally display 500
sample batches (sample intervals). One sample batch contains the
sample values of the user-specified trending items (16 items) that
are collected during the time span of the user-specified sampling
interval.
If you want to save and display more sample batches than the last
500 collected ones then you have to set the trend buffer size by menu
command TrendWin - Change Buffer Size. The buffer size defines
User's Manual
3-9
Use of DriveDebug
how many sample batches can be saved to the buffer. The maximum
allowable size of the buffer depends on the free PC disk space.
Note: If you change the buffer size at a later time, and there are
samples in the buffer, then these samples are lost!
When you start trending, all sample batches are now always saved to
the buffer. If the buffer becomes full during trending then the oldest
sample batch is replaced by the new one.
After you stop trending, you can scroll the collected samples
horizontally to the right (or left) by the right (or left) arrow key while
holding down the Alt key (the size of the scroll move is the half of the
trend graph area width).
You can compress the trend graph horizontally to 1/10 from its
previous width using the right arrow key while holding down the
Shift key. The compressing means that every 10th trend sample is
displayed in the Trend Window.
Using the left arrow key (while holding down the Shift key) you can
expand the compressed trend graph.
If you use the Ctrl key instead of the Shift key then the
compress/expand ratio is 2 instead of 10.
If you restart trending after the compress then the collected samples
are displayed on the screen according to the current compress ratio
but all collected samples are always saved to the trend buffer and it is
possible to see the undisplayed intermediate sample values when
you stop trending and expand the trend.
Speed and
Torque Steps
Trend Save
You can save the sample values of the selected Trend Window to a
file by menu command File - Save Current Window As (when the
trending is stopped).
The save format can be either graph (bitmap filename extension is
BMP) or text (filename extension is TXT). It is not necessary to write
the filename extension because DriveDebug appends it automatically
to the filename you specify.
If you select the graph format then you can select Black-and-White or
Color mode. In Black-and-White mode, the widths of the graph lines
3 - 10
User's Manual
Use of DriveDebug
Control Panel
Target's Status
User's Manual
The status info of the target is displayed at the bottom of the Control
Panel.
3 - 11
Use of DriveDebug
The target is either the Default Target (if Remote Control mode) or
the Window Target of the Control Panel (if Local Control mode).
Parameter Window
Backup and
Restore of
Parameters
Fault Logger
Window
3 - 12
You open the Fault Window by menu command Target Open Fault
Window. During the execution of this command the fault logger of the
User's Manual
Use of DriveDebug
Data Logger
Window
User's Manual
3 - 13
Use of DriveDebug
Data Logger
Monitor
3 - 14
User's Manual
Use of DriveDebug
Macros
User's Manual
3 - 15
Use of DriveDebug
You can stop the execution of the macro by pressing the Esc key.
You can save your macro to the macro file shown at the title of the
Macro Window by menu command MacroWin - Save Macro (or to a
new macro file by menu command MacroWin - Save Macro As).
A new Macro Window is opened by menu command MacroWin New Macro Window.
You can add and edit text in a Macro Window in the same way as you
edit text e.g. in the Notepad program. The following "standard"
keyboard key combinations are available:
Ctrl - C
Ctrl - V
Ctrl - X
Del
You can use menu commands Edit - Copy, Edit - Paste, Edit - Cut
and Edit - Delete instead of the above-mentioned keys.
Example: Write the following assignment statements into your new
Macro Window:
50.01 = 1234.5
70.07 = 2
22.05 = 12
By pressing the F9 key the parameters listed in the macro are set to
their defined values in the current Default Target. By changing the
Default Target and pressing the F9 key again the same value settings
can be done for other targets too.
With a target statement you can define that the following statements
will use the target of the target statement instead of the Default
Target. This target specification is in effect until the next target
statement (or to the end of the macro if no more target statements
exist).
3 - 16
User's Manual
Use of DriveDebug
Example: If you want to set the values of the first two parameters (see
the example above) in the target 0,5 and the value of parameter
22.05 in the target 0,2 then the macro example above must be edited
into the following form:
#TARGET
50.01 =
70.07 =
#TARGET
22.05 =
= 0,5
1234.5
2
= 0,2
12
By pressing the F9 key the parameters listed in the macro are set to
their defined values in the defined targets.
When you have finished the macro you should save it by menu
command MacroWin Save Macro As. The filename extension of a
macro file is always MAC.
Convert a Saved
Monitor Window
Data into a
Macro
Macro Execution
Window
User's Manual
3 - 17
Use of DriveDebug
The top area (the String area) is used to display text strings (e.g.
help texts) to the user.
The middle area (the Value area) contains the Value input field
and the Enter button (the Enter key can be used instead of this
button)
The bottom area (the Variable area) contains the Variable input
field and the Set Variable button.
It is possible to create a simple user interface by user interface
statements. Here is an example:
You can e.g. display help information to the user by macro
statement #PUTSTR = "character string" and read user's
input by macro statement V = #GETVAL.
You can write e.g. the default input value by macro statement
#PUTVAL = "character string" (before the V = #GETVAL
statement) and if the user accepts this default value (s)he can
continue by pressing only the Enter key.
If the user wrote an invalid value then you can display an error
message e.g. by macro statement #MSGBOX = "character
string".
The Value input field and the Enter button can be removed by macro
statement #SHOWGETVAL = 0.
The V = #GETVAL statement above halts the execution of the macro
until the user presses the Enter key.
You can set values of macro variables (%c and %Rc) "on the fly" (i.e.
without halting the macro execution) by writing the value setting
command (e.g. %k=123) to the Variable input field and clicking the
Set Variable button.
Note that it is a good practice to read the value of this variable only in
one statement in the macro (e.g. by statement %p = %k) because it
is not possible to know where the execution of the macro is when the
user clicks the Set Variable button.
The Variable input field and the Set Variable button can be removed
by macro statement #SHOWSETVAR = 0.
3 - 18
User's Manual
Use of DriveDebug
Definition Files
Help
Exit
When you exit DriveDebug (e.g. with menu command File - Exit), all
current configuration settings of all current Monitor, Trend and Macro
Windows are always saved into the AMCTOOL.ATC file in the current
directory (if this file already exists it is overwritten).
During the next startup the settings of this file are automatically
copied to the initial configuration settings of the DriveDebug program.
User's Manual
3 - 19
Use of DriveDebug
3 - 20
User's Manual
Using this command you can save the data of the selected window to
a file.
You can later e.g. import this file into the document you are working
with.
Note: The definitions of the selected window are saved/restored
using the Save/Open commands in the MonWin, AC80Win and
TrendWin menus.
Print Current
Window
Using this command you can print the graphs of the selected Trend
Window.
Display Recorder
File
Display DriveBDU
File
Using this command you can display graphically the contents of a file
saved by the DriveBDU program (see menu command Target Start
DriveBDU).
When you have selected the DriveBDU file, you can select the BDU
logger items (16 items) for display.
This command creates a new window based on the selected
information in the DriveBDU file.
You can scroll and scale the graphs in this new window.
User's Manual
4-1
File Menu
Current Symbol
File
This command displays the name and date of the symbol file that is
currently in use.
This command is grayed out if DriveDebug has not found a symbol
file.
This command displays the name and date of the application variable
file that is currently in use.
This command is grayed out if DriveDebug has not found an
application variable file.
With this command, you can select a new application variable file
(*.X01).
The name of the selected application variable file is saved to the
configuration file when you save configuration by Config - Save
Configuration.
Exit
4-2
User's Manual
Copy
Paste
This command inserts the previously copied (or cut) text into the
selected location of the macro you are working with.
Delete
User's Manual
This command removes the selected Macro Window text from the
screen (or the next character of the window if no text selected).
5-1
Edit Menu
5-2
User's Manual
This command displays the list of all targets connected to the PC and
their statuses.
This command updates the target list and also reads the names of
the targets.
Change Default
Target
If the Target List Window is not visible, you can change the Default
Target with this command (if the Target List Window is visible then
you change the Default Target by double clicking on the desired
target in the list).
The channel and node numbers of the Default Target are shown at
the end of the title line of the Frame Window when the communication
is working.
Note: This command is available only if you have opened the Target
List Window by menu command Target - Open Target List Window.
Note: If the Default Target goes down then the whole DriveDebug
communication stops. Failure in one or more other targets does not
prevent the communication with the working targets (if the failed
target comes back then DriveDebug automatically starts to
communicate with it).
Open Control
Panel
Open Parameter
Window
Open Fault
Window
This command opens the Fault Window and uploads the items of the
fault logger of the Default Target.
Data Logger
Monitor
Backup
Restore
User's Manual
6-1
Target Menu
Enable
Communication
Disable
Communication
Comm Statistics
Start DriveBDU
6-2
User's Manual
Change Title
Using this command you can change the Frame Window title of the
current configuration (max 80 characters at the top line).
If you save the definitions of this configuration (see the Save
Configuration command below) then this title is used as the file
name of the saved file.
Open
Configuration
Save Configuration
User's Manual
7-1
Config Menu
7-2
User's Manual
Change Window
Title
Using this command you can change the window title of the selected
Monitor Window (max 80 characters).
If you save the definitions of this Monitor Window (see the Save
Monitor Window command below) then this title is used as the file
name of the saved file.
Change Window
Target
Using this command you can change the target of the selected
Monitor Window. If the Window Target is not specified as the Default
Target, the channel and node numbers of the Window Target are
shown in front of the title of the window.
Enable Monitoring
This command enables the update of the item values of the selected
Monitor Window.
Disable Monitoring
This command disables the update of the item values of the selected
Monitor Window. The text of the disabled window is grayed out.
By pressing the space bar you can update the value of the selected
item in the disabled window.
Open Monitor
Window
Using this command you can add a previously saved Monitor Window
(see the Save Monitor Window command below) to the current
configuration.
Save Monitor
Window
Using this command you can save all definitions of the selected
Monitor Window to a file. The window title is used as the file name.
Add Symbol
Using this command you can add a symbol (or an array of memory
locations starting from this symbol) after the selected line in the active
Monitor Window (or to the end of the list if no line is selected).
As you type the symbol name, the symbol list scrolls automatically to
display the first symbol whose initial letters match the characters you
have typed. In this way, you can quickly find the desired symbol.
The Apply (= Alt + A) button works as the OK button but the dialog
box does not disappear and you can immediately select a new
symbol.
Note: Check the box 16 Data Bits with DPM memory locations of an
AC80.
User's Manual
Using this command you can add an absolute address (or an array of
addresses starting from this address) after the selected line in the
active Monitor Window (or to the end of the list if no line is selected).
The Apply (= Alt + A) button works as the OK button but the dialog
8-1
MonWin Menu
box does not disappear and you can immediately type a new
address.
Note: Check the box 16 Data Bits with DPM memory locations of
AC80.
Add Parameter
Using this command you can add a parameter after the selected line
in the active Monitor Window (or to the end of the list if no line is
selected).
As you type the parameter number, the parameter list scrolls
automatically to display the first parameter whose initial numbers
match the characters you have typed. In this way, you can quickly
find the desired parameter.
The Apply (= Alt + A) button works as the OK button but the dialog
box does not disappear and you can immediately select a new
parameter.
If you want to add several parameters to the Monitor Window, first
select one parameter by clicking on it in the parameter list and then
select the other parameters by clicking on them while holding
down the Ctrl key (if you want to select individual parameters) or
click on the last parameter of the range while holding down the
Shift key (if you want to select a range of parameters)
Finally click OK or Apply (= Alt + A).
Using this command you can add an application variable after the
selected line in the selected Monitor Window (or to the end of the list
if no line selected).
See Chapter 3, section Application Variables for details.
Using this command you can add a dataset item after the selected
line in the selected Monitor Window (or to the end of the list if no line
selected).
The Apply (= Alt + A) button works as the OK button but the dialog
box does not disappear and you can immediately select a new
dataset item.
Search/Update
Symbols
8-2
User's Manual
MonWin Menu
Remove Item
This command deletes the selected line from the active Monitor
Window.
Change Display
Mode
Using this command you can change the display mode of the actual
value of the selected item in the active Monitor Window (this
command is not available with Real type parameters).
If display mode is Boolean then numeric value 0 is displayed as text
FALSE and any other value is displayed as text TRUE.
Define Comment
Using this command you can add, change and/or remove one or
more optional item comments in the active Monitor Window.
Special comments are described in Appendix 2.
Define Pointer
Using this command you can define that the actual value of the
selected item is used as a pointer to the memory type you specify (X,
Y or P memory).
The pointed value is displayed at the beginning of the item line. The
actual value of the item (i.e. the pointer value) is now displayed at the
end of the line.
Change Item
Target
Using this command you can change the target of the selected item.
If the Item Target is not specified to be the Window Target then the
channel and node numbers of the Item Target are shown before the
name of the item.
By this command (or by pressing F5) you can set the value of the
selected item in the active Monitor Window (the current value is
displayed in the value dialog box for editing).
Note: You can start typing value characters without selecting this
command (or pressing the F5 key) because the value dialog box
appears automatically when you have entered the first value
character.
Start/Stop
Recorder
This command either displays the Value Recorder dialog box or stops
the recording (see Chapter 3, section Recording for details).
Change Line
Layout
User's Manual
8-3
MonWin Menu
base+offset format but you can prevent the display of the array
base (on the other array lines except the first one).
prevent the display of parenthesized address values at the end of
item lines.
Note: This command changes the line layout of all items of all Monitor
and Trend Windows.
8-4
User's Manual
User's Manual
9-1
AC80Win Menu
9-2
User's Manual
Change Window
Title
Using this command you can change the window title of the selected
Trend Window (max 80 characters).
If you save the definitions of this Trend Window (see the Save Trend
Window command below) then this title is used as the file name of
the saved file.
Change Window
Target
Using this command you can change the target of the selected Trend
Window. If the Window Target is not specified to be the Default
Target then the channel and node numbers of the Window Target are
shown before the title of the window.
Open Trend
Window
Using this command you can add a previously saved Trend Window
(see the Save Trend Window command below) to the current
configuration.
Save Trend
Window
Using this command you can save all definitions of the selected
Trend Window to a file. The window title is used as the file name.
Symbol
Using this command you can replace the selected item in the
selected Trend Window with a symbol.
When you are entering the symbol name, the symbol list scrolls
automatically to display the first symbol whose initial letters match the
characters you have typed. In this way, you can quickly find the
desired symbol.
Note: Check the box 16 Data Bits with DPM memory locations of an
AC80.
Abs Address
Using this command you can replace the selected item in the
selected Trend Window with an absolute address.
Note: Check the box 16 Data Bits with DPM memory locations of an
AC80.
Parameter
User's Manual
Using this command (or by clicking the Param button) you can
replace the selected item in the selected Trend Window with a
parameter.
As you type the parameter number, the parameter list scrolls
automatically to display the first parameter whose initial numbers
match the characters you have typed. In this way, you can quickly
find the desired parameter.
10 - 1
TrendWin Menu
Appl Variable
Using this command you can replace the selected item in the
selected Trend Window with an application variable.
See Chapter 3, section Application Variables for details.
Dataset Item
Using this command you can replace the selected item in the
selected Trend Window with a dataset item.
This command (or the F7 key) displays a dialog box that contains the
items of the Monitor Window with title TrendWinHelper.
You create this Monitor Window and put the desired items into this
Monitor Window before you start trending.
By this dialog box you can set values of the items in the dialog box
and/or copy items from the dialog box to Trend Window.
Change Num
Display Mode
Using this command you can change the numeric display mode of the
actual value of the selected item in the selected Trend Window (this
command is not available with Real type parameters).
If display mode is Boolean then numeric value 0 is displayed as text
FALSE and any other value is displayed as text TRUE (the value
FALSE is displayed as graph value 0 and TRUE as graph value 1).
Change Item
Target
Using this command (or by clicking the Target button) you can
change the target of the selected item. If the Item Target is not
specified as the Window Target then the channel and node numbers
of the Item Target are shown before the name of the item.
Using this command (or by pressing F5) you can set the value of the
selected item in the selected Trend Window (the current value is
displayed in the value dialog box for editing).
Note: You can start typing value characters without selecting this
command (or pressing the F5 key) because the value dialog box
appears automatically when you have entered the first value
character.
Note: If you want to set (during trending) the value of an item that is
not in the Trend Window then you can display the Helper List box by
the F7 key (or by the List button), select an item from Helper's item
list and press the F5 key (or click Helper's Set Value button). The
Helper List box lists the items that are in the Monitor Window with title
TrendWinHelper. You can put the desired items into this Monitor
Window before you start trending.
This command (or the pressing of the Ctrl-F5 keys) undoes the
previous value setting.
Note: It is not possible to undo if you have changed the active child
window after the value setting.
10 - 2
User's Manual
TrendWin menu
Change Sample
Interval
Using this command (or by clicking the Interval button) you can set
the sampling interval (in milliseconds). The minimum value is the
same as the number of selected graphs (i.e. 16 msec) and the
maximum value is 60000 msec (= 1 min).
Using this command you can change the size of the trend buffer (see
Chapter 3, section Trend Buffer for details).
Start/Stop
Trending
This command (or the F4 key) starts (or stops) the trending. You can
change item definitions and selections, sample interval and Y values
during the trending.
Define Steps
Using this command you can make step definitions (speed or torque
steps).
Step
This command carries out one of the defined speed or torque steps
(alternatively Step1 and Step2).
Mouse and
Keyboard
Operations
You can select an item in the item list box using the up and down
keys or by clicking on an item name text.
Vertical Scrolling
and Scaling
By clicking on the top graph Y value text you can set a new
maximum Y value.
By clicking on the middle graph Y value text you can set a new
offset Y value.
By clicking on the bottom graph Y value text you can set a new
minimum Y value.
Note: The increment in the following operations is half of current area
height.
By holding down the Alt key and pressing the up or down key you
can move the selected graph up or down.
By holding down the Shift key and pressing the up or down key you
can change the value of the top graph Y value text.
By holding down the Ctrl key and pressing the up or down key you
can change the value of the bottom graph Y value text.
User's Manual
10 - 3
TrendWin Menu
Horizontal
Scrolling and
Scaling
10 - 4
User's Manual
Save Macro
This command saves the macro text of the selected Macro Window to
a file whose name is the title of the Macro Window.
Save Macro As
This command saves the macro text of the selected Macro Window to
an user-specified file. The name of the file is displayed as the title of
the Macro Window.
Execute Macro
This command (or the F9 key) starts the execution of the macro of the
selected Macro Window.
The Macro Execution Window is displyed on the screen during the
execution of the macro and you can create a simple user interface by
using this window.
It is possible to read from one file and to write to one file during the
execution of a macro by macro statements #FILENAMEIN =
"filename", #FILENAMEOUT = "filename", V = #FILEIN,
#FILEINRESET and #FILEOUT = ....
You can create a chain of macros by using macro statement
#GOTOMACRO = "macrofilename".
During the execution of some macro statements (e.g. wait
statements) DriveDebug can update numeric values of the items in
Monitor and Trend Windows.
You can stop the execution of the macro by pressing the Esc key.
User's Manual
11 - 1
MacroWin Menu
Execute Selected
Lines
11 - 2
User's Manual
Change Window
Title
Using this command you can change the window title of the selected
Data Logger Window (max 80 characters).
Using this command you can read the definitions (and triggering time
if triggered) of the data logger.
Initialize Data
Logger
Using this command you can define the data logger settings.
Data Logger
Control
Using this command you can manually start, stop, trigger or reset the
data logger.
Upload Data
Logger Samples
Numeric Display of
Samples
Using this command you can display the uploaded sample values in
numeric form.
User's Manual
12 - 1
DLogWin Menu
12 - 2
User's Manual
Cascade
Arrange Icons
Close All
User's Manual
13 - 1
Windows Menu
13 - 2
User's Manual
About DriveDebug
User's Manual
14 - 1
Help Menu
14 - 2
User's Manual
Chapter 15 - Appendices
Appendix 1
Startup Parameters
click Properties
User's Manual
start DriveDebug
15 - 1
Appendices
Table of Startup
Parameters
15 - 2
Param
Language selection.
Texts for other languages than English are in
separate AMCTLNXY.DLL files (where XY are
language identifier letters, e.g. FI). You must
copy the desired text file(s) to your DriveDebug
directory before you can use this parameter.
The parameter K is followed by the language
identifier (XY) of the desired text file name.
Example: /KFI
User's Manual
Appendices
Appendix 2
Special Comments
Definition =
Comment =
definition string
optional text string
Value Type
Interpretation
Effect
Item line text is red if item's value is equal to nnn
Item line text is red if item's value is equal to nnn
Item line text is red if item's value is not equal to nnn
Item line text is red if item's value is greater than nnn
Item line text is red if item's value is greater or equal than nnn
Item line text is red if item's value is lesser than nnn
Item line text is red if item's value is lesser or equal than nnn
Item line text is red if item's value AND nnn is not zero
If used with a Real type parameter then the value string nnn is
assumed to be a real value.
If the value string nnn includes the character "." then it is assumed to
be a fraction.
If the value string nnn starts with the character "+" (or "-") then it is
assumed to be a signed value.
If the value string nnn ends with the character "h" then it is assumed
to be a hex value.
Otherwise the value string nnn is assumed to be an unsigned value.
User's Manual
15 - 3
Appendices
Appendix 3
AC80 and NCB
15 - 4
User's Manual
Appendices
Appendix 4
Macro Language
Summary of
Macro
Statements
X=C
X=Y
X = Y oper C
X = Y oper Z
#IF (X comp C)
#IF (X comp Y)
#ENDIF
#WHILE (X comp C)
#WHILE (X comp Y)
#ENDWHILE
#TARGET = CV, CV
#WAIT = CV
.DSnn = iV
iV = .DSnn
#GOTOMACRO = "macrofilename"
#FILENAMEIN = "filename"
#FILENAMEOUT = "filename"
V = #FILEIN
#FILEINRESET
#FILEOUT = V
#FILEOUT = "character string"
#FILEOUT = #FILEIN
#FILEOUT = #DATETIME
#FILEOUT = #GETVAL
#PUTSTR = V
#PUTSTR = "character string"
#PUTSTR = #FILEIN
#PUTVAL = V
#PUTVAL = "character string"
#PUTVAL = #FILEIN
V = #GETVAL
#MSGBOX = "character string"
#MSGBOX = #FILEIN
#SHOWGETVAL = C
#SHOWSETVAR = C
User's Manual
15 - 5
Appendices
iV
iV
iV
iV
iV
iV
=
=
=
=
=
=
#DLSTATUS, CV
#DLSTART, CV
#DLSTOP, CV
#DLTRIG, CV
#DLRESET, CV
#DLUPLOAD, CV
iV = #FLUPLOAD
iV = #FLCLEAR
iV = #FLCOUNT
iV = #PARUPLOAD
iV = #USERFUNCTION
#EXIT
; Comment text
15 - 6
User's Manual
Appendices
Assignment
Statements
X=C
X=Y
X = Y oper C
X = Y oper Z
Decision
Statements
#IF (X comp C)
#IF (X comp Y)
#ENDIF
Loop Statements
#WHILE (X comp C)
#WHILE (X comp Y)
#ENDWHILE
Target Statement
#TARGET = CV, CV
; channel, node
Wait Statement
#WAIT = CV
User's Manual
15 - 7
Appendices
Dataset
Statements
.DSnn = iV
Puts the value of the integer variable iV and the values of the next
two integer variables to target's dataset nn, reads the values of
target's next dataset and puts the read values to the next three
integer variables.
Example: Statement .DS1 = %k puts the values of variables %k, %l
and %m to target's dataset 1 and reads the values of target's dataset 2
to variables %n, %o and %p.
iV = .DSnn
Reads the values of target's dataset nn and puts the read values to
integer variable iV and to the next two integer variables.
Example: Statement %x = .DS11 reads the values of target's
dataset 11 to variables %x, %y and %z.
Macro Chaining
Statement
15 - 8
#GOTOMACRO = "macrofilename"
Stops the execution of the current macro, closes the current Macro
Window, opens a new Macro Window with macro macrofilename
and starts this new macro.
User's Manual
Appendices
#FILENAMEIN = "filename"
#FILENAMEOUT = "filename"
These statements specify the names of the input and output files.
No macro statements are allowed before these statements.
The input and output files contain character lines. Max line length in
the input file is 100 characters.
The input and output files are opened automatically when the
execution of the macro is started and closed when the execution of
the macro is stopped.
If the output file already exists when the execution of the macro is
started then it is overwritten by the new output file.
If the #FILENAMEIN statement is missing then the default name of
the input file is MACRO.IN.
If the #FILENAMEOUT statement is missing then the default name of
the output file is MACRO.OUT.
V = #FILEIN
Reads a character line from the input file, converts the read
characters to a numeric value and puts this value to (integer or real)
variable V.
The conversion stops at the first non-numeric character.
#FILEINRESET
Moves the read position of the input file back to the beginning of the
file.
#FILEOUT = V
Converts the (integer or real) variable V to a character string and
writes this string to the output file.
#FILEOUT = "character string"
Writes the character string to the output file.
If the string is empty (i.e. "") then a CR/LF character pair is written to
the output file.
User's Manual
15 - 9
Appendices
#FILEOUT = #FILEIN
Reads a character line from the input file and writes the read line to
the output file.
If the read line is empty then a CR/LF character pair is written to the
output file.
#FILEOUT = #DATETIME
Writes the current date and time (e.g. 12/27/01 13:28:57) to the
output file.
#FILEOUT = #GETVAL
Waits until the user has clicked the Enter button of the Macro
Execution Window and then this statement reads the character string
from the Value input field of the Macro Execution Window and finally,
writes the read string to the output file.
If the read string is empty then a CR/LF character pair is written to the
output file.
During the execution of this statement DriveDebug updates the
numeric values of the items in Monitor and Trend Windows.
#PUTSTR = V
Converts the (integer or real) variable V to a character string and
appends this string to the content of the String area of the Macro
Execution Window.
#PUTSTR = "character string"
Appends the character string to the content of the String area of
the Macro Execution Window.
Every vertical bar character (|) in the string (if any) explicitly starts a
new line in the String area.
If the string is empty (i.e. "") then the String area is cleared.
15 - 10
User's Manual
Appendices
#PUTSTR = #FILEIN
Reads a character line from the input file and appends the read line
to the content of the String area of the Macro Execution Window.
Every vertical bar character (|) in the read line (if any) explicitly starts
a new line in the String area.
If the read line is empty then the String area is cleared.
#PUTVAL = V
Converts the (integer or real) variable V to a character string and
appends this string to the content of the Value input field of the Macro
Execution Window.
#PUTVAL = "character string"
Appends the character string to the content of the Value input
field of the Macro Execution Window.
If the string is empty (i.e. "") then the Value input field is cleared.
#PUTVAL = #FILEIN
Reads a character line from the input file and appends the read line
to the content of the Value input filed of the Macro Execution
Window.
If the read line is empty then the Value input field is cleared.
V = #GETVAL
Waits until the user has clicked the Enter button of the Macro
Execution Window and then this statement reads the character string
from the Value input field of the Macro Execution Window, converts
the read characters to a numeric value and puts this value to (integer
or real) variable V.
The conversion stops at the first non-numeric character.
During the execution of this statement DriveDebug updates the
numeric values of the items in Monitor and Trend Windows.
User's Manual
15 - 11
Appendices
15 - 12
User's Manual
Appendices
Data Logger
Statements
iV = #DLSTATUS, CV
Reads the status word of data logger CV (1 or 2) and puts the read
value to integer variable iV. If error, iV = -1.
Example: Statement %s = #DLSTATUS,1 reads the status of data
logger 1 to variable %s.
iV = #DLSTART, CV
Starts data logger CV (1 or 2). If OK, integer variable iV = 0.
iV = #DLSTOP, CV
Stops data logger CV (1 or 2). If OK, integer variable iV = 0.
iV = #DLTRIG, CV
Triggers data logger CV (1 or 2). If OK, integer variable iV = 0.
iV = #DLRESET, CV
Resets data logger CV (1 or 2). If OK, integer variable iV = 0.
iV = #DLUPLOAD, CV
Uploads the samples in data logger CV (1 or 2) and saves them to
disk file
Drive_Datalogger_C_NNN_L_YY-MM-DD-HH-MM-SS.txt.
If OK, integer variable iV = 0.
Fault Logger
Statements
iV = #FLUPLOAD
Uploads the faults in the fault logger and saves them to disk file
Drive_Faultlogger_C_NNN_YY-MM-DD-HH-MM-SS.txt.
If OK, integer variable iV = 0.
iV = #FLCLEAR
Clears the fault logger. If OK, integer variable iV = 0.
iV = #FLCOUNT
Reads the fault count of the fault logger and puts the read value to
integer variable iV. If error, iV = -1.
User's Manual
15 - 13
Appendices
Parameter List
Statement
iV = #PARUPLOAD
Uploads the parameter list and saves it to disk file
Drive_Parameters_C_NNN_YY-MM-DD-HH-MM-SS.txt.
If OK, integer variable iV = 0.
If needed, you can use this file in parameter value comparison in the
Parameter Window.
User Function
Statement
iV = #USERFUNCTION
Exit Statement
#EXIT
Comment
Statement
15 - 14
; Comment text
User's Manual
Appendices
signed operation: +, -, * or /
integer operation: & (AND) or | (OR)
comp =
User's Manual
15 - 15
Appendices
Example
15 - 16
User's Manual
Appendices
Appendix 5
Remote Operation
Installation of
the Server
Program
(DDsrvr.exe)
Installation of
the DriveDebug
Program to a
Remote PC
User's Manual
15 - 17
Appendices
Some
Differences
between the
Local and
Remote Use
15 - 18
User's Manual
Appendices
Appendix 6
Visual Basic
Interface
User's Manual
15 - 19
Appendices
15 - 20
User's Manual
+ 358 10 22 11
+ 358 10 22 22681