Die Wiedergabe bzw. der Nachdruck dieses Dokuments, sowie die entsprechende Speicherung in Datenbanken
und Abrufsystemen bzw. die Veröffentlichung, in jeglicher Form, auch auszugsweise, oder die Nachahmung der
Abbildungen, Zeichnungen und Gestaltung ist nur auf Grundlage einer vorherigen, in schriftlicher Form vorliegenden
Genehmigung seitens SensoPart Industriesensorik GmbH, zulässig.
Für Druckfehler und Irrtümer, die bei der Erstellung der Montage- und Bedienungsanleitung unterlaufen sind, ist jede
Haftung ausgeschlossen. Liefermöglichkeiten und technische Änderungen vorbehalten.
Erstveröffentlichung Oktober 2005
Copyright (English)
No part of this document may be reproduced, published or stored in information retrieval systems or data bases in
any manner whatsoever, nor may illustrations, drawings and the layout be copied without prior written permission
from SensoPart Industriesensorik GmbH.
We accept no responsibility for printing errors and mistakes which occurred in drafting these mounting and operating
instructions. Subject to delivery and technical alterations.
First publication October 2005
Copyright (Français)
Toute reproduction de ce document, ainsi que son enregistrement dans une base ou système de données ou sa
publication, sous quelque forme que ce soit, même par extraits, ainsi que la contrefaçon des dessins et de la mise en
page ne sont pas permises sans l’autorisation explicite et écrite de SensoPart France SARL.
Nous déclinons toute responsabilité concernent les fautes éventuelles d’impression et autres erreurs qui auraient
pu intervenir lors du montage de cette brochure. Sous réserve de modifications techniques et de disponibilité pour
livraison.
Première publication Octobre 2005
SensoPart Industriesensorik GmbH
Am Wiedenbach 1
D-79695 Wieden
For use in NFPA 79 Applications only.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
1 General Information and Safety ......................................................................................................................
1.4 Requirements for use .................................................................................................................................62
2 Intended Use .....................................................................................................................................................63
2.1 Field of application .....................................................................................................................................63
2.2 Performance characteristics Value 300 / 301 ............................................................................................63
2.3 Method of function .....................................................................................................................................63
3.2.1.1 LED Display ...................................................................................................................................65
4 Program Description ........................................................................................................................................
4.1 Menu ..........................................................................................................................................................
4.2 Program interface ......................................................................................................................................
4.2.1 A Commands ..................................................................................................................................
4.2.2 B
4.2.3 C Parameters of active configuration ..............................................................................................83
4.2.3.5 Delay times for the use of outputs Q1 and Q2 (Out 3 and Out 4) ..................................................89
4.2.4 D Picture .........................................................................................................................................90
4.2.4.1 Frame type for position check ........................................................................................................92
4.2.5 E Pattern .........................................................................................................................................93
4.2.6 F Results ........................................................................................................................................93
5.1 Instructions in brief .....................................................................................................................................
6 Formats for serial output .................................................................................................................................99
6.1 Output Data via RS422 ..............................................................................................................................99
6.2 Output data via Ethernet, Port 2005 ........................................................................................................100
6.3 2- Byte values ( e.g. X- or Y- Position, for RS422 and Ethernet) ............................................................102
6.4 Commands to sensor via Ethernet Port 2005: ........................................................................................102
7 Technical data .................................................................................................................................................103
8.5 Extension of In / and Outputs ...................................................................................................................108
8.6 Field of view / operating distance .............................................................................................................110
8.8 Care and maintenance .............................................................................................................................110
8.9 RESET / Power On .................................................................................................................................. 11
8.10 Sensor Firmware Update FA 45 ............................................................................................................... 11
8.14 Type key FA 45 ........................................................................................................................................116
1
1
1
300
301
1 General Information and Safety
1.1 Symbols
Important
This symbol indicates sections of the text which must be strictly observed. Non-compliance with such
instructions may cause injury or damage.
Note
This symbol indicates sections of the text which contain useful information.
Note FA 45 Value 300 / FA 45 Value 301
This symbol marks text which explains the specific differences of the sensor FA 45 Value 300 compared
with the sensor FA 45 Value 301
1.2 Safety notes
Before starting the FA 45 Vision Sensor, read these instructions carefully, ensure that you have
understood them and comply with them at all times.
The FA 45 Vision Sensor should only be connected by a qualified electrician.
Do not tamper with or make alterations on the unit!
The FA 45 Vision Sensor is not a safety-critical component and its use is prohibited under condi
tions where the safety of persons may depend on its function.
The IP address set for the FA 45 Vision Sensor should be marked on the enclosed label. After
installation, stick the label on the sensor in a clearly visible position.
The IP address of the FA 45 Vision Sensor must be used once only in any network.
(see chapter 3.3 network settings)
(see chapter 2.2 performance characteristics).
Mounting and
operating instructions
-
1.3 Components supplied
• FA 45 Vision Sensor including integrated illumination
(or as version with C-Mount lens without illumination)
• CD-ROM with Computer software and Operating instructions
• Operating instructions, mounting clamp, Allen key, screwdriver, 2 protective caps for M12 plug.
1.4 Requirements for use
To configure the FA 45 Vision Sensor, the following items are required: PC or notebook with min.
Pentium III, 1 GHz, 256 MB RAM, Microsoft Windows 98, 2000 XP or VISTA™, network connection or network with
TCP-IP protocol. Recommended resolution 1024 x 768 pixels. Basic knowledge of computing is also essential.
The IP address of the FA 45 Vision Sensor is set by the manufacturer to 192.168.100.100 with sub-net mask
255.255.255.0.
The operation of the FA 45 Vision Sensor is independent of a computer or PLC. A PC or noteboOK is required only
for configuring the FA 45 Vision Sensor.
For reproducible results and avoidance of malfunctions, adequate and constant object illumination is essential.
Reflections or varying incident light may affect detection results.
If necessary, use an external white-light source and/or light-screening devices to exclude
incident light.
62
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
300
301
operating instructions
2 Intended Use
2.1 Field of application
The FA 45 Vision Sensor is an optical sensor with four different methods of evaluation: pattern matching, contrast,
grey level and contour detection, by which the FA 45 Vision Sensor can detect or distinguish objects by means of
previously defined optical characteristics (shape and grey-scale value), e.g. for separating „good“ and „bad“ parts.
Its main application are therefore in the fields of automation technology and quality assurance. With the FA 45 Vision
Sensor it is easy to test for presence or absence, completeness, position, markings, labelling, packaging and components.
The FA 45 Vision Sensor is therefore an economical alternative to conventional image-processing systems.
2.2 Performance characteristics Value 300 / 301
Number of usable configurations
32 onfigurations with logic functions etc.
1 configuration
Evaluation algorithms
Evaluation method: Pattern matching, Contrast and GreylevelXX
Evaluation method: Contour X
I/O‘s, Interfaces, Dataoutput
4 switch outputs 0-24 V DC PNP, 2 inputsXX
Ethernet-InterfaceXX
Dataoutput via EthernetX
RS 422 Interface X
X
X
2.3 Method of function
Evaluation method
During operation, the FA 45 Vision Sensor continuously compares the pattern of the detected image with that of the
reference image. The pixel grey-scale values and (depending on evaluation function) the sample or the contours are
analysed. If these conform with the reference image taking a certain tolerance into account (percentage of the set
value) the FA 45 Vision Sensor triggers the switch signal.
2.4 Sensor types
Sensor name
1
FA 45-300-WCC-OBO6HS4
FA 45-300-WCC-OBO12HS4
FA 45-300-CC-OBOCSH4
1
Other types available on request
2
For greater operating distances (from approx. 100 mm) external illumination may be necessary.
The typical focus range is operating distance ± 5%.
3
When the 6 mm lens is in use, external illumination is generally necessary.
4
When the C-Mount version of FA 45 is in use, a C-Mount lens with a 6.6 mm intermediate ring or a C-Mount protective case
is required
5
IR illumination is only possible with C-Mount sensors.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
(see accessories chapter 8.12).
Min. operating distance / mm
3
2018 * 14522-91052
208 * 6522-91053
4,5
C-mount, dependent on lensC-mount, dependent on lens
2
Field of view / mm * mmMaterial no.
522-91054
63
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
64
3 Installation Instructions
A
min.10-15°
300
3.1 Mechanical Installation
To ensure maximum accuracy of detection, the FA 45 Vision Sensor should be protected from
vibration.
Secure the connection cables with cable binders to prevent crushing or slipping.
Select a position for the FA 45 Vision Sensor in which interfering factors such as slight
differences in the position of the object or variations in illumination have little or no effect.
Screw the FA 45 Vision Sensor onto the mounting clamp „dovetail FA 45“ (supplied with the unit) and then onto a
suitable object. Use only the mounting clamp „dovetail FA 45“ (no. 543-11000) supplied with the unit
8.13 dimensional drawing).
FA 45-300 only
Connection socket
Data (RS422)
Working distance
Fig. 1
15500231
Observe the object clearance given in the table Field of View / Working Distance (see chapter 8.6).
To avoid interfering reflection from the detection object, align the FA 45 Vision Sensor at an angle of approx. 10°-15°
with reference to the optical axis (fig. 1).
Fine adjustment
Important: Fine adjustment of the FA 45 Vision Sensor should not be carried out until after electrical connection
chapter 3.2) and start-up (PC software installation). See „Start-up“ (chapter 3.4).
Height of field of view
Width of field of view
(see chapter
(see
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
65
300
LAN
24 V DC (I/O)
DATA
FA 45
PC
24 V DC
PLC
(RS422)
(Ethernet)
3.2 Electrical installation
The electrical installation of the FA 45 Vision Sensor must be carried out by a qualified electrician.
When installing the FA 45 Vision Sensor , disconnect all electrical components from the power
supply.
When the unit is being used in a network, ensure that the network address (IP address) of the
FA 45 Vision Sensor set by the manufacturer at 192.168.100.100/24 with Subnetmask
255.255.255.0 is free and is not in use for any other unit connected to the system.
If necessary, re-set the IP address of the FA 45 Vision Sensor as described in the section „Network settings“ (see chapter 3.3).
When the FA 45 Vision Sensor is in use, the protective caps supplied must be pushed onto the
M12 sockets (data and LAN) which are not in use. Failure to do this may cause malfunction.
3.2.1 Connection possibilities
For stand-alone operation (independent of PC /PLC) only connection 24 V DC (3.2.1.3) is required
after start-up.
For electrical installation, connect wires as follows:
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
66
3.2.1.2 Focussing screw
300
FA 45
PC
RJ45M12
CI L8FSK/RJ45S-xm-GG-PVC-G
Ethernet cable (crossover)
FA 45
PC
RJ45
M12
RJ45
RJ45
AA-RJ45
CI RJ45-1mK
CI L8FSK/RJ45S-xm-GG-PVC
Ethernet cable (no crossover)
Ethernet
-
connector
Ethernet
cross cabl
e
FA 45
PC
RJ45M12
CI L8FSK/RJ45S-xm-GG-PVC
RJ45RJ45
Ethernet cable (no crossover)
Standard
network cable
Network
e.g. switch, hub etc.
Focussing screw to adjust focus.
3.2.1.3 24 V DC Connection
M12 Connection socket for 24 V DC voltage supply and digital I/O.
The exact plug connection see table2, chapter 8.7.
Should the parameter of the active configuration „Function IN2“ be set to „Enable“
(manufacturer‘s setting), the input IN2 must be connected to +U
operate the FA 45 Vision Sensor with an external trigger (input IN1). If no +UB is connected to IN2,
the FA 45 Vision Sensor will not execute evaluation. In this case it is in standby mode (= Disable).
(See chapter 8.1).
3.2.1.4 LAN Connection
M12 Connection socket for Ethernetconnection.
The exact plug connection see table 3, chapter 8.7.
Use only the correct network cables (see accessories table chapter 8.12).
Direct connection of the FA 45 Vision Sensor to a PC: (recommended):
Fig. 4
155-00535
alternatively
(= High = Enable) in order to
B
Fig. 5
155-00458
Connection of the FA 45 Vision Sensor to a PC via a network:
Fig. 6
155-00459
3.2.1.5 Data (RS422) Connection
FA 45-300 only
M12 Connection socket for DATA serial interface, RS422.
The exact plug connection see table4, chapter 8.7.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
67
3.3 Network settings
The following instructions indicate how to change the network configuration of the PC and the
FA 45 Vision Sensor .
If incorrect settings are used, the network connectins in the computer may be lost.
To be on the safe side, note the former settings for later use if required.
Following this procedure, it may be necessary to re-start the system.
In order to determine which IP addresses are allowed in your network or locally in your PC, and
to carry out the necessary settings on your PC, contact the system administrator beforehand.
The illustrations, dialogues and menus originate from the operating system Microsoft Windows
XPTM. The illustrations are similar in other operating systems.
3.3.1 Basic settings for PC and FA 45 Vision Sensor
To configure the FA 45 Vision Sensor with a PC it is essential that a network board and the TCP/IP LAN- connection
is installed on the PC. (This also applies when the PC is not connected to a network. See also chapter 3.2, Electrical
Connection).
There are two alternatives to configure and parameterize the FA 45 Vision Sensor.
1. Direct Connection
2. Network Connection
3.3.1.1. Direct Connection - Setting the IP Address of the PC
To connect the Vision Sensor FA 45 to a PC via Ethernet the IP addresses of both devices have to correspond. The
default IP of the FA 45 is 192.168.100.100/24 with Subnetmask = 255.255.255.0. To establish a direct connection,
the PC must be set to a correspondig, fixed IP address like follows.
1. Click on Start Control Panel Network Connection Local Area Connection Properties the window
"Local Area Connection Properties" is open.
2. In the list „This connection requires following elements“ select the option „Internet Protocol (TCP/IP)“ and then
click the button „Properties“.
3. In the following window (see fig. 7) set the desired IP address of the PC and the sub-network data.
4. Click on OK to save the settings.
5. Close SensoFinder and start new,
6. Sensor mark and connect.
Microsoft Windows 98/ME™ requires a reboot
after modification of the IP configuration.
Example:
The FA 45 Vision Sensor is pre-set to IP address 192.168.100.100
and subnet mask 255.255.255.0.
In this case, the IP address may be set to any value between
192.168.100.1 and 192.168.100.254, with the exception of the
sensor IP address (192.168.100.100).
For the sensor IP address modification, see system start-up.
Fig. 7
155-00506
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
68
Sensor correctly connected?
- Power supply 24V DC
- Networkcable (crossed) Nr. 902-51736
Electrical connection OK?
- green Pwr LED at FA 45 active?
- Status LED at networkadapter active?
- and/or LAN Status shows "Connection
established". (Control panel
�
Network-
connections
�
LAN-Connection � Status)
Connect Sensor correctly!
- Power supply 24V DC
- Networkcable (crossed) Nr. 902-51736
no
yes
no
SensoFinder finds Sensor?
- start SensoFinder
- press button "Find"
- mark Sensor
- Button "Connect" is aktive?
"Repair" Networkconnection
Please contact your system administrator as this can cause
problems!
Start
�
Control panel � Networkconnections �Right mouse click
on used "LAN connection"
�
Repair
(delets ARP Cache, amongst others).
IP-Connection test
- in Command Line: ping 192.168.100.100
(IP address of the sensor) [ENTER] .
If four positive answers are displayed, go on with "Yes"- path
(Command input:
Start
�
All Programs � Accessories � Command Line)
SensoFinder starts applicaiton- software?
- Double click on sensor in the list
- PC / application- software starts
Sensor- and Softwareversion test
Sensorversion is displayed in the SensoFinder (e.g. 40). Table of
compatibility and corresponding software at www.sensopart.com
no
Now the parameter setting of the sensor /
application can be done
yes
yes
yes
yes
IP address of PC fits to IP of Sensor?
Sensor IP: 192.168.100.100/24 (default)
- PC: e.g. 192.168.100.101/24
( /24 means, 24Bit Subnetmask =
255.255.255.0)
yes
Deacticate / adapt firewall
Please contact your sytem administrator
IP-Connection test
(see above)
Caution!
After parameter setting is finished, reactivate firewall again!
no
no
no
Important:
To configure the PC via
Direct Connection
it is neccessary to change it´s IP- configuration.
Please contact your system administrator to inform about changes !
Control / correct settings
- IP of PC (fix, to the sensor corresponing IP):
e.g. 192.168.100.101; - Subnetmask: 255.255.255.0
Configuration: Start
�
Control panel � Networkconnections
�
LAN-Connection
�
Properties � Internetprotocol (TCP/IP)
yes
yes
no
yes
yes
Proceeding/Troubleshooting - Direct Connection
Creating a functioning ethernet connection between FA 45 Vision Sensor and PC
Fig. 8
155-00509
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
69
3.3.1.2. Network Connection - Setting the IP address of the FA 45 Vision Sensor
Please check before connecting the sensor into the network, if the IP adress of the sensor is free
(default 192.168.100.100 with Subnetmask 255.255.255.0, togehter with your system administra
tor). If not this can cause a breakdown of the network.
The IP address set for the FA 45 Vision Sensor should be marked on the enclosed label.
After installation, stick the label on the sensor in a clearly visible position.
If Sensor IP is free:
Connect the sensor to the network, and set up a to the PC corresponding sensor IP, you got from your sytem admini
stator, like follows.
If Sensor IP is not free:
1. Connect Sensor and PC via „Direct Connection“ (
you got from your system administrator.
2. Now the connection via network can be done like follows.
Before setting, ensure that the computer is connected as described in „Electrical Installation“ and „Basic Computer
Settings“ (see chapter 3.2 and chapter 3.4).
To set the IP address on the FA 45 Vision Sensor , proceed as follows in the PC software:
1. Select the sensor.
2. Set new IP address that was supplied by
administrator or systems manager by choosing
„Set IP“ (see fig. 9).
3. Re-start the sensor (interrupt power supply for 5 s).
4. Search the sensor with „Find“.
5. Close SensoFinder and restart.
6. Sensor mark and connect
see chapter 3.3.1.1) and set the sensor IP to a allowed value,
-
-
Changing the standard gateway allows for operability
in various sub-nets.
Change this setting only upon prior consultation with
your system administrator.
Fig. 9
155-00725
Fig. 10
155-00794
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
70
Sensor correctly connected?
- Power supply 24V DC
- Networkcable (not crossed) Nr. 902-51715
Electrical connection OK?
- green PWR LED at FA 45 active?
- Status LED at networkadapter active?
- and/or LAN Status shows "Connection
established". (Control panel
�
Network-
connections
�
LAN-Connection � Status)
Ask system administrator if the IP address
192.168.100.100/24 is free?
Connect Sensor correctly!
- Power supply 24V DC
- Networkcable (not crossed) Nr. 902-51715
no
yes
no
SensoFinder finds Sensor with new IP?
- start SensoFinder
- press button "Find"
- mark Sensor
- Button "Connect" is aktive?
Important:
To configure the FA 45 Vision Sensor for
the network
it is neccessary to integrate it to the network. Please check before plug
in, if the IP address of the sensors is already used (default: 192.168.100.100/24). As in case of collision the network can brake
down.
To configure the sensor the FA 45 PC software and a comunication between sensor and PC is neccessary. To establish this,
the sensor needs a free IP address*1).
"Repair" Networkconnection
Please contact your system administra tor as this can cause
problems!
Start
�
Control panel �Networkconnections
�
Right mouse click on used "LAN connection"
�
Repair (delets ARP Cache, amongst others).
IP-Connection test
- in Command Line: ping xxx.xxx.xxx.xxx
(IP address*1) of the sensor) [ENTER] .
If four positive answers are displayed, go on with "Yes"- path
(Command Line:
Start
�
All Programs � Accessories � Command Line)
SensoFinder starts applicaiton- software?
- Double click on sensor in the list
- PC / application- software starts
Sensor- and Softwareversion test
Sensorversion is displayed in the SensoFinder (e.g. 40). Table of
compatibility and corresponding software at www.sensopart.com
no
Now the parameter setting of the sensor /
application can be done
Reconfigure IP address of sensor alternatively via direct-
connection (see 1. Direct Connection).
no
yes
yes
yes
Set the IP-address of the sens or
Set IP
�
fill in IP-address *1) and subnetmask
�
Set IP � Reset sensor
(Switch off and on power supply)
yes
yes
yes
yes
*1) a fitting, new and free IP address you get from your system administrator
SensoFinder finds Sensor?
-
Connect sensor to the network and power on -
start SensoFinder - select sensor
yes
yes
no
Deacticate / adapt firewall
Please contact your sytem administrator
IP-Connection test
If four positive answers are displayed, go on with "Yes"- path.
Caution!
After parameter setting is finished, reactivate firewall again!
no
no
no
yes
yes
Proceeding/Troubleshooting - Network Connection
Creating a functioning ethernet connection between FA 45 Vision Sensor and PC
Fig. 11
155-00510
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
71
3.4 Start-up
The FA 45 Vision Sensor functions only with software supplied. Software updates are available
under www.sensopart.de.
The PC Sofware must always fit to the corresponding Sensor Firmware (VXX).
For installation of the software using Windows 2000, XP and Vista
necessary.
To start the FA 45 Vision Sensor up, proceed as follows:
1. Switch on the power supply (+U
2. For the first start-up of the FA 45 Vision Sensor install the supplied software (version x.x) on the PC. When the
CD is inserted, the Internet Browser should start automatically. When the Autorun function is deactivated, it is
also possible to start the main page by double click on start.exe.
De-installation
System control Software FA 45 Vision Sensor Uninstall
or
Start Progamm SensoPart FA 45 Vision Sensor Uninstal FA 45 SensoFinderl
3. In the top menu, there is now the program group „SensoPart/FA 45 Vision Sensor“ with the entry „SensoFinder“.
4. „SensoFinder“ starts
The programm executes one find loop and shows the list of all found senors.
The IP address of the PC is displayed in the bottom line beneath the buttons.
The following user interface appears:
). If necessary, connect IN2 with +UB (see chapter 8.1 IN 2).
B
™ administration rights are
Fig. 12
155-00725
Beginning from software version 4.0 Build 374 there is available an offlinemode for the software. This means that the
software can be operated without a sensor connected. The decision, whether the software is operated in offline- or
onlinemode is done in the sensofinder. Sensors available for onlinemode are listed in the upper window. Sensors
available for simulation in offlinemode are listed in the lower window. When a sensor is operated in offlinemode, the
user has to load pictures into the simulation software.
Mounting and
operating instructions
Onlinemodus
Direct Connection
After selecting the desired sensor all actions like Connect, SetIP or Update can be processed.
Network Connection
For setting the sensor IP address
Upon completion of the IP-address modification, select the desired sensor. Now the connection to the sensor
may be established.
By pressing the button „Connect“, the correct software / software version which corresponds to the selected
sensor type, is started and a connection to the sensor is established.
If no sensor can be found with the „SensoFinder“, it´s also possible to connect “manually” with function “Add
IP” by filling in an IP-address of a known sensor.
Offlinemodus:
This is done over an additional dialogue which opens automatically if
a sensor is selected in offlinemode.
ButtonCommandDescription
(see chapter 3.3.1.2).
Fig. 13
155-00726
Moving up / downMoving single pictures upwards and downwards in the list.
GetLoading pictures in .bmp - format in the simulation.
DeleteDelete single pictures from the list.
Mark the picture that should be moved.
The pictures must have a color depth of 32 Bit and a resolution on 320x240 of 640x480 pixels.
The pictures are saved by the software in this format (see
chapter. 4.2.4
There can be loaded several pictures, which are processed
one after the other from top to down.
D).
Delete allDelete the complete list of pictures
SaveSaves the configuration for the simulation as .sml - file.
There will be saved only the links to the pictures, not the complete pictures. If you want to
copy a simulation to another PC please copy the
.sml - fileand the used pictures (.bmp - files).
LoadLoading of a .sml - file.
CancelCloses the simulation without opening the software.
After pressing of „OK“ the software opens, the selected pictures run cyclycally in the selected order,
depending from setting of trigger mode in free run or by next picture at every trigger.
72
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
Fig. 14
155-00463
5. If the software was able to make contact with the FA 45 Vision Sensor, all the buttons are activated after a few
seconds and the image currently „seen“ by the sensor is displayed.
If the buttons are not activated, the software has not been able to make contact with the FA 45 Vision Sensor .
Check cable connections, IP address and if necessary, determine the IP address of the FA 45 Vision
Sensor with the „SensoFinder“ and if necessary set the IP address of the PC and/or the sensor as descri-
bed in the section „Network settings“ (see chapter 3.3). Then repeat item 4.
If contact with the FA 45 Vision Sensor is still not possible:
read the chapter 3.3 „Network settings“ and make the necessary settings to the PC and/or sensor and/or
contact network administrator.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
73
Mounting and
operating instructions
6. Display live image. Click the button „Live display“. The live image appears after a few seconds.
Fig. 15
155-00463
If no live image appears, check the following points:
• No obstruction in front of the lens
• Sufficient illumination (parameter „illumination = on“ or external illumination)
• Correct shutter setting (Fig. 14, A), (see chapter 4.2.3.3.1 Parameters active configuration), correct focus setting, see point 7.
If the live image still fails to appear, contact the Service dept.
A
Carry out fine adjustment of the FA 45 Vision Sensor with „GOOD“ parts to avoid interfering
effects.
7. Adjusting image focus. To adjust image definition, turn the focussing screw at the rear of the housing
(see chapter 3.2.1, fig. 2) in clockwise direction (object distance large) or anticlockwise direction (object distance short). Check the position of the FA 45 Vision Sensor and adjust if necessary.
The FA 45 Vision Sensor is now ready for use.
Before using the FA 45 Vision Sensor , it should be prepared for the detection task with the assistance of the PC soft
ware. For this purpose, the object characteristics by which the object is identified or distinguished, must be defined in
configuration features 1 - 32 in the software program.
A general description of the software is given below.
74
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
-
Mounting and
operating instructions
4 Program Description
4.1 Menu
Fig. 16
155-00469
The menu for the PC program has main and sub-sections. These are selected by clicking the desired menu item or
by pressing the ALT key and underlined letter at the same time.
File / Exit
Exit program.
Options / Language
Select language, German, English or French for the program. The newly selected language is not effective until the
program is re-started.
Options / Big Results
(keyboard locked)
The window „Result“ is shown enlarged in a pop-up window. This means that the window is in the foreground and no
input is possible via keyboard or mouse.
The now zoomed result window can be moved on the screen with the arrow keys of the keyboard. In run mode all
displays in the big result window and in the background are refreshed.
This mode can only be de-activated by placing the mouse pointer inside the Result LED and
pressing the key combination ALT + B at the same time.
Help / Help
Display integrated help system of PC software.
Help / Info
Displays program version.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
75
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
76
4.2 Program interface
300
301
300
301
300
301
The program interface is divided into the following sections:
A Commands
B Selection configuration
C Parameters of active configuration
D Image
E Sample
F Results
B Selection configuration
A Commands
• one configuration available
B Selection configuration
• 32 configuration available
that means Logic functions and
Load Conf. 1 or 2 / 1 - 32 are
possible.
F Results
Additional coordinate-,direction- and angle- output
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
77
300
4.2.1 A Commands
The buttons shown below are for the general operation of the FA 45 Vision Sensor, administration of configuration
data and display of other information on the program.
If the buttons are not active (pale), the command in question is not available in this mode.
ButtonCommandDescription
Connect / disconnect Connect to or disconnect from FA 45 Vision Sensor (see
TeachTeach current sample or contour for comparison and display in
Setup).
When disconnecting:
Existing connection to FA 45 Vision Sensor is disconnected
and the software gets closed.
area „Image/sample“.
Teach from pictureTeach from picture: works in the same way as „Initial Teach“,
Start / stopStart / stop exposure process („Run mode“).
TriggerManual triggering of exposure using PC program (active only
SaveCurrent configuration settings (all or one configuration only)
LoadAll (or only one) previously saved configuration settings from a
ResetThe settings of a configuration (or all configurations) are retur-
Copy
FA 45-300
only
WriteDuring setting parameters with PC connected, the parameters
but without taking a new picture before teaching. The already
present picture is taken for teaching. This fuction is helpful, if a
picture was taken by the function “Single image”.
in „Run“ mode and if „triggered“ is selected in Trigger list.
chapter 4.2.3.3.1 Parameters active configuration).
are saved in a file on a data carrier.
selected file are displayed and activated.
ned to the manufacturer‘s setting.
With this function all or some parameters of the selected
Master-Configuration can be copied identically to a freely
selectable number of other configurations.
Identical parameter settings are a important condition by using
several configurations, e.g. with logical combination.
are stored in the sensor RAM only. To store those parameters
permanently in the sensor, the button “Write” must be pressed.
(see
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
78
ButtonCommandDescription
WriteThe save- status is displayed via the color of the grafics on the
Images from recorder The saved images are transferred to the PC by the FA 45
“Write” – Button:
- Green = Data actual
- Red = Write necessary
By closing the PC software before the data was updated in the
sensor a warn message with a request to save parameters is
occures.
Vision Sensor.
A maximum of 30 images from the most recent exposures
are saved in the FA 45 Vision Sensor. Condition: the recorder
(ringbuffer of the last max. 30 pictures) was switched on in
the window „Select configuration“ in the „Recorder“ list (
chapter 4.2.2).
By activation of the Recorder function there is a choice to store
all- pictures or to store only bad- pictures.
When the images are downloaded, they are deleted on the
FA 45 Vision Sensor. If such an image is required at a later
date, it should be saved to the computer. The „Save“ button
causes only the currently displayed image to be saved.
Saves all pictures with one button to hard disc.
4.2.2 B Select configuration
SectionField nameDescription
Selection configuration
Sensor nameEnter name of FA 45 Vision Sensor. The name appears in
Image update
run mode
Connect / Find.
When the checkbox „Image Update Run Mode“ is activated,
the live image is also updated during the exposure process.
Please consider, that without having saved the
parameters, all changes made since the last
save are lost.
see
This increases the duration of exposure.
RecorderOff / Fail Pics / All Pics
If the recorder is switched on in “Fail Pics” mode the 30 last
exposures of negative interpretation are recorded in the FA 45
Vision Sensor.
If the recorder is switched on in “All Pics” mode the 30 last
exposures are recorded in the FA 45 Vision Sensor.
The button „Image rec.“ causes the recorded images to be
transferred to the PC. They are deleted from the memory of the
FA 45 Vision Sensor and displayed in a separate window.
This makes it possible to diagnose „bad “ parts and to improve
configuration data at a later time. The transferred exposures
can also be saved on the PC.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
79
301
300
FA 45-301
FA 45-301 has only one configuration. Only one configuration is activated, the other ones cannot be
selected. This means that there is no selection configuration and logic functions available.
FA 45-300
The following part is only valid for FA 45-300
In this section, up to 32 configurations (samples) can be defined for object detection and also be linked with one
another. The formation of configuration groups is also possible. Following selection of the appropriate radio button
(1-32), the data for the configuration selected appear in the section „C Parameter active configuration“ where they
can be set.
In the area „Select Configuration“ all 32 single results are displayed. In each configuration, e.g. with the object sen
sor, one LED for the primary result = part detected = Q1, and one LED for the secondary result = Position OK/NOK
= Q2, and the bargraph = degree of similarity with the taught pattern, is displayed with its threshold. This feature
increases the transparency and eases the test and optimitation of the parameter settings a lot.
The grouping of configurations makes it possible to check several characteristics on different
parts (e.g. change of parts by charge during production process with, for example, 4-5 characteristics per part).
With different configurations any type of evaluation method can be used
(e.g. Config 1 = Pattern, Config2 = Contrast, etc.).
SectionField nameDescription
LogicThe defined configuration data / samples can be logically
Parameter- Setting rules
For the utilization of several configurations,
e g. with logical functions or selection of
configuration via IN2.
- Evaluation method = any
- Illumination = identical
- Resolution / speed = any
- Zoom = identical
- Function IN2 = identical
- Trigger mode = „triggered“
- Shutter manual = „manual“
- Position test = any
- Baud rate RS422 = identical
- Shutter = identical
- Trigger delay = identical
- Result delay = identical
- Result period = identical
- Outputs active = identical
- Threshold value min = any
- Threshold value max = any
linked with one another to adapt the evaluation function to the
required application. For logical linking, the configurations concerned are marked by a tick and allocated an operator from the
list „Logic“. In all cases, only one operator can be selected.
The configuration for which the parameters are to be set is
selected with radio buttons 1-32.
Since the evaluation is based on one image only,
all the configurations used with „Logic“ must be
taught using the setting rules opposite and then
saved. The settings refer to config. 1 or the last
configuration activated.
To adjust several parameters of several configu
rations identically in an easy way, use function
„copy“
In operation with a process control (see chapter
8.1) the start configuration/group is selected
using IN2 or the serial interface (see chapter 6
Formats for serial output).
-
-
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
80
SectionField nameDescription
The following operators are available in the list window „Logic“:
If the condition defined by the operator is fulfilled (i.e. result =
good) a 1 appears at output OUT3.
OperatorMeaning
NONENo logical link, i.e. only the selected confi-
AND and OR (without grouping)
refer to one part or one characteristic per part.
The check (without grouping) includes all the configurations
with a tick. It always starts at configuration 1 and ends with the
last configuration activated using the check box (i.e. the tick
must be set continuously).
OperatorMeaning
ANDTo ensure that switch output OUT3
ORTo ensure that switch output OUT3
guration applies for evaluation.
receives a positive signal, all the configurations marked with a tick must give a
„Good“ signal.
receives a positive signal, at least one
configuration must give a „Good“ signal.
The number of the configuration fulfilled
best is displayed sorting function.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
81
A
pu
o
rG
B puorG
SectionField nameDescription
AND and OR (with grouping)
(see red and blue area)
OperatorMeaning
AND groupedAll configurations of the group, starting with
OR groupedAt least one configuration of the group, star-
In order to identify complex object patterns definitely, single
configurations may be grouped together logically to form a
group of configurations. By means of this logical linking, it is
possible to refer to several characteristics on several different
parts.
E.g. on part A, 7 different characteristics can be checked and
for part B 8 characteristics up to a maximum of 32 altogether.
It is not possible to link groups logically with one another.
The evaluation per group starts with the configuration previous
ly selected via IN2 or the serial interface and ends after the first
configuration
the check box).
E.g. in the fig. opposite: group (part) A = configuration 1-7 and
group (part) B = configuration 8-15).
The result is output via the serial interface RS422 and contains
the complete information (see chapter 6) which configuration
„IO“ (OK) or „NIO“ (not OK) provides. If several configurations
are „IO“ (OK), the number of the configuration with the best
result is transferred to the result byte „sorting result“. The most
usual application for this is in sorting (separating) tasks.
Contrary to the setting rules on chapter 4.2.2,
„Function IN2 = Ld Conf 1-32“ must be entered
for each parameter configuration used (see
chapter 4.2.3.3.1 and 8.1), otherwise the initial
configuration for a group cannot be selected
during operation.
In all groups only the same operator can be used
at all times. Example: if the configurations of the
group A are linked with „AND grouped“, group B
can also be linked only with „AND grouped“.
the first one selected and ending
first
non-selected configuration, must provide
after the
the signal „GOOD“.
ting with the first one selected and ending
after the first
non-selected configuration,
must provide the signal „GOOD“.
not marked for logical linking (i.e. with no tick in
-
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
82
SectionField nameDescription
Radio buttons 1-32Current configuration:
Check box under the
eye symbol
Log(ical) linking
The time required for execution increases according to the number of active configurations in
comparison to one single evaluation (with „OR“ or „OR grouped“).
The evaluation with the logical combination of configurations effects the primary result
(Pattern, …) as well as the secondary result (Position / String compare), if used.
After clicking one of the 32 radio buttons, the corresponding
configuration is selected and its parameters can be set. The
corresponding parameters are displayed in the section „Parameter active configuration“. Only one configuration can be
selected for setting. After re-start, it is the most recently selec
ted setting which is active. The selected configuration covers a
field of view which can be set in the sections „Picture“, „Pattern“
and „Parameter“. If a certain configuration is to be tested, this
can be selected here and then tested with „Start“ (to test single
configurations, set „Logic = none“ temporarily.
Indicates whether the field of view and pattern of the configu
ration marked by the check box should be shown in the section
„Picture“ even if the configuration is not activated by the radio
button.The field of view of the configuration currently selected
is always visible and displayed in lighter colour. The configurations selected for display in addition to the current configuration
are shown in pale colour.
Selection of the field of view and pattern samples for
each configuration (here: „Select Configuration“)
Selection of the field of view and pattern samples for
each field type (eye icon visible on the screen
-
-
)
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
83
4.2.3 C Parameters of active configuration
After clicking a radio button in the section „Select configuration“, the parameters for this configuration appear in the
section „Parameter active configuration“ and can be set accordingly.
With this method, the image shown as reference during teaching is saved in the memory. The size and position of the
reference is determined by the sample (see chapter 4.2.
image in the current image. The object is identified as good depending on the setting of the threshold value (= degree
of conformity). The pattern detection is tolerant of up to ± 5° of rotation in position. Patterns with greater degrees of
rotation are not recognised.
Useful for checking correctness of parts for storage in infeed systems.
Example: The sensor was taught the following pattern
In the three sample images shown opposite, the object is recognised with 100% conformity because the pattern learned is exactly the same even though it is in a different
position in the picture. However, it differs only in direction X or Y and is not rotated to
any extent.
In the next three images, the object was also recognised although with less than
100% conformity. „Good“ or „Bad“ results are provided depending on the setting of
the threshold value (degree of conformity).
Pattern detection is tolerant of up to ± 5° of rotation in position. That means that the
following images were also recognised, although the actual degree of conformity
with the reference image would be less than 100% in spite of 100% pixel conformity.
Patterns with more rotation are not recognised.
This can be used (for example) as a function for checking the correctness of parts for storage in infeed systems.
4). In run mode, the FA 45 Vision Sensor seeks the reference
4.2.3.2. Grey level
The area test according to grey level works as follows:
The sensor treats all pixels which are darker than grey-scale value 128 as black. The setting of the grey-level value
indicates the maximum number of black pixels permitted in the image. By means of shutter setting it is possible to
influence which pixels are recognised as dark.
Example:
Object representation:
Shutter setting:
The setting of the level value determines the maximum number of pixels detected as being dark which is required to
pass the test. The position of the dark pixels in the image is of no importance.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
84
Example:
The two images produce exactly the same result in the grey-level test,
because in each case 9 of the 25 pixels are detected as dark.
If the threshold value in this example was set to 10, the following images
would be recognised.
4.2.3.3 Contrast
The area test according to contrast works as follows:
The dark and light pixels are evaluated according to number and intensity of lightness or darkness.
Example:
=
=100%
=
=
=
=
=≈0%
5%
4.2.3.3.1 Summary of grey level / contrast
Evaluation method
Pattern
In both these methods of evaluation, the teaching process serves only to determine the shutter value automatically. If
this is set manually, no teaching is necessary (recommended).
Grey level
bar graph
100%<10%
50%>90%
0%<10%
Contrast
bar graph
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
List for selection of evaluation method. With the evaluation
methods of pattern matching, grey level and contrast, the
parameters described below appear. If contour is selected, the
parameters described on chapter 4.2.3.4 appear.
With different configurations any type of evaluation method
can be used (e.g. Config 1 = Pattern, Config2 = Contrast,
etc.).
Internal On Internal illumination is on for image exposure.
Internal Off Internal illumination is off for image exposure.
External
permanent
normal/average, fine/slow or rough/fast (for improving cycle
time if necessary).
Trigger for external illumination is generated.
Trigger for external illumination is generated.
The external illumination is permanently on, the
internal illumination is shut off.
Should the parameter of the active configuration „Function IN2“ be set to „Enable“
(manufacturer‘s setting), the input IN2 must be
connected to +UB (= High = Enable) in order to
operate the FA 45 Vision Sensor with an exter
nal trigger (input IN1). If no +UB is connected
to IN2, the FA 45 Vision Sensor will not execute
evaluation. In this case it is in standby mode (=
Disable). (see chapter 8.1).
-
The other options for parameter „Function IN2“: „Teach
temporary“, „Ld Conf 1 or 2“, Ld Conf 1 - 32“ and „Teach
permanently.“ are described on Chapter 8.1 under „Operation
with a process-control system“.
Trigger mode
Shutter teach/
manual
Triggered
Free run
ManualManual setting of shutter value (recommended).
TeachThe shutter value is fixed automatically by the
External trigger signal, or software button starts
exposure.
Continuous exposure (automatic self-trigger, see
chapter 4.2.1).
Change to live-image mode.
„Teach“ button during pattern-teaching process.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
86
SectionField nameUse
300
Position control
(for „pattern match“
and „contour detection“ only
See chapter 4.2.4
Baud rate RS-422
FA 45-300 only
Activate evaluation at position deviation X and/or Y. For contour detection, rotation deviation also.
Off
X onlyEvaluation direction X
Y onlyEvaluation direction Y
X/Y rectangle Evaluation direction X and Y with rectangular
X/Y ellipseEvaluation direction X and Y with elliptical
The area for the deviation can be marked by double clicking
the blue frame and adjusted in position and shape using
the mouse. Approach the line with the mouse pointer until it
changes to a horizontal or vertical double arrow. Keeping the
left-hand mouse button pressed, the line can now be moved
to the desired position. The result of this evaluation is output
at OUT4. Output OUT4 is only positive when the pattern is
detected with the set switch threshold (green pattern frame
is displayed and OUT3 is triggered, i.e. switch threshold
achieved) and the centre of the selected exposure area (green
cross in centre of green sample frame) is detected inside the
blue position-deviation frame.
Baud rate of process interface RS422 DATA (
Formats for serial output).
Position evaluation de-activated
deviation area (blue frame)
deviation area (blue frame)
see chapter 6
Shutter … ms
Trigger delay
Result delay
Result period
Outputs active
Threshold value
Threshold Min.:
Threshold Max.:
Exposure time: slide for setting shutter value manually.
To set the shutter value to a exact figure please click with the
mouse cursor on the parameter “shutter” to open the dialog
box.
Time between trigger and exposure / evaluation in 0-3000 ms
(see chapter 4.2.3.5 „Delay times“).
Time between trigger and availability of result level at OUT3
and OUT4 in 0-3000 ms.
Time in 0-3000 ms for availability of result level.
HIGH or LOW = inverting of OUT3 and OUT4.
Slide for minimum conformity. Applies for all evaluation modes.
In window „Result“ it affects switch threshold directly in bar
graph.
Minimum Threshold which must be reached for a Good- Re
sult.
Maximum Threshold which is not allowed to be exceeded for
a Good- result. With e.g. evaluation method contrast, here this
maximum value is not allowed to be exceeded.
Both thresholds can be used at the same time and in this case
a window- part of the whole bargraph can be defined as the
„Good- zone“. (Good signal when Threshold Min. is exceeded
AND Threshold Max. is not exceeded.)
Setting the Threshold Max. below Threshold
Min. is not possible
-
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
87
300
In practice, „Good“ parts are not 100% identical with the pattern taught. Slight differences in
position or fluctuations in light level mean that they do not conform completely with the reference
pattern.“Bad“ parts should differ from „Good“ parts in as many characteristics or as large a part
of the pattern area as possible. If a pattern has been taught using a „Good“ part, it must first
be established what degree of conformity with the pattern is achieved with various „Bad“ parts
(length of bar / bar graph for result). The degrees of conformity with the pattern achieved with
various „Good“ and „Bad“ parts should be as far apart as possible. The threshold value should
be set approximately at the centre of this difference between the „Good“ and „Bad“ parts.
FA 45-300
The following part is only valid for FA 45-300
4.2.3.4 Contour detection
The contours of the object in the pattern area are stored in the sensor during the teaching process. In run mode,
the sensor seeks the position with the greatest degree of conformity with the object taught or contour in the current
image. If the degree of conformity with the stored contour is greater than the threshold value set, the object is recognised as good. Contour detection is fully tolerant of the rotation position, i.e. the object sought may appear in any
position.
Application example for contour detection:
In the final inspection in a production line, the aim is to check the position and degree of rotation
of a hose connection with a transverse socket.
The contour of the socket is taught: (established contour line blue)
Contour editing
If interfering contours occur, the contour data can be edited using the
eraser. To remove the interfering parts of the contour, press the left-hand
mouse button until a red square (eraser) appears and erase the unwanted
parts. If too many edges are removed by accident, the contour must be relearned. Shadows or edges of the object not visible in a different position
can be eliminated, thereby improving and stabilising the function.
For a stable and reproducible recognition performance during contour evaluation, a highconstrast image is essential.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
88
SectionField nameUse
The field names and descriptions listed here can be found on chapter 4.2.3.3
Edge contrast
1
Difference in grey-scale value.
Minimum value required for edge detection
(Contrast jump) in grey-scale values.
(Value range 7 - 128, standard = 50)
Recommended: set value as high as possible.
Edge gradient
1
Edge steepness
Maximum permissible value in pixels for the edge width,
within which the above-mentioned contrast jump should
take place (6-19, standard = 12).
Recommended: set value as low as possible.
Min. edge length
1
Minimum length of a contour element.
For removing or allowing small contour sections.
(4-24, standard = 8)
Recommended: value as high as possible for exact
finding (angle position).
Search mode
2
Full searchSearches the entire field of view for
Up to first OKStops search as soon as first confor
Recommended: full search.
Edge width
2
Position tolerance
Line width of contour taught in pixels as tolerance range
for find contour, e.g. for deviations in shape.
(3, 5, 7, 9, standard = 5)
Recommended: set value as low as possible.
Min. scaling
Max. scaling
Starting angle
2
2
2
Minimum factor for scaling size of object
(0.5 - 1.0, standard = 1.0)
Maximum factor for scaling size of object
(1.0 - 1.5, standard = 1.0)
Angle at which the search starts. Search in clockwise
direction,
(-180° to 179°, standard = -10°, 0° at 12.00 h)
1
Parameter for teaching
2
Parameter for evaluation
3
For detection of exact
angle positions
Search angle
Threshold value
2
2
Maximum search angle (0° to 360°, standard = 360°)
Set switch threshold for object conformity, display in
window results in bar graph „Result“.
3
3
3
the object with the best match.
ming object is detected.
3
3
-
To optimise speed, limit above parameters as far as application permits.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
89
2
Evaluation time of sensor
Ready high again
=> Q1/Q2 vali
d
Trigger delay = x ms
IN1 (Trigger)
OUT2 (Ready/Busy)
Outputs 3 +4 =Q1/Q2
4
Evaluation time
+ Result Period
e
Ready high again
=> Q1/Q2 not vali
d
IN1 (Trigger)
OUT2 (Ready/Busy)
Outputs 3 +4 =Q1/Q2
Result
Period
e
1
Evaluation time of sensor
Ready high again => Q1/Q2 vali
d
IN1 (Trigger)
OUT2 (Ready/Busy)
Outputs 3 +4 =Q1/Q2
3
Result delay
(includes Evaluation time)
Ready high again
=> Q1/Q2 vali
d
IN1 (Trigger)
OUT2 (Ready/Busy)
Outputs 3 +4 =Q1/Q2
4.2.3.5 Delay times for the use of outputs Q1 and Q2 (Out 3 and Out 4)
There are up to three delay times available: (range 0-3000ms)
Case 1) no delay time used
Case 2) trigger delay = time between trigger
and start of the picture recording in ms
Fig. 18 - 155-00308
Case 3) result delay = time between trigger and
availability of the result signal
Case 4) result time =
duration of the result signal in ms.
Fig. 19 - 155-00309
at Out 3 and Out 4 in ms.
Fig. 20 - 155-00310
Fig. 21 - 155-00499
When the delay times are used to control the switch outputs, it must be ensured that the sum of
the times used is less than the cycle time of the plant from one part to the next, i.e. for the times
defined here, only one part should be in the test area.
Special Case: Control of switching outputs with the use of the timing function „Result Period“
OutputBehavior without Result PeriodBehavior with Result Period
OUT 2 (Ready 2) Directly set to LOW after the Trigger event
OUT 3 and OUT 4
= Results
(respectively when “Trigger-delay” > 0
after Trigger delay elapsed). Set to HIGH
again after the switching outputs OUT3
und OUT4 are valid. So this signal shows
that the sensor is „Ready“ again for the
next evaluation and the results (= outputs
OUT3 and OUT4) of the last evaluation
are valid (Data Valid).
Results stay without any further change
till the next evaluation is finished.
Directly set to LOW after the Trigger event (respectively when
“Trigger-delay” > 0 after Trigger delay elapsed). But then set to HIGH
again, not until the picture is taken, evaluation is processed and „Result Period“ is elapsed. That means in this case this signal only shows
that the sensor is “Ready” for the next evaluation. But it can not be
used as a Data Valid, that OUT3 and OUT4 is valid, as in this case
the outputs OUT3 and OUT4 are set back (High or Low, depending
on the setting of parameter „Output active“) at the same time OUT2
is set HIGH again. The level of the Result outputs OUT3 and OUT 4
in this special case must be checked during „Result Period“ but after
the evaluation is done. This must be controlled from the PLC independend from the OUT2 / Data Valid signal.
Results are set back after Result Period is elapsed. (High or Low)
depending on the setting of parameter „Output active“.
Outputs active: HIGH or LOW = inverting of OUT3 and OUT4
HIGH = high active, i.e. when result OK, output = high
LOW = low active, i.e. when result OK, output = low
The display LEDs in the user interface and on unit always switch in positive logic, i.e. they always light up when the
output is active regardless of whether inverting is active or not.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
90
4.2.4 D Picture
In the section „Picture“, the current sensor image is shown as well as the operating, pattern, and position ranges
selected in the check box (under the eye in the section „Select configuration“ and „Picture“).
Field nameUse
PictureField of view (yellow)
with frame number
Live image
Picture Zoom
Store image
Display (inactive
configurations)
Max. pattern size
= Number of configuration.
The frame (field of view) can be marked by double clicking the
frame and adjusted in position and shape using the mouse.
Approach the line with the mouse pointer until it changes to
a horizontal or vertical double arrow. Keeping the left-hand
mouse button pressed, the line can now be moved to the
desired position.
Display of live image by FA 45 Vision Sensor.
With the Zoom function in the window “Picture” the sensor
picture can be displayed magnified in scale 2:1 and the also
displayed frames of the different fields can be edited.
Stores the current sensor image at the set image quality.
Display with or without frame (field of view, pattern and
position) of the non-active configurations: To distinguish active
configurations, their frames are shown in bright colours, and
non-active frames in pale colours.
Select max. pattern size for required format: 200 x 80, 80 x
200 or 124 x 124 pixels.
Field of view (yellow) with number of configuration should
always fully surround the pattern of characteristics to be detected. It defines the maximum search area in which the pattern
is detected.
Pattern (target position = red)
During the evalution process the pattern frame
does not have any function. It only marks the
taught area.
Position frame (blue)
Single Image
By means of the function „Single Image“ a single synchronised
image may be retrieved triggered by an external source. Note
that this function is only available if you are operating in the
„trigger mode“. For this, activate the button „Single Image“.
The sensor is then ready to receive a trigger signal from the
hardware. In the event of a trigger signal the sensor takes an
images and transmits this to the PC software where it may be
used for training or adjusting the trigger.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
91
Information about the configuration of the field of view and reference pattern
- The patterns should have a unique characteristic in order to ensure a reliable recognition. Patterns with high
contrasts at the object edges especially fit for this purpose.
- Patterns or pattern characteristics should have clear contours. The less specified a pattern is the higher the
rate of false recognitions.
- Patterns characteristics should NOT vary. Variable pattern characteristics results in higher rates of false
recognitions. Especially varying shadows should not be taken into account in this respect.
- In order to keep the time for image recognition short, unnecessarily big fields of view should be avoided.
Sensor image
Field of view
Code
Sensor image
„slow“„fast“
Field of view
Code
Abb. 21
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
92
300
0°
-180° +179°
4.2.4.1 Frame type for position check
If the position check is activated for the evaluation method „pattern matching“ or „contour detection“, the position
frame is shown in blue. The X/Y coordinates for the centre of the pattern detected (= green cross at the centre of the
green frame) with reference to the top left-hand corner of the image (= zero point) is displayed in the result window.
The increment for the coordinate values with method “contour detection” is “1”, with method “pattern matching” it
X
is “2”. That means with pattern matching only even coordinate
values will occur.
Output for direction:
„centre“ because the centre point of the
pattern detected (= green frame) is inside the
limits for position deviation (= blue frame)
Y
Fig. 23
155-00502
Coordinates via serial interface
In addition, the X/Y coordinates for the centre of the detected
pattern (= green cross at the centre of the green frame) with re-
ference to the top left-hand corner of the image (= zero point) are output via the serial interface. These values always
refer to a coordinate system of 300 units in direction X and 240 units in direction Y.
Only even values are transformed, that means step width "2".
X
Zero point of coordinate system
X of 0 to 320
Y of 0 to 240
Centre of pattern detected
e.g. X = 180
Y = 110
I
Y
Fig. 24
155-00502
FA 45-300
Direction of angle values (contour-detection method only)
The result value „angle“ of evaluation method „contour“ is available only with relatively high tolerances, as it´s only
determined in the first search loop of this function.
.
Fig. 25
155-00437
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
93
300
4.2.5 E Pattern
The window „Pattern“ shows the pattern or contour taught in the active configuration.
PatternField nameUse
The window „Pattern“ shows the pattern or contour taught in
the active configuration.
The pattern or contour is stored as a file by clicking the button
„Save pattern“.
Zoom:
With this button, a window is opened in which the contour data
taught are shown enlarged.
FA 45-300
Indications active only in „Contour detection“:
Eraser size:
This is for setting the number of pixels of the square eraser
with which the contour taught can be edited.
Interfering edges, e.g. shadows or contours which are not part
of the object sought can be edited out (erased).
4.2.6 F Results
Field nameUse
LED = OUT3 and OUT4
ResultsResultThe degree of conformity of the current pattern with the pat-
Hor. position /
ver. position
tern taught is shown as a bar graph. The status of the switch
output OUT3 is shown as a green or red LED depending on
whether the conformity exceeds the switch threshold or not.
The display result value corresponds to the winner configura
tion, this is:
1. with single evalutation: the actually active configuration
2. with logical functions: the configuration with the highest
degree of confirmity = „measurement value“.
The threshold value set in the window „Parameter current
configuration“ is shown as a white line.
Shows the horizontal and vertical coordinates of the find
position of the current pattern = centre of green frame with
reference to the zero point = upper left-hand corner of field of
view (general image) and a coordinate system of
X = 320 and Y = 240 units.
-
Mounting and
300
operating instructions
Field nameUse
Direction
All exposures
Sorting result
Status lineThe status line at the bottom edge of the screen shows current
With „centre“, „top“, „top right“, „right“ … this shows the
direction in which the current pattern deviates from the taught
pattern with reference to position. „Centre“ is displayed (or
LED = green / OUT4 = high) as long as the centre of the green
frame (green cross) is located inside the blue position frame.
After every activation in the run mode, the three
counters are set to zero.
Counter for
1. all exposures
2. all exposures with pattern = GOOD
3. all exposures with position = GOOD
for test and optimisation of sensor function.
FA 45-300
Temporary display „Rotation angle“ and
„Sorting result“
(only when „Select configuration / logic = OR (sort)“ is activa
ted in window)
Number of detected config. X (also serial output)
(only when evaluation method: „Contour detection“ active).
Rotation angle of detected contour with reference to zero
position (12:00 h) (see chapter 4.2.4.1).
status signals on the action selected.
-
94
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
Pwr.Err.Q1Q2Data
Focus
0
8
300
301
operating instructions
5 Operation
5.1 Instructions in brief
1. Preparation
Open program.
Click on button „Connect“ and then „Find“. Select sensor and set IP address if
necessary.
Switch on internal and external illumination systems and select evaluation method.
2. Optimise image
Display live image and align FA 45 Vision Sensor on exposure object.
Set the shutter manually to obtain good image contrast.
Set image focus with the focussing screw.
Click on Stop (same button) to exit live image mode.
3. Define search criteria
Select configuration.
FA 45-300 only
There are 32 configurations available
FA 45-301 only
There is one configuration available
If the FA 45 Vision Sensor does not produce a satisfactory result, change and adjust the parameters of the active
configuration. For example, activate the manual shutter setting, set suitable shutter value or threshold value in LiveImage mode, and repeat the process from step 3 onwards.
If the FA 45 Vision Sensor works satisfactorily, switch back Free Run (Trigger mode).
For other patterns or contours, repeat the process from step 3 after selection of new configuration in the window
„Select configuration“. If required, these can be linked logically with one another.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Adjust size and position of ROI (Region Of Interest) and pattern field. Press „Teach“
button and wait until the Botton has returned to its original position.
The pattern is taught and displayed.
Carry out function test (set trigger mode „Free run“).
Start run mode and check function. If necessary adjust threshold value.
95
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
96
5.2 Application examples
Example: Detecting whether a retaining clip is open or closed using the evaluation method „Pattern
Matching“.
Task:
During the assembly of a machine component, to check the status of a retaining clip
(whether it is open or closed).
Fig. 26
155-00519
Condition:
The FA 45 Vision Sensor is mounted in position (
ter 3.2). The connection of the FA 45 Vision Sensor is described in the section „Start-up“ (see chapter 3.4).
When the FA 45 Vision Sensor is started
up, the section „Picture“ in the computer
software shows the last image recorded.
To view (and continuously update) the live
image, click the button „Live Image“ (in this
picture, still out of focus).
To bring the object into focus, turn the
focussing screw at the rear of the housing
to the right or left.
To improve the contrast, use the „slide“
„Shutter“ in the section „Parameter, Current
Configuration“.
see chapter 3.1) and fully wired („Electrical Installation“ see chap-
Fig. 27
155-00520
Fig. 28
155-00521
Fig. 29
155-00522
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
97
Then make the following settings:
Using the mouse, set the pattern and field
of view for the desired characteristic.
Evaluation method „Pattern Matching“ is
default. All corresponding parameters are
shown.
In most cases, the majority
of parameters can be used
with the standard settings.
A different setting may
be necessary to improve
detection or shorten cycle
times.
Fig. 30
155-00523
Click the button „Teach“ to teach the pattern
in the red frame as the reference pattern
and to display them in the window „Pattern“.
Fig. 31
155-00524
In „Trigger mode“ set „Free run“ in the section „Parameter active configuration“ and
press the „Start“ button. The pattern is now
evaluated continuously. The desired pattern
is detected with 100% conformity.
Fig. 32
155-00528
The taught pattern is detected also with Xor Y- translation till the borders of the ROI.
The display shown here is without „Image
update in run mode“. This means that only
the find position = green frame is displayed.
Further objects can be set using the same
procedure described above. Select a
new configuration in the section „Select
configuration“, select the desired method of
evaluation and make the settings described
above.
If several objects or configurations are
defined, these can be selected or combined
depending on application by means of IN2
or logical linking (see chapter 4.2.2).
Fig. 33
155-00529
Set the threshold value (required degree of
conformity of the pattern detected with the
pattern taught).
When all the necessary settings are complete, set Trigger mode back to „Triggered“
(if necessary) and change to Run mode
by clicking on „Start“ in order to test the
application.
In stand-alone operation of the sensor (after
parameters are set), it starts immediately in
Run mode following a Reset.
Mounting and
operating instructions
Fig. 34
155-00530
In the figure opposite, the FA 45 Vision Sensor has evaluated the object as „bad“ (red
LED). The result is correct, because the clip
is not engaged.
Fig. 35
155-00531
98
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
300
operating instructions
6 Formats for serial output
FA 45-300 only
6.1 Output Data via RS422
Attention
Output format for RS422 changed since firmware version V30!
Transfer protocol
The data transfer via RS422 uses the following parameters:
Baud rate: from 9600 to 115200 depending on setting
Databit: 8
Parity: none
Stop bit: 1
The following data strings are generated in the various evaluation methods and transmitted by the sensor
via RS422 (MSB for all data bytes always = 0, only for start byte = 1):
The first 10 byte of all output strings for all sensors and all evaluation methods are identical.
Starting with byte 11, the bytes corresponding to the actual evaluation method (= byte 8) of the “Winner config”
(= byte 7) are following. With the serial data transfer via RS422 only the data of one configuration = “Winner config”
are transferred.
The “Winner config” is:
1. in case of single evaluation: the active / selected configuration, or,
2. in case of logical combination: the configuration with the higher degree of conformity = “Measured Value”
(= byte 9) fullfilled configuration.
Evaluation method: pattern match
10 Byte Header
Byte MeaningBit patternExplaination
1Startbyte
2Configuration
3Configuration
4Configuration
5Configuration
6Configuration
7Winner config / Winner
in search
8Evaluation Method
9Measured valueValue for degree of conformity of total result 0-19:
10 AssessmentAssessment (ASCII) „G“, „B“, „g“ :
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
1 0 1 0 1 0 1 0
7 6 5 4 3 2 1
14 13 12 11 10 9 8
21 20 19 18 17 16 15
28 27 26 25 24 23 22
32 31 30 29
Byte value
Startbyte always 0xAA (0xAA=170D)
If a bit is „1“, that means that the corresponding configuration
is OK.If the bit is „0“, the configuration is not OK.
0 = No configuration fullfilled
1-32 = Number of winner configuration
Vision sensor Object detection
0
Patter matching
1
Contrast
2
Greylevel
3
Contour
4
5
0 = very low conformity,
19 = very high conformity, of the best configuration fulfilled in
each case if several configurations are active by logical linking
„G“ = primary result = Good (OUT3, e.g. Pattern)
„B“ = primary result = Bad (OUT3, e.g. Pattern)
„g“ = primary and secondary result = Good
(OUT3 and 4, e.g. Pattern and Position)
99
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
100
300
Further on following Output String (here e.g. Pattern)
Depending on Evaluation Method of the Winner Config:
In evaluation method Contrast and Greylevel the result string via RS422 is represented only by the 10 byte
header.
FA 45-300 only
6.2 Output data via Ethernet, Port 2005
Horizontal position of object, high byte (7 bit)
Horizontal position of object, low byte (7 bit)
Vertical position of object, high byte (7 bit)
Vertical position of object, low byte (7 bit)
Centre, Right, Bottom, Bottom/right, Top,
Top/right, Left, Bottom/left, Top/left
Horizontal position of object, high byte (7 bit)
Horizontal position of object, low byte (7 bit)
Vertical position of object, high byte (7 bit)
Vertical position of object, low byte (7 bit)
Angle high byte (7 Bit)
Angle high byte (7 Bit)
Centre, Right, Bottom, Bottom/right, Top,
Top/right, Left, Bottom/left, Top/left
With the data transfer of the result data via Ethernet, contrary to the data transfer via RS422, all results of all used
configurations are transferred one after the other following the 10 Byte header.
The 10 byte header is always the start- sequence and contains common data and total results, and also in byte 2
the number of the used and transferred configurations. This value is the number of the following string- parts (one for
each configuration used). The length of the string-parts depends on the sensor used in the respective configuration
type or evaluations method.
General Ethernet Header (first 10 Bytes, identical for all sensor versions)
Byte MeaningBit patternExplanation
1Startbyte
2CountNumber of executed and transferred configurations
3Configuration
4Configuration
5Configuration
6Configuration
7Configuration
1 0 1 0 1 0 1 0
7 6 5 4 3 2 1
14 13 12 11 10 9 8
21 20 19 18 17 16 15
28 27 26 25 24 23 22
32 31 30 29
Startbyte always 0xAA (0xAA = 170D)
If a bit is „1“, that means that the correspondingconfiguration
is OK. If the bit is „0“, the configuration is not OK.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
101
Byte MeaningBit patternExplanation
8Winner config / Winner
in search
9Measured valueTotal- Result 0-19 binary Value for degree of conformity:0
10 AssessmentAssessment (ASCII) „G“, „B“, „g“ :
Now the string parts of all used configurations are following, e.g.:
Vision Sensor Objectdetection: String part Pattern Matching
(8- Byte per config if Eval. Method = Pattern Matching)
Byte MeaningBit patternExplanation
nEvaluation MethodByte value 0Vision sensor Patter matching
n+1 Config. Nr.Number of the configuration (String Part)
n+2 Measured valueResult 0-19 binary value for degree of conformity: 0 = very
6.3 2- Byte values ( e.g. X- or Y- Position, for RS422 and Ethernet)
The X- and Y- coordinates, angles, etc. consist of 2 bytes. The MSB (Most Significant Bit) of all this bytes is never
used (always = 0, to make sure in each case that the Start byte 0xAA is unique with it´s MSB = 1). That means that
only 14 of the 16 bit can be used and the encoding must be like follows.
2-Byte value e.g. X- or Y- PositionByte 1Byte 2
Binary content 2 x 8 bit0 xxx xxxx0 xxx xxxx
Total value binary 2 x 7 bit = 14 bitxxx xxxx xxx xxxx
„G“ = primary result = Good (OUT3, e.g. Contour)
„B“ = primary result = Bad (OUT3, e.g. Contour)
„g“ = primary and secondary result = Good
(OUT3 and 4, e.g. Contour and Position)
Centre, Right, Bottom, Bottom/right, Top,
Top/right, Left, Bottom/left, Top/left
Horizontal position of object, high byte (7 bit)
Horizontal position of object, low byte (7 bit)
Vertical position of object, high byte (7 bit)
Vertical position of object, low byte (7 bit)
Angle high byte (7 bit) in 1/10 degree
Angle low byte (7 bit) in 1/10 degree
6.4 Commands to sensor via Ethernet Port 2005:
(Generally valid for all sensors)
1. Trigger:
In Run mode, a serial Trigger can be initiated with ASCII “tr” (Important: observe upper and lower case) in Triggered
operating mode.
2. Switch to a new configuration or configuration group:
To switch configuration via RS422 in triggered Run mode, a two byte command is sent from the PLC to the sensor,
which leads to the adjustment of the corresponding configuration. The format of the two byte command is like follows:
Byte 1: e.g. 0x01 = 0000 0001 = configuration 1; e.g. 0x05 = 0000 0101 = configuration 5, and so on. Byte 2: comple
mentary content to byte 1, but first bit (MSB) allways „0“
That means with byte 1 = 0x01 = 0000 0001 >> byte 2 = 0111 1110,
or with byte 1 = 0x05 = 0000 0101 >> byte 2 = 0111 1010
Block transmission with Ethernet data transfer
With data transfer via Ethernet it can happen that, especially with bigger data packages (e.g.
when many configurations are used), the total data string is cut in single smaller data packages.
This cannot be influenced by the FA 45 PC software, as this is controlled from the Ethernet
protocoll depending on the load of the Ethernet connection. Thus the exact behaviour cannot
be predicted. This should be considered with long timeouts in the software of the date receiving
system (PLC or PC).
102
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
-
Mounting and
300
operating instructions
7 Technical data
Electrical data
Operating voltage U
Residual ripple< 5 Vss
Current consumption (no I/O≤ 200 mA
Inputs IN1 / IN2high 10 V .. +UB (+10%), low 0 ... 3 V
Input resistance> 20 kOhm
Trigger input
Outputs OUT1 - 4PNP (closer, pull up MOSFET)
Output current (per output)200 mA (>> max. 9.6 W)
Maximum output current (per output)1.5 A in case of short circuit
Short-circuit protection (all outputs)yes
Protection against inverse connection yes
Interfaces FA 45-300
Integrated scan illumination8 LEDs (6 x white, 2 x red)
Integrated lens, focal length6 or 12 mm, adjustable focus
Lens: (adjustable to infinity)
Min. scan distance
Min. field of view X x Y
Depth of focusapprox. ± 5% of scan distance
Mechanical data
Length x width x height65 x 45 x 45 mm (without plug)
Weight
Vibration / shock
Ambient operating temperature0° C .... 50° C (80% humidity, non-condensing)
Storage temperature-20° C ... 60° C (80% humidity, non-condensing)
Protective systemIP 65/67
Plug connectionplug M12, 8 poles, Ethernet M12, 8 poles, process M12, 5 poles
Housing materiaaluminium, plastic
Functions and characteristics
Number of test objects per sensorFA 45 300: 32 Objects; Fa 45 301: 1 obje ct
Evaluation modes• pattern match with/without position detection
FA 45-300 only
Typical cycle time
B
24 V DC ± 10% (absolute maximum 18 - 30 V)
rising edge, 10 V ... U
Ethernet (LAN) RS422
Ethernet (LAN)
612
2020mm
18 x 148 x 6mm
approx. 160 g
EN 60947-5-2
• area test grey level
• area test contrast
• direction info, or coordinates for position detection
• position and size of field of view, pattern and position monitoring freely
adjustable
• contour detection 360° with/without position detection
• sorting function
• logical linking of individual configurations
type: 50 - 100 ms pattern matching
type: 120 - 500 ms contour
type: 40 - 50 ms area tests
B
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
103
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
104
300
300
E
D
C
B
A
5
4
3
2a
2
1
Typ 5ms / 5ms
IN 1 (Trigger)
Out 2 (Ready 2)
Out 3
Ld Conf. 1 o. 2
Ld Conf. 1 - 32
Te
ach temp/perm.
IN 2 (case 2)
IN 2 (case 3)
IN 2 (case 4)
8 Appendix
8.1 Operation with a process-control system (input IN2)
When in use with a process-control system, the following cases can be executed via input IN2:
For operation with a process-control system, set the „Function IN2“ in the window „Parameter
active configuration“ as described below.
The configuration which is activated by „Reset“ or „Power on“ is the one which was activated
most recently using the radio buttons in the window „Select configuration“ of the PC software.
• Enable case 1
• Teach temporary case 4
• Ld Conf 1 or 2 case 2
• Ld Conf 1 - 32 case 3
• Teach permanently case 4
For the signal sequence, see time diagram below (fig. 36); for the Pin-assignment of process interface
(see chapter 8.7 table 2).
Description of cases 1 to 4 and their signal patterns
1: Rising edge at IN1 (Trigger) starts sensor (triggers exposure and processing).
Type ≥ 20 ms trigger-impulse length.
FA 45-300 only
for case 2 und 3 available
FA 45-300 only
for case 2 und 3 available
Fig. 36
155-00551
2: Trigger starts falling edge at OUT2 (Ready 2), OUT2 stays low for duration of evaluation.
(Duration of evaluation is indicated in Run mode with Trigger mode = „Freerun“ in xx ms.
3: The rising edge at OUT2 (Ready 2) indicates (1) that processing is complete and (2) that the output OUT3
(= result of evaluation) and if necessary OUT4 is now effective (A) and can now be taken over by the control
system for further processing.
4: The next rising edge at the trigger input IN1 starts the next evaluation.
5: Period between rising edge at output OUT2 (Ready 2) and next rising edge at trigger input (IN1) = period
which can be used for configuration switchover (load configuration. 1 or 2; load configuration 1-32) or Teach
temporary/permanently by programmable input IN2 (function IN2).
OUT1: Trigger of external illumination, high as long as picture is taken = shutter open
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
105
300
300
300
300
Case 1: IN2 = Enable
Parameter „Function IN2“ = „Enable“ and input IN2 = +UB (+24 V DC) = evaluation possible (enabled)
Parameter „Function IN2“ = „Enable“ and input IN2 = open (0 V DC) = Standby mode (disabled). If the parameter „Function IN2“ is set to „Enable“ the evaluation only takes place when an external trigger arrives at
input IN2 +UB. If there is no +UB (= High = Enable) at input IN2, the FA 45 Vision Sensor does not execute
evaluation because it is in Standby mode (= disabled).
Case 2: IN2 = Ld Conf 1 or 2 (load configuration 1 or 2)
Level switch (B) can take place in period „5“ (Ready 2 = high): A high level means evaluation according to
config. 2, a low level, evaluation according to config. 1.
In period „5“ (Ready 2 = high) impulses are counted „C“ (type: 5 ms / 5 ms impulse / pause). The next
evaluation takes place with the configuration corresponding to the number of impulses counted. The count
always starts at 1, regardless of which configuration was active previously. The impulses must be genera
ted bounce-free, preferably by a control system. The configuration switch can also be serial via the RS422
(see chapter 6.4 Commands to sensor).
Case 4: IN2 = Teach temporary or Teach permanently (only configuration 1 possible)
In period „5“ (Ready 2 = high), a high level can be applied at IN2 to trigger a temporary (saved in RAM
only) or permanent Teach (saved in flash). This must be applied at least until the next rising edge at trigger
input IN1. Then the new pattern or contour is taught in config. 1 and saved according to specification. The
level must be reduced before the next rising edge at trigger input IN1, or another Teach is triggered. In this
mode, only config. 1 is used and overwritten by the next Teach.
Since the evaluation is based on
one image only, all the configurations used with „Logic“ or „Ld conf
x-y“ (case 2 or 3) must be taught
using the setting rules opposite
and then saved. The settings refer
to config. 1 or the last configuration activated.
To adjust several parameters of se
veral configurations identicelly in
an easy way, use function „copy“.
Attention! The settings for function IN2=Ld Conf. 1 or 2 / IN2=LD Conf. 1-32 / IN2=Teach temporary / IN2=Teach permanently are only available
if the sensor is working in triggered mode. In free running mode this settings have no effect.
-
Parameter- Setting rules
For the use of several configurations, e.g. with logical func
tions or selection of configuration via IN2.
- Evaluation method = any
- Illumination = identical
- Resolution / speed = any
- Zoom = identical
- Function IN2 = identical
- Trigger mode = „triggered“
- Shutter manual = „manual“
- Position test = any
- Baud rate RS422 = identical
- Shutter = identical
- Trigger delay = identical
- Result delay = identical
- Result period = identical
- Outputs active = identical
- Threshold value min = any
- Threshold value max = any
-
-
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
106
8.2 Specialities “Ld Conf 1 or 2 / 1 - 32”
When the functions „Ld Conf 1 or 2“ and „Ld Conf 1 - 32“ are used, the following settings must
be made for all configurations used:
• Same selection for function IN2 (either „Ld Conf 1-2“ or „Ld Conf 1 - 32“)*
• „Teach shutter“ = „Manual“ (Off)
• Trigger mode = „Triggered“
For future use of saved configurations it is advisable to keep a list of which pattern is saved
under which configuration number.
*1 When changing configurations, if a configuration is ever selected in which a different „Function IN2-mode“ = Load Configuration 1 - 32 is
activated, no further configuration can be selected by impulse sequence or level. That means, that from that point onwards it is not possible to change to another configuration. For this reason, it must be ensured that only correctly parametered configurations are selected
for the control system generating the impulse sequences. If an incorrect configuration is selected and the sensor no longer responds, a
reset must be carried out (and if necessary the PC software closed and restarted). After re-starting the sensor, by Reset or Power on, the
configuration which is active is the one which was activated last using the radio buttons in the window „Select configuration“ of the PC
software.
Recommended procedure:
1. In configuration 1 set all desired parameters (e.g. shutter manual, function IN2 = Load Configuration 1 - 32,
trigger mode = triggered etc.), teach pattern for configuration 1.
2. Select next configuration, change to Live mode, position next object and field of view, de-activate live mode and
again set the above parameters as in configuration 1.
Repeat step 2 until all the desired patterns are recorded and saved. Then program the corresponding
impulse sequences in the control system.
Testing saved configurations
When all the desired configurations have been set as described above, a configuration can be selected using the
radio buttons in the window „Select configuration“. With a start using the PC software or re-starting the sensor using
Reset or Power On, the sensor starts with the last configuration selected. This can now be tested using various
„good“ or „bad“ parts. Parameters such as Shutter of Threshold value can be adjusted if required. To test other confi
gurations, select the radio button of the configuration concerned.
1
-
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
107
8.3 Specialities “Teach temporary” and “Teach permanently”
(configuration 1 only)
When using the functions Teach temporary and Teach permanently, remember that when the external TEACH button
is pressed which applies the High level to input IN2, the teach process can only be triggered by an additional rising
edge at trigger input IN1. That means the following signal sequence:
1. High level at input IN2.
2. Rising edge at trigger input IN1.
Applications where the object is continuously transported (modes „Free-run“ or „Triggered“):
Apply to High level to input IN2 and halt for at least one image exposure. The new pattern for configuration 1 is saved
and this new configuration 1 applies immediately. If the signal at input IN2 is halted for the duration of several image
exposures, the last exposure is saved as the new configuration 1.
Applications with pulse cycles
Apply a High level at input IN2, either when the next reference object is being transported to the correct final position,
thereby causing triggering,
or
when the reference object is in the correct position and triggering has already taken place, the trigger signal must be
interrupted and re-applied. Only after this should the signal at Input IN2 fall to Low level.
Interruption and re-application of the trigger signal can be achieved by installing an opener in the trigger circuit.
The save operation for permanent save (Teach permanently) may take up to 500 ms.
During this period and in continuous-transport applications, parts are signalised as „bad“.
When the function Teach Temp. is used, the new pattern is stored only in the RAM (this requires
much less time). In this case, the pattern is no longer available after the FA 45 Vision Sensor is
re-set and must therefore be re-taught.
8.4 Trigger mode
Triggered or Free run (automatically running self-trigger)
When „Triggered“ is selected, the sensor responds to an externally connected trigger sensor (+UB positive edge) or
the button „Trigger“ in the computer software.
When „Free run“ is set, the automatic self-trigger takes place as soon as the Run mode is activated.
Setting the trigger sensor
During operation of the FA 45 Vision Sensor, the position of an additional trigger sensor can be optimised. To do this,
make the following settings to the PC software:
• Trigger mode = „Triggered“
• Image update in Run mode = „activated“
• Run Mode = „on“
When the process is in operation, the shift in the trigger sensor can be imitated directly in Run mode, thereby achieving and fixing the optimum position.
Note on „Triggered“ and „Free run“
In „Free-run“ mode, the image exposures and the evaluation are carried out at maximum frequency. One valid result
is replaced by the next, i.e. it remains valid during the next exposure. This differs from „Triggered“ mode (see above),
where the trigger signal causing the exposure sets the result output to 0.
In „Free-run“ mode, only the mode „Enable/Disable“ is practical for function IN2. In this mode, the exposure in „Free
run“ can be suspended and resumed by IN2. In each case, the last result remains valid during the interruptions.
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
108
8.5 Extension of In / and Outputs
Fig. 37
155-00745
Buscoupler
Pwr. Supply mod.
The extension of the in- and outputs is done by clamps with buscoupler as shown in the picture
on the left side. The buscoupler can be equipped with a different number of in- and outputs.
The configuration of the buscoupler has to be selected in the software as shown on the right
side.
The Beckhoff - module is set to baud rate 38400 by default.
If Beckhoff-mode in sensor software is selected, the baud-rate of the serial interface of the
sensor will automatically be set to 38400 baud.
Connect supply voltage and inputs/outputs to the buscoupler as described in the
documentation of the buscoupler. Select by the switches named with „ADDRESS“ node num
ber 11. Connect the serial interface of the sensor with the serial interface of the buscoupler as
shown in the following table:
Cable to buscoupler
FA 45
GND5GreyGND5
TxD A
4YellowRxD / TxD A8
TxD B3GreenRxD / TxD B3
RxD A
2Brown
RxD B1Withe
Ea 8 outputs
8 InputsEndmodule
Sensopart Cable
e.g. CL L5FK-3m-
W-PUR
Beckhoff
BK8000
-
Fig. 38
155-00744
The outputs 1-32 are assigned to the configurations 1-32. If the result of a configuration is positive, the assigned
output is on +24V. By the inputs there can be selected configurations inside the sensor. The assignment of the inputs
to the configurations is as described in the following table (1=+24V / 0=0V):
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
109
Activating of In- / Outputextension slows down cyle-time slightly (20-30ms additionally depending from evaluation method). Attention: When activating In- / Outputextension without serial
connection to bus-coupler the cycle time slows down considerable (more than 500ms additional). The extension of In- and Outputs not available at serial numbers smaller than 0802376 and
can not be installed by using the update-functionality.
4Yellow OUT2 (ready 2)
5GreyIN2
6PinkOUT1 (Trigger of external illumination)
display LED = Q1
2
1
1
Ready 2: Indication whether sensor busy / data valid for OUT3
and OUT4.
2
Input signal for controlling function IN2: Should the parameter
of the active configuration „Function IN2“ be set to „Enable“
(manufacturer‘s setting), the input IN2 must be connected to
+UB (= High = Enable) in order to operate the FA 45 Vision
Sensor with an external trigger (input IN1). If no +UB is connected to IN2, the FA 45 Vision Sensor will not execute evaluation.
In this case it is in standby mode (= Disable). (see chapter 8.1
Clean the FA 45 Vision Sensor with a clean dry cloth.
If the sensor front screen is soiled, clean it with a soft cloth and some plastic cleaning agent where required.
Important
Never use aggressive cleaning agents and solvents or benzine.
Do not use sharp objects. Do not scratch!
Table 4
8.8.2 Transport, packaging, storage
Check the delivery upon receipt to ensure that it is complete and that no damage occurred during transport. Should
the delivery be damaged, contact the carrier immediately. When returning the sensor, the packaging must always be
sufficient solid
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
111
INFORMATION
If a defect is found, a complaint must be made immediately. Claims can only be made within the
valid time limit.
8.8.3 Disposal
Electronic components are subject to hazardous waste treatment and must only be disposed of by certified specialists.
8.9 RESET / Power On
Pull out plug / power supply off – and switch on again.
8.10 Sensor Firmware Update FA 45
Customers can do updates of Sensor version at
Sensors with serial number greater than 0800 900. If
you have a serial number below this number the update
may take more efforts and may be charged. Please
contact in this case SensoPart Support: Phone.:
+49 / 7665 94769-750 / beratung@sensopart.de.
To update a Sensor please proceed in the following
way: start Sensofinder, choose the Sensor to be up
dated from the list and click on update:
For update you need a .BIN-file mating to your Sensor
Type and containing the latest software version for it,
e.g. Update_v40_Object_060929 is a file for updateing
an Object Sensor to version 40. The latest .BIN-files
can be found on http://www.sensopart.de/.
There are existing different update-files for Object
Sensor, Code Reader and Color Sensor.
Ensure before updating your Sensor, to have the
mating file.
Before starting the update, please ensure to have no
programms open which have access to the Sensor.
Then confim the following messages with “Yes”.
-
Fig. 42 155-00725
Important
Close all programms which communicate to the Sensor before the update. Active communication
to the Senosor during the update may delete the Sensor Firmware and may make it necessary,
to return the Sensor to manufacturer!
After successfull update you will be asked to restart the Sensor and the SensoFinder
After the restart you see the Sensor with the new version number in the list.
8.11 FAQs
How do I change the IP address of the FA 45 Vision Sensor?
Proceed as described in the sections „Network settings“ and „Setting the IP address of the
FA 45 Vision Sensor“ on
What is the easiest way of testing the connection to the FA 45 Vision Sensor?
chapter 3.3.
Fig. 43 155-00706
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
112
In the starting menu of the operating system, click on „Execute“ and then „cmd“. In the window which appears,
enter the command „Ping“ and then the set IP address:
e.g. ping 192.168.100.100
If all connections are correct, and the sensor and the PC address section are identical and the FA 45 Vision
Sensor ready for operation, the command „Ping“ will produce a positive signal. If not, re-check your network
configurations and consult you network administrator.
How do I avoid image dissipation and reflections (indicated by light-coloured areas of the image)?
Mount the FA 45 Vision Sensor diagonally to the optical axis and set the shutter manually (
Adjust the illumination of the object and avoid fluctuations in brightness, e.g. caused by ambient light.
I am getting dissipation of image and grey-scale for the same object. The grey-scale values at the edge of the
illuminated image zone differ from image to image.
What can I do?
Set the shutter to „Manual“ in the window „Parameter active configuration“ and set the slide so that there is
no fluctuation in brightness. Generally speaking, a higher shutter value causes slight overexposure, but also
produces a more consistent result.
Reflections occur when the alignment or position are changed slightly, e.g. an impression which varies in
brightness.
How can I get a more consistent image?
Mount the FA 45 Vision Sensor at an angle of 10°-15° or select another position for the pattern screen in which
the reflections do not adversely affect pattern detection (see chapter 3.1).
8.12 Accessories
see chapter 3.1).
Description DesignationArticle N°
Mounting clamp, dovetail FA 45
Mounting angle FA 45MA 45543-11001
Mounting angle FA 45 longMA 45 L543-11013
Mounting bloc rod FA 45
Mounting rod 20 cm FA 45MST 45-20543-11005
Mounting rod 30 cm FA 45MST 45-30543-11006
Mounting rod 40 cm FA 45MST 45-40543-11007
Mounting hinge FA 45
Mounting plate FA 45MP 45543-11003
Mounting link FA 45
Connection cable, 2 m, straight, shieldedC L8FSK-2m-G-PUR902-51708
Connection cable, 5 m, straight, shieldedC L8FSK-5m-G-PUR902-51709
Connection cable, 10 m, straight, shieldedC L8FSK-10m-G-PUR902-51710
Connection cable, 2 m, 90°, shieldedC L8FSK-2m-W-PUR902-51711
Connection cable, 5 m, 90°, shieldedC L8FSK-5m-W-PUR902-51712
Connection cable, 10 m, 90°, shieldedC L8FSK-10m-W-PUR902-51713
Ethernet cable, 3 m M12, 8-pin./RJ45, shielded (no crossover)CI L8FSK/RJ45S-3m-GG-PVC902-51715
Ethernet cable, 3 m M12, 8-pin./RJ45, shielded (crossover)CI L8FSK/RJ45S-3m-GG-PVC-G 902-51736
Ethernet connector RJ45, shieldedAA-RJ45902-51694
Ethernet crossover cable, 1 m, RJ45, shieldedCI RJ45S 1m K902-51695
Interface cable 3 m, straightCI L5FK-3m-G-PUR902-51696
Interface cable x m, straight (max. 25 m)CI L5FK-xm-G-PUR902-51697
Interface cable 3 m, 90°CI L5FK-3m-W-PUR902-51698
Interface cable x m, 90° (max. 25 m)CI L5FK-xm-W-PUR902-51699
Converter RS232 - RS 485/422K2-ADE-TB533-11017
Interface cable incl. CD Rom 2 m - USB-RS 232CUSB-RS232-2m901-05097
C-mount Lens 8 mmLO C 8526-51513
C-mount Lens 12 mmLO C 12526-51514
C-mount Lens 16 mmLO C 16526-51515
MK 45543-11000
MB 45543-11002
MG 45543-11008
MZ 45543-11004
FA 45 Vision Sensor Ob je ct d etecti on GB - 068-13762 - 30.11.2007-06
Mounting and
operating instructions
113
300
300
Description DesignationArticle N°
C-mount Lens 25 mmLO C 25526-51516
C-mount Lens 50 mmLO C 50526-51518
Intermediate ring 1.6 mmLR 1,6543-11009
Intermediate ring 6.6 mmLR 6,6543-11010
C-mount protective case, flange 6.6 mm
Arealight FA 45 white
Arealight FA 45 IR
2
Arealight FA 45 red
Ring light, white, double rowLFR 45 WD525-51139
Ring light, IR, double row
Standard bus coupler with RS 485 interfaceAS S7/BI D9F533-01000
Digital input terminal 8 pin.AS K1/I8533-01001
Digital output terminal 8 pinAS K1/O8533-01002
Bus termination fitting.
Adapters providing field wiring means are available from the manufacturer.
1
Maximum length of lens = 42 mm; maximum diameter of lens = 39 mm
2
IR illumination is only possible with C-Mount sensors.
3
Mounting rail included.
4
Function only with Interface cable (CI L5FK-xm-x-PUR).
For the permanent display of sensor image and evaluation results or simply for operation of the parameterization software, following
Panel PC with 12“ Touch Display for wall fastening or fitting is available: