Jump to content
OMRON Forums

Manual Exposure Adjustment with Serial Command


Recommended Posts

image.thumb.png.0bb80013052cf921b0c1462936027ac2.png

Introduction:
Purpose:

This guide is a last resort process to help correct calibration failures with the UID devices. This manual exposure adjustment should only be used if the UID Normalization software fails to calibrate the UID device.
Explanation:
This guide assumes working knowledge of the UID products, Terminal Emulators, and setting up a connection between the two. The instructions in this guide will explain what commands need to be sent to the UID device to check/update the UID device LightingType’s Exposure value as needed to obtain a successful calibration. This process is not 100 percent guaranteed to work.
Supported Devices:
 UID-CHK003 - UID COMPLIANCE VERIFIER LDP
 UID-DPM002 - UID COMPLIANCE VERIFIER DPM
What you will need:
 Windows PC
 UID Device
 Terminal Emulator ( e.g. PuTTY)

Serial Command Info:
Query Command:

 “XLIGHTCONTRASTCAL ?” - This command will query the UID device’s Lighting options and settings for Black Level, Exposure and Gain.
Update Command:
 “XLIGHTCONTRASTCAL [LightingType] [BlackLevel] [Exposure] [Gain]” - The values for LightingType, BlackLevel, Exposure, and Gain will need to be specified as mentioned in the instructions below.

 

Instructions:
1. Make note of the lighting type that is failing the calibration in the UID checker software. This information is needed to make the Exposure adjustment for that lighting type in the following steps.
2. Set up a serial connection with the UID device. This can be done via an Ethernet Telnet connection or a serial RS-232 COM connection. If connecting via Telnet you will need to connect to the UID device’s IP Address and command port 49095. Or set up a COM port connection from your terminal emulator to the UID device’s RS-232 connection settings.
3. Once a session has been set up and connected. Send the following query command:
a. “XLIGHTCONTRASTCAL ?”
4. The return value will be something like the following:
Example
XLIGHTCONTRASTCAL 90 14c 5782 300
XLIGHTCONTRASTCAL D 111 4661 287
XLIGHTCONTRASTCAL 45Q 105 2076 258
XLIGHTCONTRASTCAL 30T_NS 2 5146 271
XLIGHTCONTRASTCAL 30T_EW 2 5417 272
XLIGHTCONTRASTCAL 30Q 1 2832 261
XLIGHTCONTRASTCAL 30S_N 3 9739 282
XLIGHTCONTRASTCAL 30S_E 3 9800 282
XLIGHTCONTRASTCAL 30S_S 3 9628 282
XLIGHTCONTRASTCAL 30S_W 2 10668 285
!XLIGHTCONTRASTCAL OK

5. Make note of the query return values for the lighting type that is currently failing in the UID checker software. For example, if my device were failing calibration for the 90-degree lighting type then I would make the follow note. Use the return values from the query command in your serial connection. Do not use the values in the examples!
Example

image.png.19d5112d8324381533771c037995a4f6.png

6. Now send the XLIGHTCONTRASTCAL update command and decrease the 90-degree LightingType’s Exposure value by 200.
Example “XLIGHTCONTRASTCAL 90 14c 5582 300”
7. Now go back to the UID checker software and try to perform a calibration. If the calibration is successful, you are done. If calibration is not successful, repeat steps 6 and 7.
8. Repeat this process for any other lighting types that may be failing calibration.
Note: The HawkEye Normalization calibration software can no longer be used. It will overwrite the manual adjustments that were made.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Posted Images

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share


×
×
  • Create New...