Control en
Control en
12 (9/11)
Control Program
Ver. 3.10
Instruction Manual
Contents
Contents
3.3.1 Go....................................................... 17
1 Overview ............................................................. 1
3.3.2 End ..................................................... 17
2.2 Names of the Main Window Components 3.4.3 Tool Bar .............................................. 20
and Operations................................................... 3 3.4.4 Status Bar........................................... 20
2.2.1 Names of the Main Window 3.5 Help Menu ........................................................ 21
Components......................................... 3
3.5.1 About Commands .............................. 21
2.2.2 Operations of the Main Window
3.5.2 About Nctrl ......................................... 21
Components......................................... 4
(1) Title bar ................................................ 4 4 Control Command ........................................... 22
(2) Menu bar .............................................. 5
4.1 Command Category ......................................... 22
(3) Tool bar ................................................ 5
4.2 Creating a Control Command .......................... 23
(4) List ........................................................ 5
4.3 Editing a Control Command ............................. 26
(5) Status bar ............................................. 5
4.4 Command Guide .............................................. 28
i
Contents
ii
1 Overview
1 Overview
Control Program is software for remotely operating the NEXIV dimension measurement program (NEXIV AutoMeasure).
Use this software to create a control file (CTL file) for automatically executing teaching files (NMP file and TCH file).
A single control file can contain multiple teaching files to automate replay measurement for a number of different workpieces.
The control program can also communicate with a different computer via RS232C, so it can wait for a measurement start
command and send a measurement end command.
1
2 Basic Operations >> 2.1 Starting and Terminating NEXIV Control Program
2 Basic Operations
This chapter describes the basic usage and notes on using the NEXIV Control Program.
• Click the [Close] button ( ) in the upper right corner of the main window.
• Click the icon at the right end of the title bar in the main window to display the system menu. Select [Close] in the menu.
2
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations
Whether to show or hide tool bar and status bar can be selected from the [View] menu.
3
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations
(1)-2. Maximizing/minimizing the main window and terminating NEXIV Control Program
Maximize/minimize the main window and terminate the NEXIV Control Program using the buttons on the right of the
title bar in the main window.
(1)-3. Icon at the left end of the title bar in the main window
Click the icon at the left end of the title bar in the main window to display the system menu.
4
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations
(4) List
There are two kinds of lists, "control command" and "Results".
The list is switched by selecting [Control Command] or [Results] on the [View] menu.
The "control command" list shows commands for controlling NEXIV.
Results list
5
3 Menu Bar >> 3.1 File Menu
3 Menu Bar
The main menu of the NEXIV Control Program has the structure described below.
Save file Use this menu to overwrite a control command with the Ctrl + S
currently edited version.
Save as - Use this menu to save the currently edited version of a -
control file under a new file name.
Print Use this menu to print the information shown in the Ctrl + P
window.
Print preview - Use this menu to display a print preview of the information -
shown in the window.
Print setting - Use this menu to make printer settings. -
Recent CTL file 1 to 4 - Use this menu to display a list of up to four control files -
opened most recently.
Exit application - Use this menu to close the NEXIV Control Program. Alt + F4
6
3 Menu Bar >> 3.1 File Menu
3.1.1 New
This menu item creates a new “control command” list.
When [New] is clicked, the "control command" list is cleared and the control file name on the title bar is displayed as
[Untitled].
When [New] is selected while the "control command" list is being edited
When the "control command" list that is being edited has been saved, a new "control command" list is created.
When the “control command” list that is being created has not been saved, the confirmation dialog box appears.
• [Yes] button
When the control file is being edited, it is overwritten.
Clicking this button while a control file is being created opens the [Save as] dialog box (described later).
• [No] button
Clicking this button discards the “control command” list that is being edited.
• [Cancel] button
Clicking this button closes the window.
3.1.2 Open
This menu item reads an existing control file.
Selecting [Open] on the [File] menu opens the [Open] dialog box of the application-unique or Windows standard style.
7
3 Menu Bar >> 3.1 File Menu
Saving a "control command" list to control file for the first time displays the [Save as] dialog box.
A "control command" list is saved in the same procedure as [File] - [Save as].
3.1.4 Save As
This menu item saves the edited "control command" list as another name.
Selecting [Save as] on the [File] menu opens the [Save as] dialog box of the application-unique or Windows standard style.
8
3 Menu Bar >> 3.1 File Menu
3.1.5 Print
This menu item prints the contents shown in the "control command" or "Results" list.
9
3 Menu Bar >> 3.1 File Menu
Selecting a control file name displayed in the menu reads the corresponding control file.
When [Exit application] is selected while the "control command" list is being edited
When [Exit application] is selected, if the "control command" list that is being edited has not been saved, the
confirmation dialog box appears.
The operation is the same as that when [New] is selected while the "control command" list is being edited.
Notes
The application cannot be terminated while any control command runs.
Complete the execution or select the [Execute] menu - [End], and then select [Exit application] or .
10
3 Menu Bar >> 3.2 Edit Menu
This menu is only available when the displayed list is a “control command” list.
Paste This menu item pastes the control command that has been copied or cut Ctrl + V
before the selected line.
Edit This menu can add and edit control commands. Enter
-
Insert This menu item inserts a line of control command before the selected line. Ins
-
Delete This menu item deletes multiple selected control commands. Del
-
11
3 Menu Bar >> 3.2 Edit Menu
3.2.1 Undo
This menu item cancels previously performed deletion or paste processing for control command to restore the previous state.
When undo is performed again, the canceled processing is reset and the previous state is restored. Each time undo is
performed, cancellation and restoration are repeated.
This menu item is only available when the list is a “control command” list.
This menu item cannot be selected when deletion or paste processing is not performed just previously for control command.
The Undo operation can also be executed by pressing the [Ctrl] + [Z] keys.
3.2.2 Cut
This menu item cuts the selected line.
This menu item is only available when the list is a “control command” list.
The Cut operation can be executed by pressing the [Ctrl] + [X] keys or clicking the button on the tool bar.
3.2.3 Copy
This menu item copies the selected line.
This menu item is only available when the list is a “control command” list.
The Copy operation can be executed by pressing the [Ctrl] + [C] keys or clicking the button on the tool bar.
3.2.4 Paste
This menu item pastes the control command that has been copied or cut before the selected line.
This menu item is only available when the list is a “control command” list.
The Paste operation can be executed by pressing the [Ctrl] + [V] keys or clicking the button on the tool bar.
12
3 Menu Bar >> 3.2 Edit Menu
3.2.5 Edit
This menu item can add and edit control commands.
When a blank line in the "control command" list is selected, a control command is added, and when an already-registered
line is selected, the corresponding control command is edited.
This menu item is only available when the list is a “control command” list.
Selecting the [Edit] menu - [Edit] displays the [Select Command] window.
The [Select Command] window can also be displayed by the [Enter] key or a double click.
For details about the [Select Command] window, see "3.2.8 [Select Command] window".
Select a control command you want to edit from the "control command" list.
Selecting the [Edit] menu - [Edit] displays the [Select Command] window.
The [Select Command] window can also be displayed by the [Enter] key or a double click.
For details about the [Select Command] window, see "3.2.8 [Select Command] window".
13
3 Menu Bar >> 3.2 Edit Menu
3.2.6 Insert
This menu item inserts a line of control command before the selected line.
This menu item is only available when the list is a “control command” list.
The Insert operation can also be executed by pressing the [Ins] key.
Select a control command before which you want to insert a control command.
Selecting the [Edit] menu - [Insert] displays the [Select Command] window.
The [Select Command] window can also be displayed by the [Ins] key.
For details about the [Select Command] window, see "3.2.8 [Select Command] window".
3.2.7 Delete
This menu item deletes multiple selected control commands.
This menu item is only available when the list is a “control command” list.
Selecting the [Edit] menu - [Delete] deletes the selected control command.
The Delete operation can also be executed by pressing the [Del] key.
14
3 Menu Bar >> 3.2 Edit Menu
Control
command
buttons
15
3 Menu Bar >> 3.2 Edit Menu
Selecting the [Cancel] button in the [Select Command] window or displays the [Edit Command] window.
You can enter command strings with keys.
Edit command
16
3 Menu Bar >> 3.3 Execute Menu
3.3.1 Go
This menu item executes the created control commands in order from the beginning.
Or, this menu item executes the control programs from the position to which the control command with error is skipped by the
[Skip] command.
This menu item is not available when a control command has not been created.
3.3.2 End
This menu item terminates the execution of control commands.
17
3 Menu Bar >> 3.3 Execute Menu
3.3.3 Skip
When an error occurs while the control commands are executed, this menu item skips the control command with error and
proceeds to the next control command.
Select the [Execute] menu - [Skip], and then select the [Execute] menu - [Go] to resume the execution.
The [Skip] menu item can be selected continuously from the menu, and can skip control commands for the number of times
the [Skip] menu item is selected.
18
3 Menu Bar >> 3.4 View Menu
While a "control command" list is displayed, is shown on the left of [Control Command] in the [View] menu.
For details about how to create a control command, see "4.2 Creating a Control Command".
19
3 Menu Bar >> 3.4 View Menu
3.4.2 Results
This menu item displays a "Results" list.
While a "Results" list is displayed, is shown on the left of [Results] in the [View] menu.
The tool bar is shown or hidden when the [Tool Bar] in the [View] menu is clicked.
While the tool bar is displayed, is shown on the left of [Tool Bar] in the [View] menu.
The status bar is shown or hidden when the [Status Bar] in the [View] menu is clicked.
While the status bar is displayed, is shown on the left of [Status Bar] in the [View] menu.
20
3 Menu Bar >> 3.5 Help Menu
21
4 Control Command >> 4.1 Command Category
4 Control Command
This chapter describes the function and operation of each control command.
• File command
Use this command to read an already-created teaching file, and perform a replay.
• SET command
Use this command to configure the execution condition, error processing, and result file output settings for teaching
files read by the OPEN command.
* The contents set by the SET command are applied by a replay by the REPLAY command.
* The contents set by the SET command are valid until the next execution of the OPEN command.
• Control command
This command communicates with external computers through RS-232C and controls the Control Program.
This command allows input from and output to an external computer.
22
4 Control Command >> 4.2 Creating a Control Command
Creation procedure
1. Open the [View] menu and check that a check mark is placed on [Control Command].
2. Double-click on the highlighted part (or press the [Enter] key) in the “control command” list.
23
4 Control Command >> 4.2 Creating a Control Command
5. If the teaching file to be replayed is an NMP file, change [teaching file(*.tch)] to [all files(*.*)].
6. Select a teaching file you want to replay and then click the [Open] button.
24
4 Control Command >> 4.2 Creating a Control Command
25
4 Control Command >> 4.3 Editing a Control Command
1. Select a control command from the "control command" list and then double-click on it (or press the [Enter]
key.
2. Modify the control command manually or click the [Select Command] button to edit it in the [Command Guide]
window.
When you modify the control command manually, click the [OK] button to apply the modification to the “control
command” list.
When you click the [Select Command] button, the [Select Command] window appears.
Note that if you select a control command other than the control command you want to edit (here, the RUN command),
the contents of the [Command Guide] window will be cleared.
4. Edit the teaching file to be replayed, lot number, and sample number.
After editing, click the [OK] button to apply the edit to the “control command” list.
26
4 Control Command >> 4.3 Editing a Control Command
27
4 Control Command >> 4.4 Command Guide
4.4.1 OPEN
Create a command for reading already-created teaching files (NMP file and TCH file).
When reading a teaching file by using OPEN, you can configure the settings by using the SET command.
Note
A replay is not performed only by the OPEN command, so you need to use the REPLAY command at
the end.
File name
28
4 Control Command >> 4.4 Command Guide
4.4.2 APPEND
Create a command for reading already-created teaching files (NMP file and TCH file) and appending them to the current
teaching data.
File name
29
4 Control Command >> 4.4 Command Guide
4.4.3 RUN
Create a command for reading already-created teaching files (NMP file and TCH file) and performing a replay.
File name
30
4 Control Command >> 4.4 Command Guide
4.4.4 REPLAY
Create a command for replaying the teaching file that has been read by the OPEN command.
31
4 Control Command >> 4.4 Command Guide
Setup Initial
Coordinate
32
4 Control Command >> 4.4 Command Guide
33
4 Control Command >> 4.4 Command Guide
When this command is not used, the teaching file name is used.
34
4 Control Command >> 4.4 Command Guide
35
4 Control Command >> 4.4 Command Guide
36
4 Control Command >> 4.4 Command Guide
Two CSV file output formats are selectable: vertical output format and horizontal output format.
• When a CSV file is displayed by the text editor, blank is shown as “,”.
• For the convenience of explanation, the following example of format description is color-coded:
Replay message:
When comments are set for comment numbers 1 to 20,
20 lines are reserved.
Measurement result:
The leftmost number: Sample number
Message:
The same message is repeated for the same measurement tool.
37
4 Control Command >> 4.4 Command Guide
Replay message:
When comments are set for comment numbers 1 to
20, 20 lines are reserved.
Message: Output item name, nominal value, upper and lower tol.:
The same message is repeated for the Output item name (element name), nominal value,
same measurement tool. upper and lower tolerances are displayed.
38
4 Control Command >> 4.4 Command Guide
(Ex.) This example describes teaching that includes two steps of point measurement and circle measurement.
39
4 Control Command >> 4.4 Command Guide
40
4 Control Command >> 4.4 Command Guide
41
4 Control Command >> 4.4 Command Guide
42
4 Control Command >> 4.4 Command Guide
43
4 Control Command >> 4.4 Command Guide
4.4.17 WAIT
Create a command for pausing the command execution until the specified character string is received from external
computers.
44
4 Control Command >> 4.4 Command Guide
4.4.18 OUTPUT
Create a command for sending a character string to external computers.
45
4 Control Command >> 4.4 Command Guide
4.4.19 STAGE
Create a command for moving the stage to the specified coordinates.
46
4 Control Command >> 4.4 Command Guide
4.4.20 SLEEP
Create a command for pausing the execution of the control command for the specified number of seconds.
47