LJ-V Series: Setup Guide
LJ-V Series: Setup Guide
Table of Contents
■■Introduction
■ ■Wiring............................................................... P.1
■■Frequently Used Settings
■ ■Trigger Mode.................................................. P.10
■ ■Installation........................................................ P.1 ■ ■Sampling Cycle.............................................. P.10
■ ■Setup Process.................................................. P.2 ■ ■Scaling and Offset......................................... P.10
■ ■Tolerance and Judgment Output................... P.11
■■Intermediate
■ ■Using Position Correction................................ P.5
■■Appendices
■ ■Batch Measurement....................................... P.14
■■Advanced
■ ■Imaging Settings.............................................. P.7
■ ■Interface Options........................................... P.14
■ ■Changing Units.............................................. P.15
■ ■Profile Settings................................................. P.9
■ ■Profile Mask...................................................... P.9
Introduction
Wiring
See Chapter 2 of the Wire and connect devices as follows.
User's Manual for details.
USB cable
or Ethernet
cable
Installation
Turn on the power and start the controller. Start LJ-Navigator 2 on the PC.
Check the "Display profile" window of LJ-Navigator 2.
If the message "Commu- When the measurement target is positioned within the measure-
nication with the controller ment range, the LED on the sensor head lights in green or solid
failed due to the following orange. Confirm that the sensor head LED is lit and a target
reason" or "Sensor head profile is displayed in the "Display profile" window.
model connected is differ-
ent from the last power-on
operation." appears, click
"OK" and then select "Yes".
<Measurement range> Unit [mm]
D
B Measurement range D 7 7 14 15 32 62 180
E E 7.5 7.5 8 15 39 73 240
1
See 3-2 in the User's
Setup Process Manual for details of the
setup process.
This section explains the process from setting to measurement. The table below describes how to configure each setting in
LJ‑Navigator 2.
The settings explained in this Setup Guide are classified into three levels: "Beginner", "Intermediate", and "Advanced".
(1) Trigger setting ... Adjust sampling rate or set sampling triggers such as external triggers or encoders.
As needed
(Beginner) Explains how to use the imaging setting optimization function to optimize
(2) Imaging setting ...
the imaging settings.
(Advanced) Adjust imaging settings to acquire desired profile.
(3) Profile ... Correct and stabilize profiles obtained by image capture through filtering or other
methods.
(4) Master registration ... Register a master workpiece as a reference for measurement. Registered work-
pieces can be used for "position correction", "profile mask", comparison, and other
functions. Register a master workpiece when these functions are required.
* A master does not need to be registered when the functions above are not required.
(5) Position correction ... If a target is misaligned, the measurement area will be misaligned, which may
prevent the target from being measured correctly. When a target is misaligned, the
controller internally calculates the misalignment amount and corrects the measure-
ment area position to measure the target correctly.
(6) Profile Mask ... This function masks areas of profile data that you do not want to use for measure-
ment processing. This function allows stable measurement even when it is very
difficult to obtain a good profile due to factors such as stray reflections.
(7) OUT measurement set- Setting a measurement target on an obtained profile allows various measurements
such as "height", "step", "position", and "width".
ting ...
(1)
(2)
(3)
2
For targets that have (4) Select the head you would like to optimize imaging settings for, click "Search optimize setting".
holes, if you want to set
the holes to ALARM, set
the number of interpolation
points for invalid data to
(4)
a small value in advance
to match the size of the
holes. (See "Interpolation
points for invalid data" on
pages 7 and 8.)
(5) From the profiles displayed in the search result display area, select the profile that most closely matches the actual shape of
the target.
If there are multiple candidates, select the one that is closest to the top, and then click "Fix".
The imaging settings are sent to the controller, and then the "Optimize setting" screen closes.
(5)
(1)
(3)
3
(4) Drag each area to a location you want to measure. See 3-12 in the User's
Manual for details on how
* Dragging the inside of the area frame moves the measurement area. to move the area.
* Dragging the area frame enlarges or reduces the measurement area.
* When the measurement target area is larger than the reference target area, the measurement value is displayed with a■
plus symbol.
(6)
(6)
(7)
Types of measurement
4
Intermediate
(2) Place the master workpiece that serves as a measurement reference in the measurement range and click "Master reg."■
to register its profile waveform (profile). Click "Register" if the profile is displayed correctly.
θ preliminary The θ
correction: ON correction (θ
Use a horizontal Ye s θ correction: ON preliminary
section of the target correction) can
to correct for be used in
inclination. * The θ preliminary correction function combination
Can the correction corrects misalignment in the horizontal with the 5
area be misaligned direction in the area set for the θ correction. position
in the horizontal corrections
axis? No above for
θ correction: ON
further fine
adjustment on
a misaligned
target.
(5) This section explains cases in which both the θ preliminary correction and θ correction are set to ON.
Turn on the θ preliminary correction and θ correction in the following window and click "OK".
5
(6) In the setting window for θ preliminary correction, specify the edges to recognize the horizontal misalignment amount as
shown in the figure below. The area location, width, and edge level can be adjusted by dragging the area. Click "Next" after
adjustment.
Edge level
Profile
Edge No.
(7) Set the area on the line section to correct the inclination. The area location and width can be adjusted by dragging the area.
Click "Fix" after adjustment.
(8) Set the area to be measured in "OUT measure set" and click "Complete".■
* See "Beginner" for information on the OUT measurement setting.
(9) Confirm that the measurement area tracks the movements of the target.
6
Advanced
This section explains settings for stable measurement.
Imaging Settings
These settings used when a target profile cannot be obtained correctly.
(1) Click "Direct setting" -> "Imaging setting" when the target profile cannot be obtained correctly.
(2) Click the image data display icon at the top left to confirm the captured data.
(3) The following four major factors can be considered if the target profile cannot be obtained correctly. Check obtained data to
determine which factor is causing the problem. The red line is a recognized profile. The while areas indicate light received.
2. Exposure time
Set the maximum exposure time for the image pickup device. Although light
intensity can be easily obtained with a longer exposure time, faint returns such
as stray reflections may also be detected. Additionally, the exposure time (2)
becomes short when using a high speed sampling cycle. Set a long exposure
time if light intensity is insufficient. When doing this, select as slow a sampling
(3)
cycle as possible in "Trigger setting".
(1)
(5)
3. Control light intensity
The LJ-V Series adjusts for the laser light intensity according to the intensity of
the reflected light. AUTO controls light intensity for the entire measurement tar-
get, so when light intensity is insufficient,set "Control light intensity" to MANUAL (4)
to increase the lower limit value for the controlled area or set the FB control
area at locations with insufficient light intensity.
* Setting a large value the lower limit of the light intensity controlled area
forcibly emits strong light and thus higher light intensity can be received from
areas with insufficient light intensity.
See the next page for (4) and (5).
7
4. Multi emission (Synthesis)
This function composes profile data obtained by capturing multiple images at different light intensity settings. This is
effective for targets with uneven reflectivity. Try the multi emission (synthesis) for targets with insufficient light intensity.
Try 3 and 5 as the number of emission times.
* In multiple image capture, if the sampling cycle is too fast, each image capture becomes too short and sufficient
light intensity cannot be obtained. Set the sampling cycle as slow as possible in "Trigger setting" before performing
multi emission.
1. CMOS sensitivity
Change the CMOS sensitivity of the imaging device according to the target.
A higher high dynamic range setting increases the sensor's ability to see targets with low reflectivity. At the same time,
it makes the sensor more susceptible to stray light which can affect profiles. Set the CMOS sensitivity to High dynamic
range 2 or 1 when light intensity is saturated.
2. Exposure time
Sets the maximum exposure time allowed for image capture. Setting a short exposure time decreases light intensity
and, as a result, saturation is unlikely to occur. However, this decreases light intensity as a whole, which may cause a
lack of light intensity in some areas. Set a short exposure time if light intensity is saturated.
8
Stray light occurs above or below the target
Use "Advanced" of "Imaging setting" in "Direct setting".
Click the tab named "Head A".
Captured images
3. Image mask Without mask With mask Mask
Masking light other than reflected light from the target stops measurement Stray light
from being affected by stray light from other reflections (see the figures to
the right.)
* The image mask cannot track the movement of targets.
* See "Profile mask" below if you want the mask to track the movement of Without mask Without mask
targets. Effect of stray light
Profile Settings
Use this setting to correct and stabilize profiles obtained by image capture through filtering or other methods. Click "Direct set-
ting" -> "Profile" -> "Advanced" setting -> "Head A" tab.
Median (x axis)
The median filter* is applied to the profile.
* A filtering method to adopt the median data value when data at a specified number of
points are arranged in ascending order. This filter can prevent a sudden deviation of the
measurement value.
Averaging
Averaging takes an average over time for each fixed point after sampling a set number of
profiles. This does not blur fine details in the profile but the measurement response time is
slow.
Profile Mask
When profiles still contain unstable areas even after adjusting the imaging and profile settings, use the profile mask to exclude
these unstable areas from the measurement processing.
Unlike the image mask, the profile mask tracks with position
correction. Mask the areas you do not want to include in the
measurement as shown in the figures to the right. See 6-20 in the
manual for details on setting this.
9
Frequently Used Settings
This section introduces frequently used settings.
Trigger Mode
A trigger determines the moment of sampling (image capture). See 5-5 in the User's
Continuous Trigger: profiles are captured at the set sampling rate Manual for details on trig-
External Trigger: profiles are captured on each external trigger input ger mode.
Encoder Trigger: profile is captured on each encoder input
Sampling Cycle
The sampling cycle is the rate at which the controller will capture profiles. In continuous trigger mode, the sampling cycle defines See 5-7 in the User's
the profile capture rate. In external and encoder trigger modes, the sampling cycle is the upper limit of profile capture speed. Manual for details on
sampling cycles.
The default sampling cycle is 1 kHz. The parameters for "measurement range", "binning" and "imaging mode" need to be adjusted
to make the sampling cycle faster than the default. Each parameter is explained here.
Measurement range... Narrowing the ranges in the X and Z directions speeds up the sampling cycle.
Binning... Enables processing with a high sensitivity at a high speed by reducing resolution. The signals of adjacent pixels are
added, with 2 x 2 pixels are treated as a single pixel, meaning that turning on the binning makes the sampling cycle
four times faster.
Imaging mode... The default imaging mode is set to "Multi emission (optimized light intensity), Emission times: 2". With this setting,
light intensity is adjusted according to the received light intensity obtained in the first image capture and the
result image captures. Therefore, setting this mode to "Standard" makes the sampling cycle twice as fast.
By changing the parameters for the above settings, the sampling cycle can be sped up to as fast as 32 kHz.
See 5-7 in the manual for details.
If you want to perform sampling at 64 kHz, turn on "parallel image capture" which is available in High-Speed mode. See 9-3 in the
User's Manual for information on parallel image capturing.
Point 2 Point 2
Input Input
value value
Point 1 Point 1
10
Offset and Zero can be used to change current measurement value (displayed value) to a desired value upon a signal input.
(1) Click "Direct setting" -> "OUT measure set" -> "Setting" -> "Process" tab.
(3) Externally inputting ZERO1 or clicking the ZERO1 button below changes ■
the measurement value to the value entered in "Offset".
(1) Click "Direct setting" -> "OUT measure set" -> "Setting" -> "Process" tab.
The measurement result for each OUT judged as HI, GO, or LO based on the ■
tolerance setting can be output from the I/O terminal. ■
It is possible to set which output is performed from which terminal.
(3) A total of 12 output terminals from OUT_PIN1 to OUT_PIN12 can be assigned as desired to each output as shown in the figure■
below.
11
Convenient Functions
Back up files when you want to save all settings including the environ-
ment settings.
Click "File" -> "Backup/Restore" -> "Backup all settings" in the monitor
window to save a backup file. The extension is .cbk.
12
Storage Function
This section introduces the storage function for storing measurement data and profiles.
Data storage
Measurement values of each OUT are stored in the internal memory of the controller. Stored data is read in LJ-Navigator 2
as follows.
* See 7-7 in the User's (1) Click "Direct setting" -> "Terminal/Storage".
Manual for information
on storage conditions. (2) Click the "Storage" tab, select "OUT data" for "Storage target", and then click■
"Complete".
* See 8-19 in the User's (3) Click "Storage" and then click "Start strg" to store data.
Manual for information
on detailed operations (4) Clicking "Stop strg" stops data storage.
in the data storage
window. (5) Clicking "Stop" enables you to click either "Save to file ..." ■
(in proprietary format) or "Save csv file".
Profile storage
Internal measurement values and profiles of each OUT are stored in the internal memory of the controller. Stored data is read
in LJ-Navigator 2 as follows.
* "Internal measurement value" refers to a measurement value before hold mode processing, such as peak hold mode, is■
performed.
(1) Click "Direct setting" -> "Terminal/Storage".
Cursor
(2) Click the "Storage", select "Profile" for■
"Storage target" and click "Complete".
CSV Storage
"Height image data" and "storage data" can be saved in CSV format.
13
Appendices
Batch Measurement
Handling multiple profiles together is called "batch measurement".
This section explains cases where "batch measurement" works effectively.
When batch measurement is not performed, measurement processing is executed to obtain a measurement value every time a profile
image is captured. Since this measurement processing takes time, profiles cannot be obtained quickly. (maximum speed approx. 2 kHz.)
Batch measurement, on the other hand, stores profiles in the internal memory and executes measurement processing for all of them
together when profile acquisition is complete, enabling high speed profile acquisition (maximum speed 32 kHz.)
* However, processing time is required (pause time) because all measurement processing is performed at once after profile acquisition.
* An OUT measurement value for each profile is not output. Measurement is performed on a specified number of profiles together.
Measurement
processing
Batch Measurement: ON
Profile
Measurement
processing
Interface Options
See the following table for interfaces that can be used for output and maximum speeds for "Measurement value" and "Profile".
The speed differs according to the setting and the device receiving the signals. The values shown are a guide only.
USB Ethernet
RS-232C Analog voltage
(DLL is used) (DLL is used)
Measurement
2000 Hz 2000 Hz 200 Hz 2000 HZ
value
Profile
16000 Hz 64000 Hz – –
(High-speed mode)
Profile
800 Hz 300 Hz – –
(Advanced mode)
14
Changing Units
Changing units from mm to inches
(1) On the PC turn the Num Lock and Scroll Lock to on.
(3) While holding the "Ctrl" and "Shift" buttons click Common Measure Set
Copyright (c) 2014 KEYENCE CORPORATION. All rights reserved. 13612E 1066-4 96M14151 Printed in Japan