Keyence plugin¶
The Keyence plugin provides Viper.NET image sources for various Keyence sensors. To configure the sensors, the Keyence configuration software must be installed, which can then be opened from the Viper.NET image source:
Keyence sensor |
Required configuration software |
---|---|
LJ-S |
LJ-S Navigator |
LJ-V |
LJ-Navigator 2 |
LJ-X |
|
VJ |
VJ Software Suite Ver.2.0.0 |
The upper section of the image-source-editor corresponds to the standard image source settings for each Keyence image source. The lower area contains specific setting options for the various Keyence image sources and is described below:
Keyence LJ-S¶

IP address: IP address of the Keyence LJ-S sensor (port 24691).
Timeout: Maximum waiting time for response to commands sent to the sensor. If the waiting time is exceeded, the image-acquisition is aborted with an error.
Cut Lower Z: minimum threshold height. Lower height points are masked out in the resulting height image. Masked out pixels are set to the maximum 16-bit value (65535).
Min/Max Z: Thresholds between which the measured height values are transformed linearly to the value range of a 16-bit image.
Slave index for luminance: Image index which the luminance channel is exported to if the sensor supports luminance (see 6.). This image source provides the height image under image index 0. If luminance is supported by the sensor and is activated (see 6.), the luminance image is made available under image index 1. The luminance image can then be integrated into Viper.NET as a slave image source.
Luminance available: indicates whether the sensor supports luminance and allows it to be deactivated if necessary.
Send setting to device: Writes current settings to the sensor.
Get setting from device: Reads settings from the sensor.
Connect: Attempts to establish a connection with the sensor.
Disconnect: Disconnects the current connection with the sensor.
ClearMemory: Clears the internal memory of the sensor.
Start LJ-S Navigator: Opens the Keyence LJ-S Navigator.
Indicates whether the sensor is currently connected.
Keyence LJ-V¶

IP address: IP address of the Keyence LJ-V sensor (port 24691).
Timeout: Maximum waiting time for response to commands sent to the sensor. If the waiting time is exceeded, the image-acquisition is aborted with an error.
Cut Lower Z: minimum threshold height. Lower height points are masked out in the resulting height image. Masked out pixels are set to the maximum 16-bit value (65535).
Min/Max Z: Thresholds between which the measured height values are transformed linearly to the value range of a 16-bit image.
Slave index head B: If the Keyence LJ-V sensor used has a second measuring head, the image index under which the second, additional height image is to be made available can be selected here. The height image of the second measuring head can then be integrated into Viper.NET as Slave image source.
Slave index luminance A/B: Image index on which the luminance channel is output if the sensor supports luminance (see 18.). If luminance is supported by the sensor and is activated (see 18.), the luminance image of the respective sensor is made available under the configured image index. The luminance image can then be integrated into Viper.NET as Slave image source.
Luminance Enc: Encoding für das Luminanzbild.
Send setting to device: Writes current settings to the sensor.
Start LJ Navigator 2: Opens the Keyence LJ-Navigator 2.
Get setting from device: Reads settings from the sensor.
Get Last BatchProfile: Displays the last measured profile batch.
Connect: Attempts to establish a connection with the sensor.
Disconnect: Disconnects the current connection with the sensor.
ClearMemory: Clears the internal memory of the sensor.
Heads: Number of measuring heads to be used (1 or 2).
Settings for mirroring the measured height image in the profile (=x) or scan (=y) direction for both measuring heads.
External trigger: Uses an external trigger signal to initiate the measurement.
Profile with luminance data: indicates whether the sensor supports luminance and allows it to be deactivated if necessary.
Show Highspeed Live Profile: Live display of the currently measured profile.
Indicates whether the sensor is currently connected.
Keyence LJ-X¶

IP address: IP address of the Keyence LJ-X sensor (port 24691).
Timeout: Maximum waiting time for response to commands sent to the sensor. If the waiting time is exceeded, the image-acquisition is aborted with an error.
Cut Lower Z: minimum threshold height. Lower height points are masked out in the resulting height image. Masked out pixels are set to the maximum 16-bit value (65535).
Min/Max Z: Thresholds between which the measured height values are transformed linearly to the value range of a 16-bit image.
Slave index for luminance: Image index on which the luminance channel is output if the sensor supports luminance (see 17.). This image source provides the height image under image index 0. If luminance is supported by the sensor and is activated (see 17.), the luminance image is made available under image index 1. The luminance image can then be integrated into Viper.NET as Slave image source.
Luminance Enc: Encoding für das Luminanzbild.
Send setting to device: Writes current settings to the sensor.
Start LJ-X Navigator: Opens the Keyence LJ-Navigator 2.
Get setting from device: Reads settings from the sensor.
Get Last BatchProfile: Displays the last measured profile batch.
Show Highspeed Live Profile: Live display of the currently measured profile.
Connect: Attempts to establish a connection with the sensor.
Disconnect: Disconnects the current connection with the sensor.
ClearMemory: Clears the internal memory of the sensor.
Scan head type: Type of scan head used (LJ-X, LJ-V or LJ-VB)
Settings for mirroring the measured height image in the profile (=x) or scan (=y) direction.
External trigger: Uses an external trigger signal to initiate the measurement.
Luminance available/unavailable: indicates whether the sensor supports luminance and allows it to be deactivated if necessary.
Wait for encoder Z-Phase in Profile: whether to wait for encoder Z-Phase.
Profile count: Number of profiles in profile batch.
Profiles per callback: Number of profiles per call of the high-speed callback function.
Indicates whether the sensor is currently connected.
Keyence VJ¶

IP address: IP address of the Keyence VJ sensor.
Update devicelist: Forces an update of the device list.
Timeout: Maximum waiting time for response to commands sent to the sensor. If the waiting time is exceeded, the image-acquisition is aborted with an error.
Multi-image capture: Multi-image capture settings.
Force update image types: Updates image types.
Add or delete image types and assignment to image indices (see Slave image sources)
Various options for managing the sensor parameters.
Send setting to device: Writes current settings to the sensor.
Start VJ Editor: Opens the Keyence VJ Editor.
Get setting from device: Reads settings from the sensor.
Connect: Attempts to establish a connection with the sensor.
Disconnect: Disconnects the current connection with the sensor.
Indicates whether the sensor is currently connected.