MTS Systems TFIR-31LAN, TFIR-31LAN-H Operation Manual

Operation Manual
TFIR-31LAN series
TFIR-31LAN / -31LAN-H
2012/06/13
1st Edition
Update Information
Edition
Date Update Contents
1
st
edition 2012/06/13 New release
- 1 -
- 2 -
Introduction
Thank you for purchasing this product.
This manual explains the specifications, setup, Installation, features, operation, and
system configuration, of the TFIR-31LAN series image reader.
In order to use the product properly, please read this manual carefully.
If any problems are encountered during normal use, please document it carefully to
ensure our support team can accurately reproduce the situation.
The contents of this manual may change without notice. Please check our website
for the most current version.
Safety notices
DO NOT disassemble. Disassembly will void the warranty and could cause damage
or personal injury.
Ensure to follow all warnings or notices displayed by the host computer.
If smoke or odors begin to emit from the product, stop using and disconnect the unit
immediately.
- 3 -
DO NOT use AC adapters other than the one recommended. Adapters with differing
voltage or polarity may damage the unit.
MARS TOHKEN SOLUTION products are not designed or intended for the use as a
component in life support appliances or as surgical implants nor in any other
application where failure of the product could cause personal injury or death. The
use of
MARS TOHKEN SOLUTION products shall indemnify and hold harmless to
MARS TOHKEN SOLUTION’s and its shareholders against any claims of injury or
death associated with unintended authorized use.
Handle with care
¾ DATA BACKUP
This product has a memory backup function. This backup data restoration cannot be
guaranteed if repair, reconstruction, or upgrades are performed on this product.
¾ DO NOT use this product at temperature or humidity ranges beyond that documented
in the product specifications, or in direct sunlight.
¾ DO NOT expose this product to water, moisture, oil, etc.
¾ This product may be damaged in environments containing corrosive gas.
¾ DO NOT use any chemicals when cleaning.
To clean the reading window, please follow the steps below:
- Wipe lightly with cloth or swab (may be damp with alcohol).
- Wipe off any residual alcohol using a dry cloth.
- 4 -
¾ This is a high-precision optical device, avoid exposing this product to excessive force
such as that sustained by a drop.
Do not install electrical wiring or plugin/unplug of cable (except LAN cable) when this
product is powered on. These may result in an electrical damage to this product.
Locations for operation and storage
Avoid the following locations that could cause an accident or damage to the product.
- Exposed to ambient temperature outside the rating
- Exposed to relative humidity outside the rating
- Exposed to rapid temperature fluctuations (causing condensation)
- Exposed to direct sunlight or near heaters
- Exposed to direct vibration or shock
- In the presence of dust, salt, or iron particles
- In environments where static electricity can build into siginificant charges
- In the presence of flammable or explosive gases
- In the presence of corrosive gas
Long-term storage
Store away from direct sunlight and direct vibration or shock for long term storage.
Do not store this product at temperature or humidity ranges beyond that documented
in the product specifications.
- 5 -
Unpacking
Before unpacking the TFIR-31LAN series image reader check that there has been
no damage to the packaging.
Check that the box includes the items listed below. If any items are missing or
damaged, please contact your local sales representative.
Included items
Item Qty
TFIR-31LAN series image reader 1 pcs
- 6 -
Table of Contents
INTRODUCTION......................................................................................................................... 2
SAFETY NOTICES...................................................................................................................... 2
HANDLE WITH CARE................................................................................................................3
LOCATIONS FOR OPERATION AND STORAGE .................................................................... 4
LONG-TERM STORAGE............................................................................................................. 4
UNPACKING ............................................................................................................................... 5
1 OVERVIEW........................................................................................................................... 9
1.1 SUPPORTED SYMBOLOGIES........................................................................................... 10
1.2 PRODUCT DESCRIPTION ............................................................................................... 11
2 CONFIGURATION............................................................................................................. 17
2.1 PREPARATION ............................................................................................................... 17
2.2 READING FLOW............................................................................................................. 18
2.3 COMMUNICATION PORT SELECTION (RS232C, LAN) ................................................... 19
2.4 CONFIGURATION........................................................................................................... 19
2.5 TRANSFER IMAGE DATA ................................................................................................ 19
3 OPERATION MODE .......................................................................................................... 20
3.1 SINGLE READING MODE ............................................................................................... 21
3.2 READING TIMEOUT MODE ............................................................................................ 23
3.3 EXTERNAL TRIGGER MODE .......................................................................................... 27
3.4 CONTINUOUS READING MODE ..................................................................................... 29
3.5 TEST MODE .................................................................................................................. 29
3.6 CYCLE BUFFER FUNCTION ........................................................................................... 30
3.7 AUTOSENSE MODE ....................................................................................................... 31
4 CONFIGURATION FOR SYMBOL READING................................................................. 36
4.1 CONFIGURATION PARAMETERS..................................................................................... 36
4.2 CAMERA CONTROL MODE............................................................................................. 39
4.3 DETAIL OF TABLE MODE .............................................................................................. 41
5 ADVANCED FUNCTIONS ................................................................................................ 43
5.1 PRESET MODE .............................................................................................................. 43
5.2 OUTPUT ADDITIONAL INFORMATION............................................................................. 47
- 7 -
5.3 SAVE IMAGE ................................................................................................................. 52
5.4 OUTPUT TRACE INFORMATION...................................................................................... 55
5.5 AUTOMATIC TUNING FOR CAMERA SETTINGS................................................................ 61
6 LAN(TCP/IP) CONNECTION ............................................................................................ 62
6.1 PREPARATION ............................................................................................................... 62
6.2 CONFIGURE IP ADDRESS .............................................................................................. 62
6.3 DEFAULT SETTINGS ...................................................................................................... 63
6.4 CHECK FOR LAN SETTINGS.......................................................................................... 65
6.5 CONNECT TO LAN........................................................................................................ 66
6.6 MANAGE COMMUNICATION STATUS .............................................................................. 66
6.7 SERIAL COMMAND FOR LAN SETTINGS ........................................................................ 67
6.8 INITIALIZE LAN SETTINGS ........................................................................................... 68
7 SERIAL COMMAND (RS232C, LAN)................................................................................ 69
7.1 COMMUNICATION ......................................................................................................... 70
7.2 SYMBOLOGIES .............................................................................................................. 71
7.3 SYMBOL READING ........................................................................................................ 79
7.4 CAMERA CONTROL (1) (FOR FIXED GAIN AND AUTOMATIC GAIN CONTROL MODE)..... 81
7.5 CAMERA CONTROL (2) (FOR TABLE MODE) .................................................................. 82
7.6 CAMERA CONTROL (3) (FOR TABLE MODE) .................................................................. 82
7.7 DEFAULT TABLE SETTINGS (*)...................................................................................... 83
7.8 IMAGE PREPROCESSING ............................................................................................... 84
7.9 PRESET MODE .............................................................................................................. 85
7.10 CONFIGURATION REFERENCE....................................................................................... 85
7.11 IMAGE OUTPUT, IMAGE SAVE........................................................................................ 85
7.12 LAN SETTINGS............................................................................................................. 86
7.13 GENERAL OPERATION .................................................................................................. 86
7.14 TABLE OF CHARACTER CODE........................................................................................ 87
8 SPECIFICATIONS ............................................................................................................. 88
8.1 DIMENSIONS................................................................................................................. 90
8.2 INTERFACE ................................................................................................................... 91
8.3 READING RANGE .......................................................................................................... 93
9 EXAMPLE OF CONFIGURATION DIAGRAM................................................................. 95
10 TROUBLESHOOTING ................................................................................................... 96
- 8 -
10.1 THE READER DOES NOT START UP OR CANNOT COMMUNICATE WITH A PC................... 96
10.2 SYMBOL CANNOT BE DECODED ..................................................................................... 97
10.3 FAIL TO COMMUNICATE THROUGH TCP/IP PROTOCOL ................................................. 98
10.4 AFTER GOOD READ, THE READER EMITS 7 SHORT BEEPS A FEW SECONDS LATER. ....... 98
- 9 -
1 Overview
(1) TFIR-31LAN series image reader is fixed mount (stationary type) image reader capable
of reading both linear (1D) bar codes and two-dimensional (2D) codes. These units
incorporate the most innovative digital camera technologies, related image recognition,
and processing software. The image reader can read both 1D and 2D symbols, with auto
discrimination of symbol type and omni-directional (360-degree rotation) reading. This
manual may also refer to 1-dimensional and 2-dimensional barcodes as “symbols”.
(2) The TFIR-31LAN series image reader has RS232C and Ethernet (10BASE-T) interface,
and can be connected easily to a Windows PC.
Windows 2000, Windows XP, Windows Vista and Windows 7 are supported.
z Windows is a registered trademark or trademark of Microsoft Corporation in the United States or
other countries.
z If the image reader does not work in your system environment with Windows PC, please contact
your local sales representative.
(3) The TFIR-31LAN series image reader incorporates functionality to read DPM symbols
(Direct part marking symbols) which are printed directly on objects such as Laser marking
and Dot Peen Marking.
Image Preprocessing:
This function uses MARS TOHKEN SOLUTION’s latest image processing
algorithms to improve deteriorated pictures to provide the user with the best
reading performance.
Table Mode:
Combining multiple functions (Shutter Speed, Gain, Image Processing, etc),
this function executes the image capture and image processing automatically
in the order appointed to maximum of 8 configurations.
(4) If there are any difficulties configuring the input SYNC signal to a proper timing, please
use the MAXIMG function to continuously capture images during the configuration period.
- 10 -
(5) The TFIR-31LAN series image reader has two types of internal illumination source as
follows.
TFIR-31LAN-H : Spot illumination source and diffused illumination source
TFIR-31LAN : Spot illumination source A and spot illumination source B
1.1 Supported Symbologies
1D bar codes:
Code39
Code128
EAN128
Codabar
ITF (interleaved 2 of 5)
JAN / EAN / UPC
Code93
RSS
2D codes:
Data Matrix (ECC200)
QR Code, Micro QR
PDF 417, Micro PDF
Maxi Code
Composite
Postal (Japan Post)
Aztec Code
- 11 -
1.2 Product Description
View from rear
MAC xx:xx:xx:xx:xx
DIO connecto
r
MAC address
Interface cable
LAN connector
Product label
Diffused illumination
Diffused illumination
Membrane switch
Spot illumination
Rear panel
Camera lens
TFIR-31LAN
TFIR-31LAN-H
Spot illumination B
Spot illumination A
Spot illumination A
Pointer illumination
- 12 -
1.2.1 Monitor LED
1.2.1.1 Function of monitor LED
Note: The function of monitor LED differs in automatic tuning mode for camera settings. Please refer to section 5.5 for the detailed information.
1.2.2 Teach button
The Teach button is used for automatic tuning (Refer to section 5.5).
1.2.3 Read button
The Read button acts as a trigger for the reader. It is also used for automatic
tuning (Refer to section 5.5).
1.2.4 LAN connector
LAN interface (LAN)
Send and receive data to/from host device. LAN cable is not included.
LAN indicator (Green): On when the LAN connection is established.
LAN indicator (Red): Blinking when data is being transferred.
LED Color Name Description
A Red Ready Turn on when the reader is ready to work
B Green Sync Turn on when the reader receives SYNC signal
C Green GO Turn on when the reader successfully reads symbol(s)
D Red NG Turn on when the reader fails to read symbol(s)
Detail of membrane switch
CB
A
Teach Read
D
Monitor LED × 4
Read buttonTeach button
LAN indicator (Green) LAN indicator (Red)
RJ-45(LAN) connector
- 13 -
1.2.5 DIO connector
2 Digital Outputs: GO, NG
Three photo coupler isolated outputs are available.
“GO” and “NG” are used to signal the result of decode. These signals can also
be configured to be “Ready” and “Busy” by the serial command. Refer to section
7.13 General Operation for detailed information.
1.2.5.1 Detail of the GO & NG singnal Signal name Description
GO signal GO signal is associated with Good Read, which is ON
during the specified time set by the GOOUT command when the symbol is decoded successfully. And also this signal is OFF when starting the next reading.
NG signal NG signal is associated with No Read, which is ON
during the specified time set by the NGOUT command when the symbol is not decoded successfully. And also
this signal is OFF when starting the next reading. Ready signal Ready signal is ON when the reader is ready for reading. Busy #1 signal Busy #1 signal is ON while the reader is reading (except
switch chattering delay), and this signal will be OFF after
decoding. Busy #2 signal Busy #2 signal is ON while the reader is reading (except
switch chattering delay), and this signal will be OFF after
transmission of the decoded data.
In the factory default settings the signals are as below:
GO Æ GO signal, NG Æ NG signal When changing these parameters, save the settings to the internal flash memory (using the WSETS command) and turn off the power and on it again. Using the “Busy #2 signal”, make sure the settings of RSCS=1 and TCPCS=1.
1 Digital Input: SYNC
This signal is used to initiate reading.
(Sync signal can be sent by the serial command as well.)
- 14 -
DIO cable assembly
To interface with external equipment, use an accompanying DIO-plug
connector.
- Stripped off about 8mm in length of the outer jacket of a wire, and then use a
small screwdriver to hold down the small orange tab. After that, insert the
wire into the insertion opening next to the tab of the DIO-plug connector.
- The wire is locked when releasing the tab.
Note: The DIO-plug is attached to the DIO-socket (Factory default).
Applicable wire : AWG#20 to 26
Stripping length : 8mm
DIO connector socket : MC 0,5/ 5-G-2,5PHOENIX CONTACT
DIO connector plug : FK-MC 0,5/ 5-ST-2,5PHOENIX CONTACT
DO NOT unplug the DIO-plug by grasping the cable. It may cause breaking of wire.
1 2 3 4 5
Orange tab
Continuity check hole (Φ1mm)
Insertion opening
Detail of DIO-plug
Use a small screwdriver to hold down
the small orange tab while you insert the
wire into the insertion opening next to
the tab.
Plug the DIO-plug into the DIO-socket.
DIO-socket
- 15 -
1.2.6 Interface cable
RS232C and power input for the reader.
RS232C interface: RxD, TxD, CTS, RTS
Through RS232C, the reader sends the reading data and status to the host
computer. This interface also receives configuration commands from the host
device.
DC power jack
5Vdc power is supplied from/through the optional AC adapter.
1.2.7 Internal illumination source
TFIR-31LAN-H
The spot type light source illuminates the central part of the image reader’s field
of view.
The diffused type light source illuminates the entire field of view.
TFIR-31LAN
The spot type-A light source illuminates the peripheral part of the field of view.
The spot type-B light source illuminates the central part of the field of view.
1.2.8 Camera lens
The reader captures images through the lens.
- 16 -
1.2.9 Camera and pointer illumination
Two pointer illuminations (aiming beam) indicate the central area of the image
reader’s field of view.
Symbol
Pointer illumination
Field of view
- 17 -
2 Configuration
2.1 Preparation
1- Establish communication between the reader and a host device. Please
refer to section 2.3 Communication port selection (RS232C, LAN)
for
detailed information.
2- Supply power from the interface cable to the reader. The LED-A (Ready)
turns on (red) if the reader is correctly powered. A combination of 2 long
beeps and 3 short beeps will indicate that the reader has started up
correctly.
< Block diagram of TFIR-31LAN’s connection >
Refer to section 9 for example configuration.
TFIR-31LAN TFIR-31LAN-H
Interface cable
LAN
DIO
Digital input
RS232C
Ethernet
5Vdc
Digital output
AC adapter
Sensor PLC
PLC
HUB Host device
Host device PLC
- 18 -
2.2 Reading flow
1. Input a trigger signal that is one of 3 types below:
Serial command
• Digital input (SYNC input)
• Press the Read button on the membrane switch
The LED-B (SYNC) turns on (green) and the reader start reading.
2. Result of reading
(1) Good Read
1 short beep
Symbol’s data will be sent through the interface (RS232C, LAN).
Digital output “GO” is ON.
LED-C (GO) turns on (green).
Note: The activated period of “GO” and the monitor LED-C are configurable through serial commands.
(2) No Read
No beep
Error code will be sent through the interface (RS232C, LAN).
Digital output “NG” is ON.
LED-D (NG) turns on (red).
Note: The activated period of “NG” and the monitor LED-D are configurable through serial commands.
- 19 -
2.3 Communication port selection (RS232C, LAN)
The communication port, which can be either RS232C and/or LAN as selected by the
“COMFROM” command, is used for the following purposes:
Receive serial commands such as reading trigger (SYNC input)
Send the result of reading.
RS232C interface is selected as default.
Note: With COMFROM=2, the reader needs to send data through both the RS232C and LAN interfaces. If one or both of them do not receive data correctly, the reader will stop sending data until the data on the interfaces is cleared. To avoid this situation, turn off RSCS control (RSCS=0) or establish both connections correctly.
2.4 Configuration
TFIR-31LAN can be configured by sending the serial command through the
communication port selected.
2.5 Transfer image data
Using “TECT for TFIR-317x” software allows the download of images from the
reader. The image size is 752 x 480 pixels and is in BMP format.
The estimated transfer time through RS232C and LAN interfaces are as below:
RS232C : 60 seconds (Baud rate is 115.2Kbps)
LAN (10BASE-T) : Less than 1 second (varies due network conditions)
Command Description
COMFROM=0 Only RS232C (default)
COMFROM=1 Only LAN
COMFROM=2 RS232C and LAN *
- 20 -
3 Operation Mode
TFIR-31LAN series image reader can operate in “Operational Mode” or “Diagnostic
Mode”.
Operational Mode Command Description
Single Reading Mode SYNCMODE=0
The reader performs a single read for each SYNC input.
Reading Timeout Mode
SYNCMODE=1
The reader reads repeatedly for the duration time, set by “TOTALLIM” after the SYNC input, or reads until the decoding is successful. “TOTALLIM” is set through the serial commands (see Chapter 4 for more details)
External Trigger Mode
SYNCMODE=2 The reader reads continuously while the
SYNC input is active.
Autosense Mode
SYMCMODE=3
The reader detects a symbol coming into the field of view automatically and starts reading it.
“Read” includes capturing and decoding an image.”
Diagnostic Mode Command Description
Normal Mode TEST=0
Use this command to return to Normal Mode.
Test Mode TEST=1
Use this command to set the reader to TEST mode. The SYNC signal will start the test operation.
Continuous Reading Mode continue
Use this command to set the reader to Continuous Reading Mode. To release the reader from Continuous Reading Mode, send a “stop” command.
Diagnostic Mode is used to configure the reader. Do not use the Diagnostic Mode in
normal operation.
- 21 -
Timing Chart
DELAY: The time from SYNC ON to reading.
CHATT: The time needed for eliminating the chattering.
image: The time duration for capturing an image.
decode: The time duration for decoding.
DECODELIM: The maximum time limit for decoding.
GOOUT: The length of time the GO signal is asserted.
NGOUT: The length of time the NG signal is asserted.
SERIAL: The time the data is output through the serial interface.
MAXIMG: The maximum number of images in the buffer.
WAITIMG: The interval time between capturing images.
3.1 Single Reading Mode
The image reader performs a single read for each SYNC input.
3.1.1 Soft trigger, Good Read, Data transmission: After decode
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
DECODELIM
decode1
image1
- 22 -
3.1.2 Hard trigger, Good Read, Data transmission: After decode
3.1.3 Hard trigger, No Read, Data transmission: After decode
DELAY
SYNC
IMAGE
DECODE
SERIAL
NGOUT
NGOUT
CHATT
DECODELIM
decode1
image1
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
CHATT
DECODELIM
decode1
image1
- 23 -
3.2 Reading Timeout Mode
The image reader reads the symbol repeatedly during the specified time, set by
“TOTALLIM” after the SYNC input, or reads until the decodeing is successful. If the
reader cannot decode successfully in the specified time, the reader will stop reading
and send the error code to the host.
Typically MAXIMG is set to a number greater than 1. The reader tries to decode the
image while capturing.
3.2.1 Soft trigger, Good Read, Data transmission: After decode
3.2.2 Soft trigger, Good Read, Data transmission: After SYNC OFF
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
TOTALLIM
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
TOTALLIM
- 24 -
3.2.3 Hard trigger, Good Read, Data transmission: After decode
3.2.4 Hard trigger, Good Read, Data transmission: After SYNC OFF
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
CHATT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
TOTALLIM
DELAY
SYNC
IMAGE
DECODE
SERIAL
GOOUT
GOOUT
CHATT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
TOTALLIM
- 25 -
3.2.5 Soft trigger, No Read, Data transmission: After decode
3.2.6 Soft trigger, No Read, Data transmission: After SYNC OFF
SYNC
DELAY
IMAGE
WAITIMG WAITIMG WAITIMG WAITIMG
image1 image2 image3 image4 image1
DECODE
DECODELIM
DECODELIM
decode1 decode2
SERIAL
NGOUT
NGOUT
TOTALLIM
SYNC
WAITIMG WAITIMG WAITIMG WAITIMG
DELAY
IMAGE
image1 image2 image3 image4 image1
DECODE
DECODELIM
DECODELIM
decode1 decode2
NGOUT
NGOUT
TOTALLIM
SERIAL
- 26 -
3.2.7 Hard trigger, No Read, Data transmission: After decode
3.2.8 Hard trigger, No Read, Data transmission: SYNC OFF
CHATT
DELAY
IMAGE
image1 image2 image3 image4 image1
SERIAL
SYNC
WAITIMG WAITIMG WAITIMG WAITIMG
DECODE
DECODELIM
DECODELIM
decode1
dcode2
NG-OUT
NGOUT
TOTALLIM
DELAY
SYNC
IMAGE
WAITIMG WAITIMG WAITIMG WAITIMG
image1 image2 image3 image4 image1
SERIAL
NG-OUT
NGOUT
CHATT
TOTALLIM
DECODE
DECODELIM
DECODELIM
decode1
dcode2
- 27 -
3.3 External Trigger Mode
The image reader reads continuously while the SYNC input is active.
Typically MAXIMG is set to a number greater than 1. The reader tries to decode the
image while capturing.
3.3.1 Hard trigger, Good Read, Data transmission: After decode
3.3.2 Hard trigger, Good Read, Data transmission: After SYNC OFF
DELAY
SYNC
IMAGE
DECODE
SERIAL
GO-OUT
GOOUT
CHATT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
CHATT
DELAY
SYNC
IMAGE
DECODE
SERIAL
GO-OUT
GOOUT
CHATT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 image1
CHATT
- 28 -
3.3.3 Hard trigger, No Read, Data transmission: After decode or SYNC OFF
DELAY
SYNC
IMAGE
DECODE
SERIAL
NGOUT
NGOUT
CHATT
DECODELIM
DECODELIM
WAITIMG WAITIMG WAITIMG WAITIMG
decode1 decode2
image1 image2 image3 image4 Image1
Loading...
+ 74 hidden pages