Home

Operating instructions Object recognition sensor O2D22x

image

Contents

1. e Currently no application active e Application is being edited e No results availabe yet we me LL 12 16 Release trigger evaluate captured image and result output via pro cess interface Reply Message in result format Normal case Chapter result message 12 20 e Currently no application active e The device is busy with evaluation The device is in an invalid state e g administer applications Currently set trigger mode not possi ble via TCP IP EtherNet IP too high a trigger rate Note The result is always provided via the process interface with activated and also non activated output via the process interface 12 17 Request the protocol version current blank min blank max current two digit decimal number with current version blank space character min two digit decimal number with minimum version max two digit decimal number with maximum version 30 Object recognition sensor O2D22x 12 18 Request the device information Reply manufacturer t article number gt lt t gt lt name gt lt t gt lt location gt lt t gt lt ip gt subnet mask gt lt t gt lt gateway gt lt t gt lt MAC gt lt t gt lt DHCP gt lt t gt lt port number manufacturer IFM ELECTRONIC article number article designation and status e g O2D220AC lt name gt sensor name as entered in the operating program lt location gt sensor location as entered in the operating program
2. 0 0 eee eee eee 30 12 18 Request the device information 0 0c cece eens 31 12 19 Request the last bad image from the device 31 12 20 Result message 6 quauuqone Qupqoendur qd div Aem ea d race APER ROLE 32 12 21 Error codes from the device iiio zer RE Res 35 13 Maintenance repair and disposal nananana aaa 37 14 Approvals Standards icc ahah eant Sae Bc eee ted i e e eed 37 15 Note on the software a iab annaa aaaea naaa 37 Object recognition sensor O2D22x 1 Preliminary note 1 1 Symbols used Instruction Reaction result mc OW Designation of pushbuttons buttons or indications Cross reference Important note Non compliance can result in malfunction or interference Information Supplementary note Slop 2 Safety instructions These instructions are part of the device They contain information and illustrations about the correct handling of the device and must be read before installation or use Observe the operating instructions Non observance of the instructions operation which is not in accordance with use as prescribed below wrong installation or incorrect handling can affect the safety of operators and machinery The installation and connection must comply with the applicable national and inter national standards Responsibility lies with the person installing the unit Only the signals indicated in the technical data or on the device label may be sup pli
3. di stance L depending on the applications please see the following table Types O2D220 O2D227 normal lens Operating distance L mm 10 20 1000 2000 0 0 320x240 640x480 Resolution mm 01 02 03 04 os 20 40 Types O2D222 O2D229 wide angle lens Operating distance L mm 1000 2000 5 1820x945 03 04 os 09 17 40 80 1000 Field of view size WxH mm 15x11 20x15 40x30 80x60 200x150 400x300 Resolution mm 008 012 02b 052 125 252 11 2 Factory settings Device settings 22 Object recognition sensor O2D22x Application settings Switching output function ready for trigger Ready Switching output function all models detected Device connection8 boo Illumination Trigger mode 23 Object recognition sensor O2D22x 12 Process data protocol The process interface ensures communication between the process PC e g PLC and the device A command from the process PC can for example activate trigger pulses select applications or provide application results 12 1 Configuring the process interface When the Ethernet interface is used two protocols are available TCP IP and EtherNet IP The protocol is selected and configured in the PC operating program For more detailed information about the configuration of the process interface we refer you to the programming manual of the sensor data sheet search O2D
4. gt The sensor is locked Unlock the sensor gt Keep Mode Enter and Set pressed simultaneously for 10 s gt Display shows Lok1 changes to Lock after 10 s gt Press Set gt Display changes to uLok gt Confirm with Mode Enter The sensor is unlocked display changes to run 8 4 1 Reset device to factory settings gt Activate the parameter rES gt Press SET 5s 8 5 Parameter setting via PC operating program The PC operating program is described in a separate document Programming manual E2D200 Data sheet search Additional data 20 Object recognition sensor O2D22x 9 Operation 9 1 Evaluation mode normal operating mode After power on the device is in the evaluation mode If an active application is saved on the device it carries out its monitoring function and generates output si gnals according to the set parameters The display indicates the current evaluation result the yellow LEDs signal the switching status of the outputs or inputs 10 Scale drawing 1 Operating and display elements 2 Focal setter 3 Middle of the optical axis 21 Object recognition sensor O2D22x 11 Technical data 11 1 Operating distance L When selecting the operating distance it has to be taken into account that contour detection becomes less reliable with decreasing size of the objects The objects to be detected should cover at least 596 of the field of view For the operating
5. lt ip gt IP address of the device lt subnet gt subnet mask of the device lt gateway gt gateway address of the device lt MAC gt MAC address of the device lt DHCP gt 0 if DHCP is disabled 1 if DHCP is enabled lt t gt tabulator character lt port gt XML RPC port number Note none 12 19 Request the last bad image from the device ii TE e Currently no application active e No evaluation carried out or no error occurred e Sensor is working Note length character string with exactly 9 digits interpreted as decimal number it indicates the length of the following image data in bytes Image data format according to setting in the operating program 31 Object recognition sensor O2D22x 12 20 Result message The evaluation result can be provided in ASCII or binary format The output format is set via the PC operating program ASCI format In the ASCII mode the evaluation result is transmitted in the following format start result sc match sc instances sc model info sc image info gt lt stop gt Total result either PASS or FAIL string match Overall match quality in the format digit digit digit digit for example 089 5 for 89 5 match The overall match quality corresponds to the object with the worst match instances Character string with 3 digits decimal number for the number of objects found instances model info gt Optional
6. 220 Operating instructions 12 2 Communication basics 12 2 1 Abbreviations and terms Marking of a placeholder e g code is a placeholder for code i Optional argument possible but not required 12 2 2 Commands for the device e 8 bit ASCII characters are allowed e All commands to the device are terminated with an LF character The device ignores all received CR characters e Acommand to the unit has to be transmitted within 5 s Otherwise the unit will cancel command recognition 12 2 3 Replies from the device e All replies by the device are terminated with an CR and an LF character e Asareply to a valid command the device provides the character string CR LF ASCII 42 dec 13 dec 10 dec e Asareply to an invalid command the device provides the character string CR LF ASCII 63 dec 13 dec 10 dec e lf the device is busy it provides the character string CRLF ASCII 33 dec 13 dec 10 dec as a reply 24 Object recognition sensor O2D22x 12 3 Protocol versions The device supports 4 different protocol versions with different message format Version Format V1 contents CR LF ticket contents CR LF lt ticket gt lt length gt CR LF ticket contents CR LF V4 length CR LF lt contents gt CR LF The replies by the device are preceded by length information however not the commands to the device contents is the command to the device or the reply by the device e
7. O2lxxx Object recognition sensor O2D22x Shaft straight 14 mm length 130 mm M12 E20939 Shaft angled 14 mm length 200 mm M12 E20941 You can find more information about the available accessories at Data sheet search e g O2D220 Accessories or directly Data sheet search e g E2D110 5 2 Mounting dimensions The device is mounted using the mounting accessories or 2 M4 screws and nuts Hole dimensions Chapter 10 Scale drawing 5 3 Installation location gt Mount the sensor in front of or above the area to be monitored The detectable field of view size depends on the operating distance Chapter 11 Technical Data gt Back light or scattered light situations and continuously changing light condi tions are to be avoided gt Do not position room lights directly facing the camera lens gt Position the optional external illumination e g O2D909 opposite the camera lens gt To avoid adverse effects on the image detection avoid installation in heavily polluting areas of the machine gt The connected cables must be provided with a strain relief Object recognition sensor O2D22x 6 Electrical connection NOTE The unit must be connected by a qualified electrician Disconnect power before connecting the unit 6 1 Wiring Process interface 1 M12 plug A coded 8 poles view on the unit U Trigger input OV Switching output trigger output Switching outp
8. al evaluation times are between 50 and 800 ms ry The pulse length ts can be set between 100 ms and 2000 ms via the PC user program For more detailed information about the configuration of the switching outputs we refer you to the programming manual of the sensor Data sheet search O2D220 Operating instructions 11 Object recognition sensor O2D22x 6 5 2 Static selection of the application Up to 32 different inspection tasks can be stored in the sensor With the corre sponding unit configuration the first four applications can be selected via the two switching inputs mus wei ART Lou quee o0 0 a a o1 090 8 j Example Selection application 1 application 2 application 3 1 Switching input 1 0 5 1 0 Switching input 2 0 gt 0 1 READY output A trigger enabled 4 Trigger input B trigger disabled ID number of the active application 12 Object recognition sensor O2D22x For the selection of the applications the monitoring time tg and the trigger disable time te have to be taken into consideration Monitoring time ta After a change in edges the external selection of the application does not start before the state of both switching inputs remains stable for 20 ms Trigger disable time tp The trigger input is disabled during the selection of the application The disable time depends on e the number of applications on the sensor e the number of models in the appl
9. aluation The format detected does not match that of the currently activated application Edit the running application to check which is the required image format SENSOR CONFIG SWITCHING ACTIVE 1603 It is not possible to upload an application to the sensor if the external selection of the application is activated Use the PC Software to deactivate the external selection of the application SENSOR TRIGGER NOT AVAILABLE 1604 The user sends a trigger via TCP IP EtherNet IP to the device Due to an inter nal fault the sensor cannot process the trigger This error code shows a sensor failure Normally the sensor tries to remedy the failure itself If this error occurs again reboot the sensor When the trigger is reduced this fault may be prevented Object recognition sensor O2D22x 13 Maintenance repair and disposal gt Keep the lens window free from soiling Soiling may considerably affect the reading result gt To clean the lens window do not use any detergents or solvents which might damage the front glass gt Do not open the housing as the device does not contain any components which can be repaired by the user The device must only be repaired by the manufac turer gt Dispose of the device in accordance with the national environmental regulati ry ons 14 Approvals standards The CE Declaration of Conformity is available at Data sheet search e g O2D220 Approvals 15 Note on the softwa
10. d 1172012 706225 00 ifm electronic Operating instructions Object recognition sensor efeckor2so O2D22x Object recognition sensor O2D22x Contents 1 Preliminary MOP strand hake paces ee TUR IE I Bie deo ao Cr E Rs 4 151 Symbols WISE os va ote u kA EI JR Cousens Goch es AREIS E 4 2 Safety instructions us doen ako a edades dator ace o x ROO scade en QU eee 4 3 Items supplied s oap dies ad ERROR 8 ac ap eee ee o dh Ge dei om did Ta a dod 4 3 1 Accessories i daakcoradox 9d vide ceed LES 9c qr co de d RC M rad 4 4 Functions and Ieatlur amp 5 2 4uesa xe I aeaaaee XR Y RERO Red XX d 4 SNC e eae E E E E E rep 5 3 1 Mo nting ac esSsSOry s prenesene un d dC node 8 dene RE a a ee 4 5 5 2 Mounting dimensions sa s uos aei hcc aet orent x dio de d e e do 6 95 3 Installation IOCSTIOEI s syeu CCo Etpa a ded d e e ic e ui eco de o Od 6 D Electrical COFIBCHOLDL uidet Ma ah ae ana dim rir oto arce E ed ee dnte a OG Sun pa T BT WINO 4553056 e arene eee er E E ee ura E O d d T Ba VVN eeaeee a Gee Sa a E da e dea Se OR eee 8 6 3 External NUMINGUOMs 6 00600 ca a didt cedo Lanne err C 8 6 4 External trigger SOURCES s sre deeb hte tv eae XR DP ER Re a nad 9 6 5 Timing diagramS rac aora ae ne 308 19 3 38e tee eee ee n 10 6 5 1 Inputs DIM DUEB se oue hearer aren ee SOR eee Ede 10 6 5 2 Static selection of the application llli 12 6 5 3 Pulse controlled selection of the application 0 13 7 Operat
11. detailed information only if object detail output has been enabled in the operating program Format model index sc x sc y sc rot sc match quality Two digit model number x Character string with 4 digits decimal number for X position of the object in pixels zero point left Character string with 4 digits decimal number for Y position of the object in pixels zero point top Character string with six characters for the orientation of the object e g 179 0 or 001 3 match quality Match quality in the format lt digit gt lt digit gt lt digit gt lt digit gt for example 089 5 for an 89 5 match lt image info gt Optional image information only if image output in the operating program has been enabled Format lt format gt lt sc gt lt length gt lt sc gt lt image data gt lt format gt RAW or BMP according to the setting of the image format in the operating program lt length gt 9 digit decimal number for the quantity of image data in bytes Image data in the given format 32 Object recognition sensor O2D22x Binary format In the binary mode the evaluation result is transmitted in the following format start byte gt lt switching outputs match instances model info gt Start byte 0x00 1 byte switching outputs Status of the switching outputs SA after the evaluation binary value 2 bytes unsigned short Format Byt
12. e n OxXX bit 7 0 bit 6 0 bit5 2 0 bit 4 SA1 bit 3 SA2 bit 2 SA3 bit 1 SA4 bit 0 SA5 byte n 1 0x00 lt match gt Overall match quality in percent x 10 binary value 2 bytes unsigned short The overall match quality corresponds to the object with the worst match lt instances gt Total number of the objects found binary value 2 bytes unsigned short lt model info gt Detailed information about the object found Format lt modell_index gt lt x gt lt y gt lt rot gt lt match_quality gt lt model_index gt Model number binary value 2 bytes unsigned short X position of the object in pixels zero point left binary value 2 bytes unsigned short Y position of the object in pixels Zero point top binary value 2 bytes unsigned short lt rot gt Orientation of the object in degrees x 10 binary value 2 bytes signed short two s complement lt match_quality gt Match quality in percent x 10 binary value 2 bytes unsigned short a All binary information is to be interpreted as integer numbers in little endian format 33 Object recognition sensor O2D22x Example binary output e Number of models 2 e Number of objects searched for per model 2 e Object detail output active yes e Number of objects found per model 2 Output length 27 bytes Output 0x00 0x02 0x00 OxEO 0x03 0x02 0x00 0x01 0x00 OxF4 0x00 0x38 0x01 0x17 0x00 OxEO 0x03 0x01 0
13. ed to the connections or wires 3 Items supplied 1 Object recognition sensor O2D22x 1 Operating instructions Object recognition sensor O2D22x Ident no 706225 The device is supplied without installation connection accessories and software 3 1 Accessories Data sheet search e g O2D220 Accessories 4 Functions and features The sensor uses incident light or backlight to detect the contours of an object and compares them with the contours of one or several models in a reference image Depending on the degree of conformity the output can indicate if a model was found or which one was found 4 Object recognition sensor O2D22x 5 Installation 5 1 Mounting accessory The device is compatible with the mounting accessories of ifm s photoelectric sen sors for the O2lxxx multicode reader O2Mxxx EthernetCamera series etc Example mounting with clamp and bracket gt Use the mounting accessory E2D101 Focal setter Mounting accessory Object to be recognised Field of view size W X H Operating distance L WE m De D Su Depending on the intended location and type of mounting the following mounting accessories are available Mounting set for shaft 12 mm E2D110 clamp and bracket for types O2Dxxx O2Mxxx O2lxxx Shaft straight 12 mm length 130 mm M10 E20938 Shaft angled 12 mm length 200 mm M10 E20940 Mounting set for shaft 14 mm E2D112 clamp and bracket for types O2Dxxx O2Mxxx
14. ed when the sensor does not work in the DHCP mode The subnet mask must match the IP address It is input in the same way as the IP address Set gateway address Here the gateway address used by the sensor is set This setting is used when the sensor does not work in the DHCP mode It is input in the same way as the IP address Set the Ethernet process interface Here the Ethernet process interface and the version of the process data protocol are se lected Select the Ethernet process interface Here you choose between the two settings TCP IP TCP and EtherNet IP EIP Select the process data protocol version Here you choose between the four possible versions of the process data protocol v1 v2 v3 v4 Chapter 12 3 Protocol versions Access extended functions Here the extended functions of the sensor are accessed Rotate switch off display Here you set whether a text is displayed normally d or rotated by 180 rd You also set whether the display is to be switched off oFF in the evaluation mode Reset sensor Lu ane x Firmware version e a tum os cn ute toate imine ese 18 Object recognition sensor O2D22x 8 3 1 Parameter structure 19 Object recognition sensor O2D22x 8 4 Lock unlock sensor Lock sensor gt Keep Mode Enter and Set pressed simultaneously for 10 s gt Display changes to uLok gt Press Set gt Display changes to Lock gt Confirm with Mode Enter
15. ength of the following image data in bytes Image data format according to setting in the operating program The image must be available with a resolution of 640x480 With the Raw image format each pixel is coded with an 8 bit value the bmp must be available in 8 bit format 27 Object recognition sensor O2D22x 12 10 Transmit the application data set to the device u length group number application data set Invalid length The device is in teach mode or in administrative mode application data set is no valid application The group application number is invalid Selection of the application via digital switching inputs is activated Note length character string with exactly 9 digits interpreted as decimal number it indicates the length of the following image data in bytes file length 3 for group and number group digit for the application group always 0 for O2D22X lt number gt two digit character string to be interpreted as decimal number for the application number 12 11 Request the assignment of the application data from the device Reply number blank group number blank group Normal case number blank group number No application active on the device Note number character string with 3 digits for the number of applications on the device as decimal number group digit for the application group always 0 for O2D22X number two d
16. f the evaluation results parameters parameter values war nings and error messages Programming button Set Setting of the parameter values scrolling by holding pressed incremental by pressing briefly Programming button Selection of the parameters and acknowledgement of the parameter Mode Enter values 7 1 LED display e LED green Power ready for operation display lights ready for operation flashes 20 Hz device fault flashes 2 Hz no application on the device e LED green Eth Ethernet connection status lights connection available flashes data traffic e LED green Con connection status to operating program lights connection available e LED yellow 1 switching status indication Off switching input 1 switching output 1 not switched on switching input 1 switching output 1 switched flashes 20 Hz short circuit switching output 1 e LED yellow 2 switching status indication 14 Object recognition sensor O2D22x Off switching input 2 switching output 2 not switched on switching input 2 switching output 2 switched flashes 20 Hz short circuit switching output 2 e LED yellow 3 switching status indication Off switching output 3 not switched on switching output 3 switched flashes 20 Hz short circuit switching output 3 e LED yellow 4 switching status indication Off switching output 4 not switched on switching output 4 switched f
17. g evalu ation results ticket is a character string of 4 digits 0 9 to be interpreted as decimal number If a message with a specific ticket is sent to the device its reply will contain the same ticket Ticket 0000 is reserved for messa ges sent by the device independently length is a character string beginning with the letter L followed by 9 digits to be interpreted as decimal number This figure indicates the length of the following data ticket contents CR LF in bytes Factory setting and reset condition are V2 12 4 Command types There are two different types of command to the device actions and queries Ac tions have the device do something e g take an image and evaluate it Requests are used to retrieve information from the device The replies by the device are either status information reply messages or results Results are transmitted by the device without a request being sent to the device before The device transmits status information and reply messages as direct reply to action commands or request commands 25 Object recognition sensor O2D22x 12 5 Release trigger Se Reply os was released the device captures the image and evaluates a a e Currently no application active e The device is busy with evaluation e The device is in an invalid state e g administer applications e Currently set trigger mode not possible via TCP IP EtherNet IP e Too high a trigger rate Result output
18. ication to be activated ry 6 5 3 Pulse controlled selection of the application As an alternative to the static selection the selection of the application can also be pulse controlled Gate signal switching input 1 0 1 0 ts signal active Pulse signal switching input 2 or trigger input 0 5 pulses 0 READY output While there is an active signal on switching input 1 gate signal the sensor counts incoming pulses and activates the respective application Number of pulses ID number of the application Either the 2nd switching input or the trigger input of the sensor can be used as pulse input For more detailed information about the configuration of the selection of the appli cation we refer you to the programming manual of the sensor Data sheet search O2D220 Operating instructions Object recognition sensor O2D22x 7 Operating and display elements a Too ooo I Active LED 1 3 x LED green Power ready for operation display Eth Ethernet connection status Con connection status to the operating program software Indication of the switching status lights when the corresponding input or output is switched 4 x LED yellow LED 1 status indication switching output 1 switching input 1 LED 2 status indication switching output 2 switching input 2 LED 3 status indication switching output 3 LED 4 status indication switching output 4 E 4 digit alphanumeric display Indication o
19. igit character string to be interpreted as decimal number for the application number At first the number of the active configuration is output lt blank gt individual blank 28 Object recognition sensor O2D22x 12 12 Request the statistics from the device Reply lt total gt lt blank gt lt good gt lt blank gt lt bad gt No application active on the device Note lt total gt total number of evaluations lt good gt number of good evaluations lt bad gt number of bad evaluations lt blank gt individual blank lt total gt lt good gt and lt bad gt are always character strings with 10 digits to be interpreted as decimal number 12 13 Request the error code from the device Type Request lt code gt is the error code character string with 4 digits to be interpreted as decimal number Chapter Error codes 12 21 12 14 Request the last image from the device Type Request Reply lt length gt lt image data gt Normal case e Currently no application active e No evaluation carried out e Sensor is working Note length character string with exactly 9 digits interpreted as decimal number it indicates the length of the following image data in bytes Image data format according to setting in the operating program 29 Object recognition sensor O2D22x 12 15 Request the last result from the device Reply Message in result format Normal case Chapter result message 12 20
20. ing and display elements 0 000 ee eens 14 FA UM WED CISA ig sats aa A a DET 14 Pee Bplay ooo ee he Reh ee a eet Renee 15 7 2 1 Operating indicators sx sad eam ER OO ERR RERO RH Ae 15 7 2 2 Connection via the operating program 00 cece eee ee 16 7 2 3 Error messages 22 tain hes Wee ina ae a acd dies hon bw a Sa 16 fio PUSMDUNONS s 3 3 2 42 2 919 cen E408 3102 1 278 3 doe d 8E EO EP coda ks 16 EcOU 17 8 1 Parameter setting on the unit 0 0 0 0 cc ee ee ees 17 8 2 Verify and set the IP address on the unit 005 Tf 8 3 Adjustable Dare ielefs xu a booed te ede odds Pech iR RT ps 18 8 3 1 Parameter structure usurae i eee 0 x nh doen ao ge wae d 19 8 4 Lock unlock Sensor ues od ueram RERERRIZERCPPIGOUET S S Rea 20 8 4 1 Reset device to factory settings 00 cece eee 20 8 5 Parameter setting via PC operating program n asasan aane 20 SANG rop sc cereri bh cae cree eh heen hea oe tes Go bb blo eae 21 9 1 Evaluation mode normal operating mode 000005 21 10 Scale Craw ING bcacioder tens eo me eee de tne oe Ue ae aes 21 11 Technical LA so du ad uie dec ence t e PA edd cca a de aC Reit oed De Deor i RC Rot ae A 22 11 1 Operating distance L uos ucc naaa anaana 22 11 2 Factory settings en o d ac EE ci aana 22 Object recognition sensor O2D22x 12 Process data protoc
21. lashes 20 Hz short circuit switching output 4 7 2 Display 7 2 1 Operating indicators vNNN Version number of the IO controller software 1st indication after power on e g v041 Init Device initialisation after power on 2nd indication after power on nnnn Firmware version e g 1031 3rd indication after power on rEdY Device ready for trigger 4th indication after power on if one configuration is active with external triggering Device waiting for triggering Application successful number of the application Device waiting for connection no application active factory setting LOAd Loading an application donE Loading of application completed uLoc Keys unlocked Parameter values can be displayed and changed Locking the pushbuttons Pushbuttons locked FWUP Firmware update running 15 Object recognition sensor O2D22x 7 2 2 Connection via the operating program Display Description Connection with the operating program Parm Parameter setting via operating program SerP Connection with the operating program service report mode 7 2 3 Error messages sc 7 3 Pushbuttons MODE ENTER Change into the parameter setting mode Selection of the parameters Acknowledgement of the parameter values Selecting the subparameters Setting changing selecting the parameter values incremental by pressing briefly hold down to scroll 16 Object recognition sensor O2D22x 8 Set up Set up is car
22. nal illumination it must be controlled via the trigger output of the sensor Depending on the device setting one of four configuration files saved in the sensor can be selected via two switching inputs Information about the test result is provided via switching outputs uK Object recognition sensor O2D22x 6 5 Timing diagrams 6 5 1 Inputs outputs Example Triggering positive edge Trigger input READY output 3 OUT output static 10 OUT output pulsed Trigger signal 0 no action 1 triggering on positive edge Ready signal 0 unit busy OUT output not valid 1 unit ready for trigger signal OUT output valid Object evaluation 0 object evaluation not successful 1 object evaluation successful Example 1 dashed line Example 2 solid line last object faulty last object OK OUT 1 OUT 0 next object faulty OUT 1 0 next object OK OUT 0 1 next object OK OUT 0 1 next object OK OUT 1 Object evaluation 0 object evaluation not successful or timeout of pulse length 1 object evaluation successful Example 4 1 Example 4 2 both objects OK OUT 1 first object OK OUT 1 after expiration of t OUT 0 after expiration of ts OUT 0 second object faulty OUT 0 Object recognition sensor O2D22x The evaluation time t depends on e the size of the field of view selected e the model size e the smoothing degree e the sensitivity e the orientation e the number of models Typic
23. ol 5 ua Eccc RR le Sra tcd ad ac a 24 12 1 Configuring the process interface 0c cee ees 24 12 2 Communication basics ua Soa e ER tr boc des sade ae elo 24 12 2 1 Abbreviations and feriis i a csse pare bo eeeaa Ex EA ens 24 12 2 2 Commands Tor the device ise Rhe Rr EE XS 24 122 3 Replies from the device s zecoria c kem eR RR ERES 24 12 3 Protocol versions 24 ack dci drca a neh ices ac aca dei aka ate Soros a ed dons 25 12 4 C mmand IPCs x 3 pex iced O0 9 ES 24 Eae d uS Sad adn A a 25 12 5 Release MOD BI d a coa ES OY qe qa clon catene deed X e dV 26 12 6 Select protocol VBISIBIE ud x Ra ERE RU EPSESREFEEI ARRA E SA 26 12 7 Select the applicati n 2 23 deo cee oce RE RCRCOR eke eames ox 26 12 8 Activate deactivate result output 0 0 0 0c cee ees 21 12 9 Transmit the image to the device for evaluation 27 12 10 Transmit the application data set to the device 28 12 11 Request the assignment of the application data from the device 28 12 12 Request the statistics from the device 0 cee eens 29 12 13 Request the error code from the device 000 cece 29 12 14 Request the last image from the device 000 eee 29 12 15 Request the last result from the device 000 cca 30 12 16 Release trigger evaluate captured image and result output via process II MEE TEE T E ETT TO POTIORES 30 12 17 Request the protocol version
24. re This unit contains maybe modified Open Source software which is subject to special licensing terms For copyright information and licensing terms please refer to www ifm com int GNU For software subject to the GNU General Public License or the GNU Lesser General Public License the source code can be requested against payment of the copying and shipping costs The software E2D200 version 3 0 is required as of firmware version 1030 The software is available at Data sheet search e g O2D220 Download Software 37
25. ried out via a menu guided PC operating program The device stores up to 32 applications 8 1 Parameter setting on the unit Set the parameter values via pushbuttons and display on the device The sensor is programmed using the two buttons Mode Enter and Set First activate a parameter with the Mode Enter button select the required value with the Set button and confirm it pressing again the Mode Enter button Uy The unit changes to the parameter setting mode when you gt press MODE ENTER for more than 1 s gt The first menu item is displayed gt Press MODE ENTER several times until the required para meter is displayed Press SET The menu item is activated and the current setting is displa yed Keep SET pressed The display flashes after 5 s with pressed SET button the display stops flashing gt Press SET and change setting gt Press Mode Enter gt The change is acknowledged and the previous menu item is shown again If no button is pressed for longer than 15 s you will get to the next higher menu item or the evaluation mode The device does not operate during use of the pushbuttons 8 2 Verify and set the IP address on the unit gt Select the parameter IP IP address with MODE ENTER and SET gt The IP address is processed automatically and shown in 4 groups A B C D gt Verify the IP address and set with SET if necessa
26. ry Changes only become effective after a restart of the unit power off power on Object recognition sensor O2D22x 8 3 Adjustable parameters Memory location Select an application The device can save up to 32 applications By pressing the SET button the memory location number is incremented in the display The current state of the memory location is visualised in the first digit of the display F memory location available memory location used by an inactive application A memory location used by an active application E memory location selected by external selection of the application Network operation Here you set the parameters for network operation Network settings via DHCP If the sensor is to get its network settings via DHCP select the setting on in this menu item With the setting off the fixed network settings see next menu items are used In the DHCP mode the sensor must be operated in a network with DHCP server Otherwise it is not acces sible via the operating program E2D200 Set IP address Here the IP address of the sensor is set This setting is used when the sensor does not work in the DHCP mode The input is made in the dotted decimal notation e g 192 168 0 3 Using the SET button you can select the four groups of the address The respective group is visualised by a letter in the first digit of the display Set subnet mask Here the subnet mask of the sensor is set This setting is us
27. ther the application number is correct Check also if the application can be edited using the PC Software SENSOR INVALID TRIGGER MODE Description It is not possible to trigger the sensor because the trigger function via TCP IP EtherNet IP is not activated Solution Workaround Review the sensor configuration to change the sensor trigger mode 35 Object recognition sensor O2D22x Definition Numeric value Description Solution Workaround Definition Numeric value Description Solution Workaround Definition Numeric value SENSOR OBJECT IMAGE INVALID 1300 Internal fault during the image transmission from to the sensor Check which is the required image format and if all parameters for the results via TCP IP are correct In case of a problem during the transmission of information check whether the information to be sent is correct SENSOR RESULT ID NOT AVAILABLE 1600 The user tries to obtain a result although no results are available in the sensor SENSOR CURRENTLY DECODING Description Solution Workaround Definition Numeric value Description Solution Workaround Definition Numeric value Description Solution Workaround Definition Numeric value Description Solution Workaround 36 Try to execute the command again 1601 The command cannot be executed because the sensor is currently decoding SENSOR IMAGE FORMAT MISSMATCH 1602 An image is uploaded to the sensor for ev
28. ut ready Switching output OUT Switching output input 1 Switching output input 2 Ethernet TD Ethernet RD Ethernet TD Ethernet RD Shield Object recognition sensor O2D22x 6 2 Wiring A Process interface B Controller e g PLC C External trigger D External illumination optional 1 after the evaluation has been carried out 0 as long as the evaluation is being carried out a different application is being selected or in case of an internal error trigger signals are ignored Output signal OUT provides the result of the evaluation 0 no matching model 1 matching model gt For PNP units e g O2D220 use trigger sensors illumination units and control lers with PNP inputs and outputs gt For NPN units e g O2D227 use trigger sensors illumination units and con trollers with NPN inputs and outputs 6 3 External illumination gt Connect external illumination to the trigger output of the device Art no Illumination unit transmitter red light 630 nm O2D909 For information about the a m example see Data sheet search O2D909 Object recognition sensor O2D22x 6 4 External trigger source gt Connect an external trigger source e g a diffuse reflection sensor to the trig ger input of the device E If you use an external trigger source e g a diffuse reflection sensor connect the trigger signal to the trigger input of the sensor If you use ex ter
29. via the process interface if the output is activated of the output 12 8 Activate deactivate result output 12 6 Select protocol version Reply Normal case CERNI The device does not support the protocol version indicated Note digit digit to be interpreted as two digit decimal number for the protocol version The protocol version is not changed before the reply by the device 12 7 Select the application Reply Successful change e The device is in an invalid state e g administering applications e Invalid or not existing group or application number Note group digit for the application group always 0 for O2D22X number two digit character string to be interpreted as decimal number for the application number 26 Object recognition sensor O2D22x 12 8 Activate deactivate result output Reply Successful execution e No active application e digit contains incorrect value e The device is in an invalid state Note digit is either O or 1 1 enables the result output 0 disables the result output 12 9 Transmit the image to the device for evaluation Invalid length e No application at present e Application is being edited e The image format BMP RAW etc does not meet the specifi cations e Invalid image contents image size internal image head data Note length character string with exactly 9 digits interpreted as decimal number it indicates the l
30. x00 OxF4 0x00 0x10 0x00 0x00 0x00 OxE7 0x03 0x00 Start byte 0x02 0x00 Switching outputs SA In this example the default assignment of the switching outputs is used bit 7 0 bit 6 0 bit 5 0 SA1 0 not used SA2 0 not used SA3 0 READY signal during evaluation always 0 SA4 1 all models found 1 not all models found 0 SA5 0 not used 00000010 0x02 OxEO 0x03 Overall Match Quality 99 2 x 10 992 x03E0 as OxF4 0x00 X position of the object 244 x00F4 0x10 0x00 Y position of the object 16 x0010 0x00 0x00 Orientation of the object 0 x 10 0 x0000 OxE7 0x03 Match Quality 99 9 x 10 999 x03E7 34 Object recognition sensor O2D22x 12 21 Error codes from the device Dweswe fo sumam SENSOR NO ACTIVE CONFIG No application is currently loaded in the sensor Solution Workaround Some commands need a current application If this is not the case an error occurs SENSOR INVALID PARM Invalid input parameter Solution Workaround Read the command documentation to send the required information to the sensor proce A INVALID STATE Numeric value value 0408 0 0 Description The sensor is in an operation mode which does not permit the execution of commands Solution Workaround Check the command documentation to see when the command can be execut ed SENSOR CONFIG NOT FOUND Description Application to be activated not found Solution Workaround Check whe

Download Pdf Manuals

image

Related Search

Related Contents

  620 Product Manua  Kurth Electronic KE7010 Kit  Havahart DF32CP-4 Instructions / Assembly  形 SCON-CA  Bosch Appliances 4100  Manual_DOS v6.0.7  WISEWOMAN Program Clinical Procedures    Scarica l`allegato  

Copyright © All rights reserved.
Failed to retrieve file