Mint - WorkBench Manual
Mint - WorkBench Manual
User Guide
MN1283
Issue 2.1
MN1283 08.2000
.
NextMove BX Installation Manual for Mint™ v4
This manual is copyrighted and all rights are reserved. This document or attached software may not, in whole or in part, be
copied or reproduced in any form without the prior written consent of Baldor UK.
Baldor Optimised Control makes no representations or warranties with respect to the contents hereof and specifically
disclaims any implied warranties of fitness for any particular purpose. The information in this document is subject to change
without notice. Baldor UK assumes no responsibility for any errors that may appear in this document.
ii MN1283 08.2000
Copyright and Safety Information
Precautions:
iv MN1283 08.2000
Copyright and Safety Information
MN1283 08.2000 v
Mint WorkBench User Guide
vi MN1283 08.2000
Manual Revision History
Introduction ................................................................................ 1
1.1 The Mint WorkBench ................................................................................2
1.2 Key to Icons..............................................................................................3
Comms Window.................................................................................................30
Digital I/O Window .............................................................................................31
2.16 DPR WatchWindow ................................................................................31
2.16.1 Custom Groups..................................................................................32
2.17 Log To File .............................................................................................33
2.18 Update Bootloader..................................................................................33
2.19 Keyword Lookup .....................................................................................33
2.20 Serial Test ..............................................................................................34
Bibliography ............................................................................. 37
MN1283 08.2000 ix
Introduction
1. Introduction
MN1283 08.2000 1
Mint WorkBench User Guide
2 MN1283 08.2000
Introduction
MN1283 08.2000 3
Mint WorkBench User Guide
4 MN1283 08.2000
Mint WorkBench
2. Mint™ WorkBench
The Mint™ WorkBench is a 32 bit Windows front end for use with
MN1283 08.2000 5
Mint WorkBench User Guide
The Mint WorkBench is a 32 bit Windows front end designed for use with a number of Mint v4
based products. The WorkBench has the following features:
• Terminal facility to communicate with a drive.
• Editor for program and configuration files. The editor has color syntax highlighting.
• Quick watch window allowing the viewing of up to 4 data values including axis position,
following error and input status.
• CAN Window for monitoring CANopen and Baldor CAN networks.
• Data capture and tuning facility.
• Mint Keyword Lookup.
• Serial Test.
• Terminal only for communication with Eurosystem.
If the setup wizard does not automatically start after installing IE5, WorkBench may be manually
installed by selecting Run from the Start menu and entering:
D:\Mint v4\Installation\Mint WorkBench\setup
6 MN1283 08.2000
Mint WorkBench
The Set-up Wizard copies the WorkBench files to appropriate directories on the hard disk, adding
Mint WorkBench as an option on the start menu. The drive, directory and Start Menu folder are
user-configurable.
The default directory is C:\Program Files\Baldor\Mint v4\Mint WorkBench, and the default
program folder is Start, Programs, Mint v4.
MN1283 08.2000 7
Mint WorkBench User Guide
8 MN1283 08.2000
Mint WorkBench
The Serial Port Selection is used to optimize the select controller dialog during serial port scanning.
The options are:
• Scan Serial Ports
• Do Not scan Serial Ports
• Only scan COMx (where x is an available serial port)
MN1283 08.2000 9
Mint WorkBench User Guide
The available serial ports are listed along with permissible port speeds.
In this mode the Mint WorkBench functions simply as a dumb terminal and additional functionality
is disabled.
Figure 4 shows the appearance of the WorkBench once a controller has been selected for the first
time.
10 MN1283 08.2000
Mint WorkBench
The toolbars can be dragged and docked in different locations in the WorkBench window. Their
positions are saved when the WorkBench exits, and restored when it restarts.
Save File
Print File
Copy
MN1283 08.2000 11
Mint WorkBench User Guide
Paste
Undo
Upload File: If an editor is selected, the editor file will be uploaded into it. Otherwise a
dialog box will prompt for the file to upload.
.
Download File: If an editor is selected, the editor file will be downloaded. Otherwise a
dialog box will prompt for the file to download
Toggle the DPR Watch Window on/off (applies only to NextMove PC and PCI).
Copy Drive Tuning Parameters: Parameters copied to the Windows clipboard (Currently
only available on MintDrive.)
About Box: Display program information, version number and copyright information.
12 MN1283 08.2000
Mint WorkBench
Stop motion
Drive enable
Clear errors
Clockwise
Jog speed
Counter clockwise
MN1283 08.2000 13
Mint WorkBench User Guide
Checking the Send ‘Break’ check box ensures the Mint Break command (Ctrl + E) is sent to the
controller before executing the macro. This ensures the macro interrupts a program running on the
controller.
14 MN1283 08.2000
Mint WorkBench
MN1283 08.2000 15
Mint WorkBench User Guide
Once a variable is selected, the Mint WorkBench will interrogate the controller for data. Altering
the ‘Time Between QuickWatch Samples’ can change how often Mint WorkBench asks for this
information. The smallest value will set the quickest response time but this may affect the response
time of the terminal. This will depend upon the speed of your PC. Obviously, the faster the PC the
better.
The data can also be captured to a graph. This is achieved by pressing the Capture button at the
bottom of the QuickWatch pane. The amount of data, in seconds, is selected by changing the
sampling time in the QuickWatch pane. This must be done before the Capture button is pressed.
The Mint WorkBench sends instructions to the controller to collect the data. Once collected, this
will be displayed in a graph as shown in Figure 12.
The Speed Loop tab does not apply to all controllers. Where not applicable, the Speed Loop
Tuning Parameters are grayed out, and clicking Start Move generates an error.
The Speed Loop tab is used to perform test moves for tuning. Move data is captured and can be
uploaded from the controller using the Capture tab (see 2.6.4 Capture Tab).
The reader is referred to their controller manual for tuning details.
The Sampling Time displayed at the top of the window is
connected to the Time at speed listed in the test move details
at the bottom of the window. The Sampling Time will always
be greater than the Time at speed to ensure the entire move is
captured.
Clicking the Start Move button performs the move and
capture.
16 MN1283 08.2000
Mint WorkBench
MN1283 08.2000 17
Mint WorkBench User Guide
Selecting the Capture tab allows you to change properties such as color of the background and color
of the lines for each item of data. Although all four channels of the QuickWatch window are
captured, only two are displayed. The plot drop downs select the data to plot. Changing selection
does not re-plot the data.
Data can be saved to a CSV file (comma separated variable) for inclusion into spreadsheet packages
such as Microsoft Excel using the File, Save As menu. This can be viewed in a spreadsheet by
selecting Comma Separated Variable (typically has a .CSV file extension). Saving the file will save
all four channels from the QuickWatch window.
Sections of the plot can be magnified by selecting the start point with a mouse click, dragging the
mouse to highlight the area to magnify whilst keeping the left button pressed, and releasing the left
button. Pressing the right mouse button restores the original plot.
18 MN1283 08.2000
Mint WorkBench
For serial controllers, it is strongly recommended that the Baud rate of the serial port be set as
high as possible. The recommended Baud rate on the RS232 port is 57,600 Baud.
MN1283 08.2000 19
Mint WorkBench User Guide
The reader is referred to the CAN Peripherals Hardware Guide (MN1255) for a full explanation
of CAN Networks.
20 MN1283 08.2000
Mint WorkBench
Figure 15: CAN window with right click Clear menu displayed
MN1283 08.2000 21
Mint WorkBench User Guide
The Group Master column lists the Group Number of groups for which the node is groupmaster.
The Group Member column lists the Group Numbers of groups of which the current node is a
member.
Right-clicking the Network Manager node (Node Number=1) displays a popup menu containing the
option Inputs/Outputs. Selecting Inputs/Outputs displays the Digital I/O window (see X.XX.)
The Digital I/O window may also displayed by:
• Select Tools, Digital IO Window or
• Click
Right clicking on a remote controller-node displays a grayed Inputs/Outputs menu, as Digital I/O
is unavailable on remote controller-nodes.
Digital I/O is available on other remote nodes only if connected to the Network Manager.
Attempting to display the Digital I/O window for a node that is not connected to the Network
Manager displays an error message.
For example: In the CAN window displayed above, right clicking the AnalogIn node would display:
Figure 17: Error message displayed when remote CAN node right clicked
This is remedied by entering the following at the terminal:
connect.1.5=1
The connection between the Network Manager (Node number=1) and the AnalogIn node (Node
number=5) should be updated in the Connected column of the Network Manager node:
22 MN1283 08.2000
Mint WorkBench
The Connected, Group Master and Group Member columns are not applicable to CAN2.
Again, the reader is referred to the CAN Peripherals Hardware Guide (MN1255) for a full
explanation.
The Mint commands groupmaster and group always refer to CAN1, and so the Groups tab
remains blank for CAN2.
2.8 Terminal
The Terminal window provides access to the Mint command line.
To enable the Terminal Window:
• Select Tools, Terminal or
• Enter [Ctrl]+[T] or
• Click the icon:
MN1283 08.2000 23
Mint WorkBench User Guide
24 MN1283 08.2000
Mint WorkBench
2.9 Editor
MN1283 08.2000 25
Mint WorkBench User Guide
Figure 22: The Open file window for selecting existing files for editing
To provide the default program name above with a name when saving, select File, Save As.
The standard Windows Cut (Ctrl-X), Copy (Ctrl-C) and Paste (Ctrl-V) functions are available both
on the toolbar and in the Edit menu.
Other editor functions include:
• Downloading the files to the controller by using the toolbar icon . By using the Tools,
Setup Squash selection, files can be compressed on download (see the following section
for detail on squash).
• Uploading the files from the controller into the current menu using the toolbar icon .
WorkBench will automatically upload the correct file from the controller depending upon
which editor window is open.
• Ability for Mint files to be dragged from Windows Explorer onto the WorkBench desktop.
This will automatically open the editor.
• Printing from the editor using the Print icon on the tool bar. The file is printed to the
currently installed Windows printer.
The right mouse button can be used within the editor window to provide context sensitive menus.
The menu allows, for example:
• Search and replace. This saves using the menu.
• All white space can be displayed.
• Selected text can be made upper or lower case.
• The properties of the editor can be changed, for example, the color of the keywords can be
changed from their default setting.
26 MN1283 08.2000
Mint WorkBench
MN1283 08.2000 27
Mint WorkBench User Guide
2.10 Squash
Squash allows a program to be compacted by removing redundant characters – blank lines for
example. It is possible to save from an editor in the squashed format, or to have WorkBench Squash
each time it downloads a file.
Squash can perform several operations on a file. However, some of them can make the code
unreadable. Therefore, the options are individually selectable.
To initiate the Setup Squash Parameters dialog box, select Setup Squash from the Tools menu.
28 MN1283 08.2000
Mint WorkBench
Selecting Squash on Download will always squash the program or configuration file on download.
This is useful where a fully commented file can be maintained on the PC, but a space saving file is
downloaded to the MintDrive for execution.
For MintDrive, ServoNode 51 and other serial controllers, the Mint firmware is stored on Flash.
From time to time there may be updates to Mint, to either fix problems or to add new features. It is
possible to update the Mint firmware using the RS232 serial port.
From the Tools menu, select Update Firmware and follow the onscreen instructions.
Caution: The state of the analog and digital outputs cannot be guaranteed while
firmware is being updated. Please disconnect any equipment that may be
damaged.
Caution: Updating firmware may destroy any program(s) held in the battery
backed-up RAM buffers. It is recommended that you upload these into
Mint WorkBench if you require these to be saved.
Caution: Updating firmware will destroy any program(s) held in the Flash memory
buffers. It is recommended that you upload these into Mint WorkBench if
you require these to be saved.
Once the firmware has been updated, both the Config and Program Flash buffers will need resetting.
Typing the NEW command in each Flash buffer will do this. The Mint keyword BUFFERSTORE can
be used to switch between battery backed-up RAM and Flash buffers.
MN1283 08.2000 29
Mint WorkBench User Guide
The Platform Information window provides details of the number and type of axes, the number of
inputs/outputs and CAN channels.
To view the Platform Information window:
• Select View, Platform Information or
• Click the icon:
30 MN1283 08.2000
Mint WorkBench
Multiple Comms windows are obtained by making repeated selections of the option above.
MN1283 08.2000 31
Mint WorkBench User Guide
The reader is referred to the NextMove PCI Installation Manual (MN1277) for a detailed
explanation.
1. Right-click the mouse in the left-hand pane of the window. Selecting New Group from the
popup menu displayed adds a new item: Custom Group to the list in the left-hand pane of the
window.
2. Right click Custom Group and select Rename from the popup menu to rename it.
3. Custom Group items are added by dragging from other DPR Groups.
32 MN1283 08.2000
Mint WorkBench
This option applies only to NextMove PCI. and should only be used under guidance from
technical support.
MN1283 08.2000 33
Mint WorkBench User Guide
The cursor begins in the keyword editbox under the keyword list. As a keyword is typed here the
keyword list is searched and the closest matching keyword/abbreviation selected.
The “Copy Keyword” and “Copy Abbreviation” buttons copy the appropriate text to the Windows
clipboard for later use.
The dialog is closed using [Esc] or by using the “Close” button.
34 MN1283 08.2000
Mint WorkBench
The recommended comm port speed is displayed following a successful test, and in the event of
failure the reason and speed as displayed:
MN1283 08.2000 35
Mint WorkBench User Guide
36 MN1283 08.2000
Bibliography
Bibliography
Bibliography
3
[1] Mint version 4 Programming Guide (MN1262)
[2] CAN Peripherals Users Guide (MN1255)
[3] Mint version 4 Advanced Programming Guide (MN1270)
[4] NextMove PCI Installation Manual (MN1277)
[5] MintDrive Installation Manual (MN1274)
MN1283 08.2000 37
Mint WorkBench User Guide
38 MN1283 08.2000