0% found this document useful (0 votes)
17 views51 pages

Control en

The document is an instruction manual for the CNC Video Measuring System NEXIV Control Program, detailing its version 3.10. It covers the software's overview, basic operations, menu functionalities, and control command creation and editing. The manual provides step-by-step guidance on starting, terminating the application, and utilizing various features within the program.

Uploaded by

softwarenikon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
17 views51 pages

Control en

The document is an instruction manual for the CNC Video Measuring System NEXIV Control Program, detailing its version 3.10. It covers the software's overview, basic operations, menu functionalities, and control command creation and editing. The manual provides step-by-step guidance on starting, terminating the application, and utilizing various features within the program.

Uploaded by

softwarenikon
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 51

E203E 20.3.NF.

12 (9/11)

CNC Video Measuring System NEXIV

Control Program

Ver. 3.10

Instruction Manual
Contents

Contents

3.3.1 Go....................................................... 17
1 Overview ............................................................. 1
3.3.2 End ..................................................... 17

2 Basic Operations ............................................... 2 3.3.3 Skip .................................................... 18


3.3.4 Remote Mode .................................... 18
2.1 Starting and Terminating
NEXIV Control Program ..................................... 2 3.4 View Menu ........................................................ 19

2.1.1 Starting Application .............................. 2 3.4.1 Control Command .............................. 19

2.1.2 Terminating Application ........................ 2 3.4.2 Results ............................................... 20

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

3 Menu Bar ............................................................ 6 4.4.1 OPEN ................................................. 28


4.4.2 APPEND ............................................ 29
3.1 File Menu............................................................ 6
4.4.3 RUN.................................................... 30
3.1.1 New ...................................................... 7
4.4.4 REPLAY ............................................. 31
3.1.2 Open .................................................... 7
4.4.5 SET ORIGIN ...................................... 32
3.1.3 Save File .............................................. 8
4.4.6 SET LOT ............................................ 33
3.1.4 Save As ................................................ 8
4.4.7 SET TEST .......................................... 33
3.1.5 Print ...................................................... 9
4.4.8 SET NAME ......................................... 34
3.1.6 Print Preview ........................................ 9
4.4.9 SET VARIABLE .................................. 34
3.1.7 Print Setting ....................................... 10
4.4.10 SET COMMENT ................................ 35
3.1.8 Recently Opened Control
File Names 1 to 4............................... 10 4.4.11 SET TRANS ....................................... 35

3.1.9 Exit Application................................... 10 4.4.12 SET CONVERT ................................. 36

3.2 Edit Menu ......................................................... 11 4.4.13 SET REPEAT ..................................... 40

3.2.1 Undo................................................... 12 4.4.14 SET JUDGE ....................................... 41

3.2.2 Cut...................................................... 12 4.4.15 SET MEASURE ................................. 42

3.2.3 Copy ................................................... 12 4.4.16 SET PRINT ........................................ 43

3.2.4 Paste .................................................. 12 4.4.17 WAIT .................................................. 44

3.2.5 Edit ..................................................... 13 4.4.18 OUTPUT ............................................ 45

3.2.6 Insert .................................................. 14 4.4.19 STAGE ............................................... 46

3.2.7 Delete ................................................. 14 4.4.20 SLEEP................................................ 47

3.2.8 [Select Command] Window ............... 15


3.3 Execute Menu .................................................. 17

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.

2.1 Starting and Terminating NEXIV Control Program

2.1.1 Starting Application

1. Start the NEXIV Control Program.


For VMZ-R Classic <C:\Program Files\Nikon\NEXIVVMR\NControl.exe>

A main window appears.

2.1.2 Terminating Application


Perform one of the following methods to terminate the NEXIV Control Program.

• Click [File] - [Exit application] from the menu bar (recommended).

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

• Press the [Alt] + [F4] keys on the keyboard.

2
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations

2.2 Names of the Main Window Components and Operations


This section describes window configuration, names of components, and operations of the main window of the NEXIV
Control Program.

2.2.1 Names of the Main Window Components


The main window of the control program is composed of the title bar, menu bar, tool bar, list, and status bar.

Whether to show or hide tool bar and status bar can be selected from the [View] menu.

Title bar Menu bar Tool bar List (*1)

Status bar Main window

(*1) The display shown above is the “control command” list.


There are two kinds of lists, "control command" and "Results".

3
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations

2.2.2 Operations of the Main Window Components


This section describes functions and simple operations of the components of the NEXIV Control Program main window.

(1) Title bar


The title bar at the top of the main window allows you to display a control file name, maximize/minimize the main window, and
terminate the NEXIV Control Program.

(1)-1. Displaying control file name


When new control command is created and saved in the control file (CTL file) or when a created control file is loaded,
the control file name is displayed on the title bar. When a new control data is being created and has not been saved,
[Untitled] is displayed.
Control file name

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

The following table lists available functions.

Button Button Name Description

Minimize Use this button to minimize the main window.

Maximize Use this button to maximize the main window.

Close Use this button to terminate the NEXIV Control Program.

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

The following table lists the usable functions.

Menu Item Description


Return to previous size Select this menu item to restore the main window to the previous size.
Select this menu item to move the main window using the direction keys on the
Move keyboard.
This cannot be used when the main window is maximized.
Select this menu item to change the main window size using the direction keys on the
Change size keyboard.
This cannot be used when the main window is maximized.
Minimize Select this menu item to minimize the main window.
Select this menu item to maximize the main window.
Maximize
This cannot be used when the main window is maximized.
Close Select this menu item to terminate the NEXIV Control Program.

4
2 Basic Operations >> 2.2 Names of the Main Window Components and Operations

(2) Menu bar


The menu bar provides menu bars of the NEXIV Control Program.

(3) Tool bar


The tool bar contains frequently used functions (buttons).

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

Control command list

The "Results" list shows the result of execution of control commands.

Results list

(5) Status bar


When the menu is operated, the explanation is displayed on the left of the bar.

5
3 Menu Bar >> 3.1 File Menu

3 Menu Bar
The main menu of the NEXIV Control Program has the structure described below.

Menu Function Description Keyboard Shortcut


File Use this menu to read, save, or print control files. -
Edit Use this menu to edit control command. -
Execute Use this menu to run control commands. -
View Use this menu to set whether to show or hide the "control command" list, -
"Results" list, tool bar, and status bar.
Help Use this menu to display the description of the commands and the version -
information of the NEXIV Control Program.

3.1 File Menu


This menu contains functions for reading, saving and printing control file.

Menu Icon Function Description Keyboard Shortcut


New Use this menu to create a new “control command” list. Ctrl + N

Open Use this menu to open an existing control file. Ctrl + O

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

3.1.3 Save File


This menu item overwrites the edited "control command" list in the control file.

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.

The Windows standard [Print] dialog box appears.

3.1.6 Print Preview


This menu item displays a print preview of the contents displayed on the list.

9
3 Menu Bar >> 3.1 File Menu

3.1.7 Print Setting


This menu item allows you to set the printer.

The Windows standard [Print Setup] dialog box is displayed.

3.1.8 Recently Opened Control File Names 1 to 4


Up to four recently opened control files are listed.

Selecting a control file name displayed in the menu reads the corresponding control file.

3.1.9 Exit Application


Exit the NEXIV Control Program.

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

3.2 Edit Menu


This menu is used for editing control command.

This menu is only available when the displayed list is a “control command” list.

Menu Icon Function Description Keyboard Shortcut


Undo This menu item cancels the last delete or paste operation performed on a Ctrl + Z
- control command and restores the original state.
Cut This menu item cuts the selected line. Ctrl + X

Copy This menu item copies the selected line. Ctrl + C

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.

Select [Edit] - [Undo] on the menu bar.

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.

Select [Edit] - [Cut] on the menu bar.

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.

Select [Edit] - [Copy] on the menu bar.

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.

Select [Edit] - [Paste] on the menu bar.

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.

Adding a control command

Select a blank line in 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".

Editing a control command

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.

Inserting a control command

Select a control command before which you want to insert a control command.

Before insertion After insertion

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

3.2.8 [Select Command] Window


In this window, you can create a control command by selecting control command buttons.

Clicking a control command button displays the [Command Guide] window.


For details about control commands, see "4.4 Command Guide".

Control
command
buttons

Item Description Initial Value


File
Open [OPEN] button Use this button to read already-created teaching files (NMP file and TCH -
file).
* The actual replay is not performed only by the OPEN command.
Append [APPEND] button Use this button to read already-created teaching files and add it to the -
end of the current teaching data.
Run [RUN] button Use this button to read already-created teaching files and perform a -
replay.
Replay [REPLAY] button Use this button to replay the teaching file that has been read by the -
OPEN command.
Setting
Origin [SET ORIGIN] button Use this button to set the initial coordinate system. -
Lot Name [SET LOT] button Use this button to set the lot number. -
Sample [SET TEST] button Use this button to set the sample number. -
Name
Name [SET NAME] button Use this button to set the file name. -
Variable [SET VARIABLE] Use this button to set up to 26 variables (A to Z) and set the initial value -
button for each of them.
Conditions
Comment [SET COMMENT] Use this button to set a comment. -
button
Transfer [SET TRANS] button Use this button to set whether to transfer the result data. -
Conversion [SET CONVERT] Use this button to select whether to convert the result data to CSV -
button format.
Repeat [SET REPEAT] button Use this button to set the repetition registered in the NEXIV -
AutoMeasure.
Actions
Judge [SET JUDGE] button Use this button to set the action against tolerance judgment errors. -
Measure [SET MEASURE] Use this button to set the action against measurement errors. -
button
Print [SET PRINT] button Use this button to configure the printer output settings. -

15
3 Menu Bar >> 3.2 Edit Menu

Item Description Initial Value


Control
Input [WAIT] button Use this button to set a message for waiting for responses from external -
computers.
Output [OUTPUT] button Use this button to set a message to be sent to external computers. -
Stage [STAGE] button Use this button to move the NEXIV stage to the specified coordinates. -
Sleep [SLEEP] button Use this button to pause the control command for the specified number -
of seconds.
[Cancel] button Use this button to display the [Edit Command] window. -

Selecting the [Cancel] button in the [Select Command] window or displays the [Edit Command] window.
You can enter command strings with keys.

Edit command

Item Description Initial Value


Edit command Use this field to enter command strings with keys. -
[OK] button Use this button to apply the edits to the "control command" list and close the window. -
[Cancel] button Use this button to discard the settings and close the window. -
[Select Command] button Use this button to display the [Select Command] window. -

16
3 Menu Bar >> 3.3 Execute Menu

3.3 Execute Menu


This menu executes control commands that have been created.

Menu Icon Function Description Keyboard Shortcut


Go This menu item executes the created control commands 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.
End This menu item terminates the execution of control commands. -
-
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.
Remote Mode This function is currently not available.
-

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.

The control command being executed is shown in green.

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.

The control command in which an error occurred is shown in red.

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.

3.3.4 Remote Mode


This function is currently not available.

18
3 Menu Bar >> 3.4 View Menu

3.4 View Menu


Use this menu to set whether to show or hide the tool bar and status bar.

Menu Icon Function Description Keyboard Shortcut


Control Command This menu item displays a "control command" list. -
-
Results This menu item displays a "Results" list. -
-
Tool Bar This menu item changes whether to show or hide the tool bar. -
-
Status Bar This menu item changes whether to show or hide the status bar -
- at the bottom of the window.

3.4.1 Control Command


This menu item displays a "control command" list.

When the Control Program is started, a "control command" list is displayed.

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.

3.4.3 Tool Bar


This menu item changes whether to show or hide the tool bar.

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.

3.4.4 Status Bar


This menu item changes whether to show or hide the status bar.

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

3.5 Help Menu


This menu displays the description of the commands and version information of the Control Program.

Menu Icon Function Description Keyboard Shortcut


About Commands This menu item shows the description of the File commands, Set -
- commands, and Control commands.
About Nctrl This menu shows the version information of the Control Program. -

3.5.1 About Commands


This menu item shows the description of the File commands, Set commands, and Control commands.

Item Description Initial Value


[OK] button Use this button to close the window. -

3.5.2 About Nctrl


This menu item shows the version information and copyright of the Control Program.

Item Description Initial Value


[OK] button Use this button to close the window. -

21
4 Control Command >> 4.1 Command Category

4 Control Command
This chapter describes the function and operation of each control command.

4.1 Command Category


The control commands are classified into the following four types:

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

• NEXIV Control command


This command controls the NEXIV.

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

Control Command Command Category Function Description


OPEN File Command Use this command to read already-created teaching files (NMP file and TCH file).
* A replay is not performed only by this command.
APPEND File Command Use this command to read already-created teaching files (NMP file and TCH file) and
append them to the current teaching data.
RUN File Command Use this command to read already-created teaching files (NMP file and TCH file) and
perform a replay.
* A replay is performed under the execution condition set when the teaching file is saved.
REPLAY File Command Use this command to replay the teaching file that has been read by the OPEN command.
SET ORIGIN SET Command (setting) Use this command to set the initial coordinate system.
SET LOT SET Command (setting) Use this command to set the lot number of the result file.
SET TEST SET Command (setting) Use this command to set the sample number of the result file.
SET NAME SET Command (setting) Use this command to set the output destination (folder) of the result data.
SET VARIABLE SET Command (setting) Use this command to set up to 26 variables (A to Z) and set the initial value for each of them.
SET COMMENT SET Command (execution Use this command to set up to 20 comments.
condition)
SET TRANS SET Command (execution Use this command to set whether to transfer the result data to external computers through
condition) RS-232C.
SET CONVERT SET Command (execution Use this command to set whether to convert the result file to a CSV-format file.
condition)
SET REPEAT SET Command (execution Use this button to set whether to use the repeat measurement setting registered in the
condition) NEXIV AutoMeasure.
SET JUDGE SET Command (error processing) Use this command to set the action against tolerance judgment errors.
SET MEASURE SET Command (error processing) Use this command to set the action against measurement errors.
SET PRINT SET Command (error processing) Use this command to set whether to output the measurement result to a printer.
WAIT Control Command Use this command to set a message for waiting for responses from external computers.
OUTPUT Control Command Use this command to set a message to be sent to external computers.
STAGE NEXIV Control Command Use this command to move the NEXIV stage to the specified coordinates.
SLEEP Control Command Use this command to pause the Control Program for the specified number of seconds.

22
4 Control Command >> 4.2 Creating a Control Command

4.2 Creating a Control Command


When the Control Program is started, the main window appears.

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.

The [Select Command] window appears.

3. Create a control command by clicking control command buttons.

In this example, click the [RUN] button.

The [Command Guide] window for the RUN command appears.

23
4 Control Command >> 4.2 Creating a Control Command

4. Click the [File] button.

The [Open] window appears.

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.

7. Click the [OK] button.

The created RUN command is shown in the "control command" list.

This completes the creation of the control command.

24
4 Control Command >> 4.2 Creating a Control Command

Example of creating a control command

1: Read the teaching file (Sample.nmp) (OPEN).


2: Set the lot name to "ABC-123" (SET LOT).
3: Set the sample number to "100" (SET TEST).
4: Set Comment 1 as "Sample Comment1" (SET COMMENT).
5: Set Comment 2 as "Sample Comment2" (SET COMMENT).
6: Execute the teaching file (Sample.nmp) while the conditions 2 to 5 are set (REPLAY).

25
4 Control Command >> 4.3 Editing a Control Command

4.3 Editing a Control Command


This section describes the procedure of editing created control commands.

1. Select a control command from the "control command" list and then double-click on it (or press the [Enter]
key.

In this example, select the RUN command.

The [Edit Command] window appears.

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.

3. Click the [RUN] button.

The [Command Guide] window for the RUN command 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

The edited RUN command is shown in the "control command" list.

This completes the editing of the control command.

27
4 Control Command >> 4.4 Command Guide

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

Item Description Initial Value


[File] button Use this button to open the [Open] window and display the teaching file to be read. -
* If you want to open an NMP file, change the displayed files from [teaching
file(*.tch)] to [all files(*.*)] in the [Open] window.
File name This field shows the teaching file name selected in the [Open] window. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

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

Item Description Initial Value


[File] button Use this button to open the [Open] window and display the teaching file to be read. -
* If you want to open an NMP file, change the displayed files from [teaching
file(*.tch)] to [all files(*.*)] in the [Open] window.
File name This field shows the teaching file name selected in the [Open] window. -
X Specify the offset value in the X direction. (0.0 to 1000.0) (can be omitted) -
Y Specify the offset value in the Y direction. (0.0 to 1000.0) (can be omitted) -
Comment Enter a comment. (can be omitted) -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

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.

The lot name and sample number can be omitted.


When they are omitted, the result file is created with the default settings for replay of the NEXIV AutoMeasure.

File name

Item Description Initial Value


[File] button Use this button to open the [Open] window and display the teaching file to be -
replayed.
* If you want to open an NMP file, change the displayed files from [teaching
file(*.tch)] to [all files(*.*)] in the [Open] window.
File name This field shows the teaching file name selected in the [Open] window. -
Lot No. (can be omitted) Specify the lot number. (can be omitted) -
Sample No. (can be omitted) Specify the sample number. (1 to 9999) (can be omitted) -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

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.

Item Description Initial Value


[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

31
4 Control Command >> 4.4 Command Guide

4.4.5 SET ORIGIN


Create a command for setting the initial coordinate system.

Setup Initial
Coordinate

Item Description Initial Value


[Reset Initial Coordinate] Use this checkbox to reset the initial coordinate system. -
checkbox
[Setup Initial Coordinate] Use this drop-down list to specify the initial coordinate. -
drop-down list Select the desired initial coordinate from the initial coordinates registered in the
NEXIV AutoMeasure.
* If the [Reset Initial Coordinate] checkbox is selected, the reset of the initial
coordinate has priority.
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

32
4 Control Command >> 4.4 Command Guide

4.4.6 SET LOT


Create a command for setting the lot number of the result file.

Item Description Initial Value


Lot No. Specify the lot number of the result file. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

4.4.7 SET TEST


Create a command for setting the sample number of the result file.

Item Description Initial Value


Sample No. Specify the sample number of the result file. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

33
4 Control Command >> 4.4 Command Guide

4.4.8 SET NAME


Create a command for setting the output destination (folder) of the result data.

When this command is not used, the teaching file name is used.

Item Description Initial Value


Teaching File Specify the output destination (folder) of the result data. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

4.4.9 SET VARIABLE


Create a command for setting the initial value (real number) for each variable.

Up to 26 variables (A to Z) can be specified.

Item Description Initial Value


Name(A-Z) Specify a variable from 26 types of variables A to Z. -
Initial Value Specify the initial value (real number) for each variable. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

34
4 Control Command >> 4.4 Command Guide

4.4.10 SET COMMENT


Create a command for setting a comment for each comment number.

Comment numbers can be specified from 1 to 20.

Item Description Initial Value


Comment No.(1-20) Specify a comment number from 1 to 20. -
Comment Specify a comment for each comment number. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

4.4.11 SET TRANS


Create a command for specifying whether to transfer the result data to external computers through RS-232C.

Result data is transferred by the NEXIV AutoMeasure.

Item Description Initial Value


[No transfer] radio button When this radio button is selected, the result file is not transferred. ON
[Transfer] radio button When this radio button is selected, the result file is transferred. OFF
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

35
4 Control Command >> 4.4 Command Guide

4.4.12 SET CONVERT


Create a command for specifying whether to convert the result file to a CSV-format file.

Item Description Initial Value


[No Conversion] radio button When this radio button is selected, the result file is not converted to a CSV-format file. ON
[Vertical] radio button When this radio button is selected, the result file is output in vertical CSV format. OFF
[Horizontal] radio button When this radio button is selected, the result file is output in horizontal CSV format. OFF
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

36
4 Control Command >> 4.4 Command Guide

CSV File Format

Two CSV file output formats are selectable: vertical output format and horizontal output format.

• All angle component values are output in “degree” unit.

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

(1) Description of vertical output format

Replay message:
When comments are set for comment numbers 1 to 20,
20 lines are reserved.

Measurement tool name:


“Number”: ID on the list panel

Output item name, nominal value, upper and lower tol.:


Output item name (element name), nominal value, upper
and lower tolerances are displayed.

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

(2) Description of horizontal output format

Replay message:
When comments are set for comment numbers 1 to
20, 20 lines are reserved.

Measurement tool name: Measurement result:


“Number”: ID on the The leftmost number:
list panel Sample number

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

(3) Example of CSV file output


An actual example of CSV file format to be converted is shown below.

(Ex.) This example describes teaching that includes two steps of point measurement and circle measurement.

• The following parameters are specified for point measurement:


Message: "Base"
Output items: X, Y
Nominal values: X = 5.0000, Y = 15.0000,
Tolerance: ±0.05
• The following parameters are specified for circle measurement:
Message: None
Output item: D
Nominal value: D = 2.50000
Tolerance: ±0.05
• The following parameters are specified for replay measurement:
Number of repeat times: 3
Message: None

The following results are obtained from the above conditions:


First time: Point (X=5.0050, Y=15.0001) Circle (D=2.4998)

Second time: Point (X=5.0251, Y=14.9942) Circle (D=2.5199)

Third time: Point (X=4.9805, Y=15.0203) Circle (D=2.4972)

CSV file when vertical type is used


"Base", "1. Point", "X", "Y"
"", "Nominal value", 5.0000, 15.0000
"", "Upper tol.", 0.0500, 0.0500
"", "Lower tol.", -0.0500, -0.0500
"", 1, 5.0050, 15.0001
"", 2, 5.0251, 14.9942
"", 3, 4.9805, 15.0203
"", "2. Circle", "Diameter"
"", "Nominal value", 2.5000
"", "Upper tol.", 0.0500
"", "Lower tol.", -0.0500
"", 1, 2.4998
"", 2, 2.5199
"", 3, 2.4972

Horizontal-type CSV file


"", "", "", "Nominal value", "Upper tol.", "Lower tol.", 1, 2, 3
"Base", "1. Point", "X", 5.0000, 0.0500, -0.0500, 5.0050, 5.0251, 4.9805
"Base", "1. Point", "Y", 15.0000, 0.0500, -0.0500, 15.0001, 14.9942, 15.0203
"", "2. Circle", "Diameter", 2.5000, 0.0500, -0.0500, 2.4998, 2.5199, 2.4972

39
4 Control Command >> 4.4 Command Guide

4.4.13 SET REPEAT


Create a command for specifying whether to use the repeat measurement setting registered in the NEXIV AutoMeasure.

Set the repeat measurement setting

Item Description Initial Value


[Without repeat measurement] When this checkbox is selected, repeated measurement is not performed. OFF
checkbox
[Set the repeat measurement Specify the repeat measurement setting. -
setting] drop-down list Select the desired one from the repeat measurement settings registered in the NEXIV
AutoMeasure.
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

40
4 Control Command >> 4.4 Command Guide

4.4.14 SET JUDGE


Create a command for setting the action against tolerance judgment errors.

Item Description Initial Value


[Pause] radio button When this radio button is selected, the execution is paused when a tolerance OFF
judgment error occurs.
[Measure Next Step] radio When this radio button is selected, the current step is skipped and the replay is ON
button resumed from the next step when a tolerance judgment error occurs.
[Measure Next Sample] radio When this radio button is selected, the measurement for the current workpiece is OFF
button stopped and the next workpiece with repetition specification is executed when a
tolerance judgment error occurs.
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

41
4 Control Command >> 4.4 Command Guide

4.4.15 SET MEASURE


Create a command for setting the action against measurement errors.

Item Description Initial Value


[Pause] radio button When this radio button is selected, the execution is paused when a measurement ON
error occurs.
[Measure Next Step] radio When this radio button is selected, the current step is skipped and the replay is OFF
button resumed from the next step when a measurement error occurs.
[Measure Next Sample] radio When this radio button is selected, the measurement for the current workpiece is OFF
button stopped and the next workpiece with repetition specification is executed when a
measurement error occurs.
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

42
4 Control Command >> 4.4 Command Guide

4.4.16 SET PRINT


Create a command for specifying whether to output the measurement result to a printer.

Item Description Initial Value


[Standard Output] radio button When this radio button is selected, items for which tolerance judgment is set, or items OFF
specified as output items are output to a printer.
[Output Failed Only] radio button When this radio button is selected, only items with tolerance judgment errors are OFF
output to a printer.
[No output] radio button When this radio button is selected, no item is output to a printer. ON
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

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.

Item Description Initial Value


Texts Specify the character string to be received from external computers. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

44
4 Control Command >> 4.4 Command Guide

4.4.18 OUTPUT
Create a command for sending a character string to external computers.

Item Description Initial Value


Texts Enter the character string to be sent to external computers. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

45
4 Control Command >> 4.4 Command Guide

4.4.19 STAGE
Create a command for moving the stage to the specified coordinates.

Item Description Initial Value


X The stage is moved to the specified X coordinate. (0.0 to 1000.0) -
Y The stage is moved to the specified Y coordinate. (0.0 to 1000.0) -
Z The stage is moved to the specified Z coordinate. (0.0 to 1000.0) -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

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.

Item Description Initial Value


second Specify the duration of a pause in seconds. -
[OK] button Use this button to create the control command. -
The created control command is shown in the "control command" list.
[Cancel] button Use this button to discard the entered information and close the window. -
[Help] button Use this button to open the [HELP] window. -
The description of the function is displayed.

47

You might also like