12 duplicate reading prevention interval reset, Duplicate reading prevention interval reset, Edit data function/edit image file name function – KEYENCE SR-750 Series User Manual

Page 24: Reset when a code is read, Setting procedure

Advertising
background image

24

E SR-750 UM

3-12

Duplicate reading
prevention interval reset

The duplicate read prevention function is equipped with the Multi1 reading mode
not to read codes again that have been read once. The working time of this
duplicate reading prevention function is set by the duplicate reading prevention
interval. Two types of the duplicate reading prevention interval reset operation have
been prepared with the SR-750 Series.

Types of the duplicate reading prevention interval reset

Two types of the duplicate reading prevention interval reset
• Reset when a code is read.
• Do not reset during duplicate reading prevention interval.

This section describes each operation.

Reset when a code is read.

The duplicate reading prevention function works for one data most recently read. If
different codes are read, the duplicate reading prevention interval is reset and the
duplicate reading prevention function works for the newly read code data. The
duplicate reading prevention interval count starts at the timing when the last code is
read.

„

Timing chart

• When reading is successful, reading continues using the successful bank until a

reading error occurs.

• If codes with the same contents are read in series, adjust the passing time longer

than the time set with the duplicate reading prevention interval (setting range:
100 to 25500 ms). Codes with different contents can be read in series.

• The timing to start measuring the duplicate reading prevention interval is when

the code that was read is outside the field of vision.

Do not reset during duplicate reading prevention
interval.

The duplicate reading prevention function works for all codes read within the set
duplicate reading prevention interval from when the timing input was done and the
first code is read. The duplicate reading prevention function works again when the
next code is read after the duplicate reading prevention interval finishes.

„

Timing chart

• Regardless of reading success or reading error, codes are read alternating

parameter banks.

• Amount of data memorized during the duplicate reading prevention interval: Up

to 160 codes, total of 10 Kbytes

Duplicate reading
prevention interval

(1)

(1)

(2)

(1)

(2)

(2)

(1)

(2)

(1)

(2)

(2)

Timing input

Code

Data communication

Duplicate reading
prevention

Duplicate reading prevention interval

(1)

(2)

(1)

(3)

(2)

(1)

(2)

(2)

(1)

(2)

(3)

(1)

(2)

Timing input

Code

Data communication

Duplicate reading
prevention

Important

If multiple codes in the same type are seen in the field of view at
the same time, take one of the following methods.
• Prepare multiple parameter banks with the read length

restricted, and make the setting so the parameter banks are
switched for each code.

• Prepare multiple parameter banks with the decoding area

restricted, and make the setting so the parameter banks are
switched for each code.

* When Multi read (setting within 1 parameter bank) is set to

Enable, if the code data that was read once matches with any of
the multiple read code data in 1 scan, not all code data read in
the scan are not output.

3-13

Edit data function/Edit
image file name function

With the edit data function, read data can be edited into a desired data format.
With the edit image file name function, when sending image files to upper ranks via
FTP, the image file names can be edited into desired file names.

The edit data function and edit image file name function can do the following.

„

Edit data (Basic)

• Four arithmetic operations (add, subtract, multiply and divide)
• Conditional branching
• Adding arbitrary characters
• Extracting and combining arbitrary digits

„

Edit data (Advanced)

Various types of data can be built using four arithmetic operations, conditional
branching, etc. from appended data information, etc.
[Example]
• Code rotation angle (Calculated from top coordinates)

„

Edit image file name

• Time stamp*
• Append read data

Important

• The edit image file name function is available only for images

sent via FTP.
This does not function for images saved in RAM and ROM.

• This does not support quick setup codes.
* When using the time stamp, enable the SNTP function of SR-750

and connect to the SNTP server.
(For SNTP setting items, refer to Page 48.
)

Procedure for setting the edit data function and edit image file name function

The edit data function and the edit image file name function can be used by
sending the file which contains the program of Script to SR-750 and enabling the
"Use script file" setting.

Setting procedure

[1] Creating the script file

Create the script file (FmtSet.lua) and write the program using a text editor such
as notepad.exe.
* For programming method, refer to "SR-D100/750 Series Script Reference".

[1] Creating the script file

[2] Changing the script

execution setting

[3] Transferring the script file

Advertising