0% found this document useful (0 votes)
43 views81 pages

Trainingdep Visionsensors En30

Uploaded by

w robotica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views81 pages

Trainingdep Visionsensors En30

Uploaded by

w robotica
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 81

workshop

vision sensors
industrial imaging

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 1 / 74
copyrights
No part of this publication may be used (in particular reproduced, distributed and placed
in the public domain) nor modified or rearranged without prior written permission of ifm.

Despite utmost care we cannot assume any guarantee for the correctness and
completeness of the contents. Since errors cannot be avoided despite all efforts we
appreciate any comments.

[email protected]

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 2 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

introduction

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 3 / 74
Introduction and overview
► Vision sensors allow the monitoring, detection and/or evaluation of complex object
properties and are important tools in many production processes.

efector 250 Sensing abilities


O2D* contour Presence, contour and orientation verification

O2V* object inspeciton Presence, size, position, and completeness

O3D* pmd 3D Presence, position, volume, level


(based on distance values of a scene)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 4 / 74
Applications for vision sensors
Manufacture of cocoa,
chocolate and sugar
confectionery
Control of the mould

Manufacture of parts and


accessories for motor vehicles
and their engines
Verification of fixing holes in
the flange for further
processing in the grinding
machine

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 5 / 74
Applications for vision sensors
Production of
mineral water and
soft drinks
Detection of
missing bottles in
the crate

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 6 / 74
Applications for vision sensors
In combination with feeder bowls
► Feeder bowls supply an assembly line
with parts.
► Here quality control of the parts often
plays a vital role in the production
process

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 7 / 74
Applications for vision sensors
In combination with robots
► Correct rotation and position (coordinates) of parts is imperative for e.g. robotic arms or
P&P machines.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 8 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

system setup

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 9 / 74
Vision system setup
Sensor ↔ PLC (optional)
Sensor ↔ PLC
(optional) Pin 4, Pin 5, Pin 6, Pin 7, Pin 8
Pin 1: TD + TCP/IP Functionality different from O3D to O2D/O2V
Pin 2: RDEthernet
+ IP
Pin 3: TD -
Pin 4: RD -

Sensor ↔ PLC Voltage I max

Pin 1: U+, Pin 3: 0V


O2D*, O2V* 24 DC < 300 mA
< 2.5 A (pulsed),
O3D* 24 DC Sensor ↔ Trigger
typ. 600 mA
(optional)

Pin 2: trigger input


Sensor ↔ PC

TCP/IP object
©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 10 / 74
Firmware and software
General rules:
► Use the newest firmware and software possible
► Before installing a new firmware, backup sensor programs (applications) and
parameters using the export function.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 11 / 74
General accessories and crosselling products
► Power supplies

► Touch panel PCs, e.g. for stand-alone solutions

► Mounting set

► Cables (special pin configuration and wiring)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 12 / 74
Vision systems: interfaces

O2D* O2V* O3D*

Parameter setting interface Ethernet TCP/IP 10Base-T / 100Base-TX

Process interface Ethernet TCP/IP (Port: 50010), EtherNet/IP

Subnet mask 255.255.255.0 (Class C)

Gateway IP address 192 .168 .000 .201

IP address 192 .168 .0 .49 192 .168 .0 .59 192.168.000.69


MAC address see type label

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 13 / 74
Sensors ↔ PC

Sensor IP (factory)
O2D* 192.168.0.49
O2V* 192.168.0.59
O3D* 192.168.0.69

► Download and install the latest parameter software on your PC


► Connect the devices
► Align sensor IP and PC IP
► Start the software PC e.g.
► Establish TCP-IP connection between the sensor and the PC using the IP 192.168.0.10
parameter software
Subnet mask 255.255.255.0
► Check the firmware of the sensor and possible upgrade
► Start teaching the sensor what to do

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 14 / 74
introduction

system setup

2D vision sensors
O2D*contour

O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

2d vision sensors

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 15 / 74
2D vision sensors

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 16 / 74
O2D*, O2V* - field of view

Field of view size [mm]

Operating distance [mm]

different sensor variants available

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 17 / 74
Contours and areas

► O2D* contour sensor mainly detects ► O2V* object inspection sensor mainly
contours and orientation. monitors areas and colours.
► Taught target needs to be stable ► Taught target may vary in shape

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 18 / 74
O2D* vs O2V*
► Different shape, same area (pixel)
O2D* O2V*
looking for
Object correct? No Yes
the shape

taught object current object

► Same shape, different area (pixel)


O2D* O2V*
looking for Object correct? Yes No
changes

taught object current object


desired result
unwanted result

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 19 / 74
O2D* vs O2V*
► Same shape, different orientation

O2D* O2V*
looking for
orientation Object correct? Yes No

taught object current object

► Detect a rather undefined shape


O2D* O2V*

looking for Object there? No Yes


similar areas

taught object (e.g. glue) current object

desired result
unwanted result

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 20 / 74
O2D* vs O2V*
► Different colour

O2D* O2V*
looking for
contrast Object correct? Yes No

taught object current object

desired result
unwanted result

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 21 / 74
Technical features: O2D* vs O2V*
Main differences between O2D* and O2V*
► Algorithm used for image processing.
► Available light types - luminous colour (white) and infrared illumination
► Corresponding software

“Use the O2D first“


► If the application can be solved by the O2D → more robust solution
► O2V is more susceptible to extraneous light and to deviations in the material colour
(e.g. caused by corrosion or contamination)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 22 / 74
O2D*, O2V* - construction
Die-cast metal housing rated IP 67

Pushbutton setup and 4-digit numeric display

On-board lighting element illuminates object

Lens

Manual focus tool

Microprocessor

Ethernet parameter setting interface

M12 8-pin connection

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 23 / 74
O2D*, O2V* - common features
► All-in-one design: image sensor, evaluation electronics and
integrated lighting
► Stand-alone usage possible
► Small, industrial-compatible housing
► 640 x 480 resolution
► Powerful internal algorithm that performs in low-light conditions.
► Simultaneous recognition of up to 32 contours
► Simple setup software (including an easy-to-follow 5-step Wizard)
► Very small and robust housing for flexible use
► Easy focus tool quickly defines images
► Allen-Bradley EtherNet /IP and standard Ethernet TCP/IP

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 24 / 74
O2D*, O2V* - price/complexity ratio

Vision systems
High complexity

- troubleshooting
- wiring
- mounting brackets - specialists often required
- installation and maintenance time - additional processing power
- increased integration costs

ifm 2D vision sensors

Sensor clusters

High cost of ownership


©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 25 / 74
Lighting of the scene
Light conditions have a huge impact on contrast of and reflections on
objects → are the main reason that some applications cannot be
solved at first.

If you encounter difficulties detecting the contour or area try:

► Adjusting the angle between the camera and the object


(and therefore changing the shape and angle of disturbing reflections)

► Increasing or decreasing light from either the environment and


or the camera

► Try using lighting accessories

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 26 / 74
Environmental conditions: extraneous light
Try avoiding, reducing or eliminating...

► direct sunlight on the sensor face


► strong reflections
► standard fluorescent tubes with a frequency below 50 Hz can cause problems
(sensor is faster than the light fluctuations)
► mutual infererence from other optical sensors

“Please consult the manual for installation parameters“

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 27 / 74
Lighting accessories
► Spot and bar lights allow illumination of the scene from
different angles (changing or reducing reflections on shiny objects)
► Ring light increase the front light factor of the sensor.
► Back lights are used to enhance and emphasize contours
► Diffusors can be used to diffuse the emitted light
(reducing reflections on shiny objects)
► Daylight filters help reducing interfering sunlight

Please note:
Custom-made lighting systems are also possible.
(just make sure their frequency e.g. for fluorescent
tubes is higher than 50 Hz.)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 28 / 74
O2D*, O2V* - tasks
Task O2D* O2V* Task O2D* O2V*

Pattern matching Yes Object area Yes

Shape detection Yes Inner / outer radius Yes

Orientation Yes Object width / height Yes

Object position Yes Yes


Roundness / rectangularity Yes

Object counting Yes Yes


Hole counting Yes

Object contrast Yes

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 29 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection ◄
3D vision sensors
O3D* pmd 3D

q&a

summary

contour sensor

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 30 / 74
Rule of thumb: use the contour sensor when...
► ...you are looking for a shape

► that is more or less fixed and not constantly changing.


(negative example: seam in welding process, glue, reflections)

► ... the orientation of the object has some relevance (optional!)

► ...you are not looking for something unexpected within a shape

► ...colour is irrelevant

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 31 / 74
O2D* - working principle
► The sensor finds contours based

Level of detail
on the defined level of contrast

► Adjust the contrast threshold to


get the best contrast of the
contour to detect

► Level too low


→ too many details

► Level too high


→ no details anymore

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 32 / 74
O2D* - pattern matching O2D* O2V*
► Identify the orientation by pattern Yes

Inner bearing in automotive industry


If oriented incorrectly, this will lead to engine failure. The sensor can identify it by detecting the bearing
pattern.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 33 / 74
O2D* - shape detection O2D* O2V*
► Presence verification Yes

Placement of label (packaging)


Verifying that a wine label is applied to a bottle.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 34 / 74
O2D* - orientation detection O2D* O2V*
► Orientation verification Yes
► allowed angle definable

Orientation of washer fluid cap


Proper orientation (± 60 degrees) of the windshield washer fluid cap.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 35 / 74
O2D - position detection O2D* O2V*
► Object position determination Yes *

Verify correct position of scoop (food industry)


A powder scoop must be placed correctly in the container of powder or it will cause a puncture in the foil
seal.
* not for this application
©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 36 / 74
O2D - object counting O2D* O2V*
► Determination of the number of objects Yes Yes

Number of needle bearings (automotive industry)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 37 / 74
Camera workshop
► By solving some application examples you‘ll learn something
about...
► ...the hardware and the setup
► ...the software and its parameters
► Different operating modes
► Lighting functions
► ROI and good/bad parameters
► Input/output types, triggering options

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 38 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

object inspection

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 39 / 74
Rule of thumb: use the object inspection sensor when...
► ...you are looking for the size of an area,

► and you want to find out if there are any changes to it.
(even changes within it such as holes, scratches etc.)

► ...the area is more or less changing constantly


(such as seams in a welding process, thread reflections etc.)

► ... the orientation of the object is irrelevant.

► ... the colour could be relevant.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 40 / 74
O2V* - working principle
► The sensor finds areas based

Level of detail
on the defined level of pixel
brightness.

► Adjust the “pixel brightness“ to


get the best selection of the
area to detect.

► Brightness too low


→ too many details

► Brightness too high


→ no details anymore
Grey-scale histogram

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 41 / 74
O2V* - position detection O2V* O2D*
► Detemines if an object is present or missing Yes *
► Regardless of shape and size (O2V* only)

Registration marks (assembly automation)


A registration mark is used to identify parts that have been through a complete process. The pixel counter is able to
identify whether the mark is present or missing.
* not for this application
©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 42 / 74
O2V* - object counting O2V* O2D*
► Determination of the correct number of objects coming in various Yes *
shapes

Presence of threads (metal casting industry)


Missing threads in metal parts can cause oil leaks and ultimately engine failure.
* not this application
©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 43 / 74
O2V* - object area O2V* O2D*
► Detemines if an object size exeeds or falls below a certain value Yes

Amount of glue for bonding on a joint (wood assembly)


Too much glue spills out, too little causes improper bonding.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 44 / 74
O2V* - inner / outer radius, object width / O2V* O2D*
height
Yes

Moulding of metal insert (rubber products)


A piece of metal is inserted in a rubber mould, and it is imperative that the area is covered smoothly. The pixel
counter inspects for a low level of bright pixels, detecting an incorrect moulding.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 45 / 74
O2V* - roundness / rectangularity O2V* O2D*
► Verification of the correct shape Yes

Manufacturing of chocolate
The vision sensor checks if the
chocolate mould is filled correctly.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 46 / 74
O2V* - hole counting O2V* O2D*
► Determination of the number of holes coming in various shapes. Yes

Verification of welding process (automotive industry)


An ultrasonic welder can produce rivets. The entire area is analysed to determine that all rivets are present.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 47 / 74
O2V* - object contrast O2V* O2D*
► Differentiation of greyscale colours Yes

Correct media inside of a filter (automotive industry)


In this application, a customer uses two different coloured media for filters. The correct media must be
verified.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 48 / 74
Camera workshop
► By solving some application examples you‘ll learn something
about...
► ...the hardware and the setup
► ...the software and its parameters
► Different operating modes
► Lighting functions
► ROI and good/bad parameters
► Input/output types, triggering options

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 49 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D ◄
q&a

summary

3d vision sensors

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 50 / 74
3 dimensional data

► O3D* collects distance values from more than 3000 measuring points within a scene

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 51 / 74
3D vision sensors

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 52 / 74
O3D* - function principle

Time of flight principle


► Infrarot LEDs send out light.
► Light reflected from the scene is led through a
lens...
► ...onto the PMD chip.
click to play video

► Based on the time from being sent until having reached the chip → 64 x 48 = 3072 distance
information
©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 53 / 74
O3D* - field of view

Field of view size [mm]

Operating distance [mm]

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 54 / 74
O3D* - features
► 3D sensor for assessment of distance, level or volume.
► All-in-one design: image sensor, evaluation electronics and integrated
lighting
► Stand-alone usage possible

► Robust, industrially compatible housing

► 64 x 48 pixel resolution results in 3072 distance values per scene


► Robust against extraneous light
► Simple setup software (including an easy-to-follow Wizard)
► Easy focus tool quickly defines images
► Allen-Bradley EtherNet/IP and standard Ethernet TCP/IP
► Switching and analogue outputs
► Far sight: range up to 6.5 m

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 55 / 74
O3D* sensor or O3D* camera?
► Sensor and camera have the same hardware
► Difference: software interface and firmware

Sensors:
► provide some pre-installed functions and application solutions
► easy setup via software
► possibility of binary or analogue output

Camera:
► is a product for vision integrators.
► It comes with an sdk (software development kit) and…
► …allows the customer to download of all the 3072 distance values…
► …to calculate an own application in an external PC.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 56 / 74
Tasks: O3D* pmd 3D sensor
Task O3D*

Distance Yes

Existence Yes

Volume Yes

Level Yes

Rule of thumb: use the pmd 3D sensor when...


► ...you are looking for a 3D related value of a scene.

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 57 / 74
O3D* - distance measuring O3D*

► Manufacture of motor vehicles Yes


Position control in the car assembly line

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 58 / 74
O3D* - presence O3D*

► Bottling plant for mineral water Yes


Detection of missing bottles in the crate
► Cap detection

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 59 / 74
O3D* - presence O3D*

► Dairies and cheese making Yes


Control of the packaging line

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 60 / 74
O3D* - volume monitoring O3D*

► Storage and warehousing equipment Yes


Pallet control in a packaging line

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 61 / 74
O3D* - volume monitoring O3D*

► Breadmaking machinery Yes


Volume control of pastry in the baking form

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 62 / 74
O3D* - volume monitoring O3D*

► Bulk material detection Yes

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 63 / 74
O3D* - level measurement O3D*

► Construction industry Yes


Level measurement of sand in a bunker

Please note: when other optical systems fail (e.g.


shiny liquids), try the O3D

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 64 / 74
O3D* - level measurement O3D*

► e.g animal food, waste storage Yes

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 65 / 74
O3D* - shadowed areas
Every scene when analyzed by a camera system has
shadowed areas.

O3D*
► These areas can lead to variances when
determining the volume of a scene.

Example:
► The volume measured by the O3D* would be:
A+B+C

B
A C

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 66 / 74
Camera workshop
► By solving some application examples you‘ll learn something
about...
► ...the hardware and the setup
► ...the software and its parameters
► Different operating modes
► Lighting functions
► ROI and good/bad parameters
► Input/output types, triggering options

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 67 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

questions &
answers
add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 68 / 74
Questions and answers
► Which sensor would you recommend for this application and why?

Polished and non-polished flute (metal stamping and forming)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 69 / 74
Questions and answers
► Which sensor would you recommend for this application and why?

Determining the size of a package (packaging industry)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 70 / 74
Questions and answers
► Which sensor would you recommend for this application and why?

Sort connectors by knurled nuts and hex nuts (assembly automation)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 71 / 74
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a


summary

summary

add-on:
tcp/ip communication

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 72 / 74
Summary
Vision sensor @ ifm

► 2D: contour and object inspection (area)


► O2D* for detecting shapes and object orientation when shape is defined
► O2V* for detecting areas and colour even for unstable shapes

► 3D: distance values of the scene


► O3D* for volume, position and level measurement

► Crucial factor for success: lighting conditions


► when encountering problems: use different angles and accessories

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 73 / 74
contact

ifm electronic gmbh


training department
[email protected]
training.ifm.com
www.ifm.com

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 74 / 74π
introduction

system setup

2D vision sensors
O2D*contour
O2V* object inspection

3D vision sensors
O3D* pmd 3D

q&a

summary

add-on
tcp/ip communication

add-on:
tcp/ip communication ◄

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 75 / 74
Process connection via TCP/IP (e.g. O3D*)
► Step 1:
Configure the O3D* for TCP/IP access using the “Process interface configuration
software“ (see download area on ifm homepage)

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 76 / 74
Process connection via TCP/IP
► Step 2: send commands and receive data e.g by using WindowsXP hyperterminal:
Start->Programs->Accessories->Communication->Hyperterminal->New Connection
► Alternatively use another terminal software e.g. “Putty“

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 77 / 74
Setting up the command-syntax
► To select the “simplest“ protocol (and command syntax) type in:
0000v01 (aknowledge by pressing “enter“)
Output (confirmation):
0000*

► Start with (type in):


0000V? (aknowledge by pressing “enter“)‘
Output:
000002 01 04

Standard ticket from the device Current Other supported protocols


protocol

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 78 / 74
Replies to commands
► Case: Command does not exist…
e.g.: “U“ then “?“ is replied

► Case: Command correct but there is a problem…


e.g.: “s?“ then “!“ is replied. There is a problem you have to
solve first.

► In most cases the sensor is not in the correct mode e.g.


“Application“ instead of “Monitor“ mode.

► Case: Command executed correctly…


e.g.: “t“ then “*“ is replied

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 79 / 74
Commands (excerpt)
► D?
Device Information

► E?
Error Detection (if Errorcode unequal 0000, see Appendix of “Process Interface Manual“)

► s?
Showing statistics like “amount of trigger events“, “sensor temperature“ etc.

► R?
Trigger-event and output of the previously defined (in the “Process Interface configuration
software“) data

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 80 / 74
Commands (excerpt)
► a?
Displays the number of applications and the available ones.

► Example:
c002
Use always with O3D* Application 2

©2015 ifm electronic gmbh, training department, vision sensors, defriemr 3.0c 81 / 74

You might also like