background image

Operating instructions 

Object recognition sensor

O2D22x

80232357 / 00

 

 

10 / 2015

UK

Summary of Contents for efector 250 O2D22x

Page 1: ...Operating instructions Object recognition sensor O2D22x 80232357 00 10 2015 UK ...

Page 2: ... 12 6 5 3 Pulse controlled selection of the application 13 7 Operating and display elements 14 7 1 LED display 14 7 2 Display 15 7 2 1 Operating indicators 15 7 2 2 Connection via the operating program 16 7 2 3 Error messages 16 7 3 Pushbuttons 16 8 Set up 17 8 1 Parameter setting on the unit 17 8 2 Verify and set the IP address on the unit 17 8 3 Adjustable parameters 18 8 3 1 Parameter structure...

Page 3: ...nsmit 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 29 12 13 Request the error code from the device 29 12 14 Request the last image from the device 29 12 15 Request the last result from the device 30 12 16 Release trigger evaluate captured image and result output via process interface 3...

Page 4: ...perators 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 plied to the connections or wires 3 Items supplied 1 Object recognition sensor O2D22x 1 Operating instructions Object recognition sensor...

Page 5: ...1 Focal setter 2 Mounting accessory 3 Object to be recognised 4 Field of view size W X H 5 Operating distance L Depending on the intended location and type of mounting the following mounting accessories are available Description Art no Mounting set for shaft Ø 12 mm clamp and bracket for types O2Dxxx O2Mxxx O2Ixxx E2D110 Shaft straight Ø 12 mm length 130 mm M10 E20938 Shaft angled Ø 12 mm length 2...

Page 6: ...imensions Chapter 10 Scale drawing 5 3 Installation location 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 Back light or scattered light situations and continuously changing light condi tions are to be avoided Do not position room lights directly facing the camera lens Position the option...

Page 7: ...pins 2 4 5 6 7 and 8 must not exceed the supply voltage on pin 1 U Use the same power supply and protective equipment for the device e g O2Dxxx the signal generator at the inputs e g trigger switch plc the signal pick up at the outputs e g plc As an alternative a diode at the switching outputs can prevent feedback see fig below O O 1 unit 2 switching output 3 diode 4 plc 5 common load ...

Page 8: ...ernet TD 2 Ethernet RD 3 Ethernet TD 4 Ethernet RD S Shield 6 2 Wiring diagram C B D A A Process interface B Controller e g PLC C External trigger D External illumination optional Pin Use factory setting 5 Output signal READY provides the status of the sensor 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...

Page 9: ...information about the a m example see www ifm com Data sheet search O2D909 6 4 External trigger source Connect an external trigger source e g a diffuse reflection sensor to the trig ger input of the device 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 external illumination it must be controlled via the...

Page 10: ...ion 0 object evaluation not successful 1 object evaluation successful Example 1 dashed line last object OK OUT 1 next object faulty OUT 1 0 next object OK OUT 0 1 Example 2 solid line last object faulty OUT 0 next object OK OUT 0 1 next object OK OUT 1 4 OUT output pulsed Object evaluation 0 object evaluation not successful or timeout of pulse length 1 object evaluation successful Example 4 1 both...

Page 11: ...y the orientation the number of models Typical evaluation times are between 50 and 800 ms The pulse length tB 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 www ifm com Data sheet search O2D220 Operating instructions ...

Page 12: ...guration the first four applications can be selected via the two switching inputs Input 2 Input 1 Application no 0 0 1 0 1 2 1 0 3 1 1 4 0 1 0 1 0 1 t 1 2 3 R R Example Selection application 1 application 2 application 3 1 Switching input 1 0 1 0 2 Switching input 2 0 0 1 3 READY output 4 Trigger input A trigger enabled B trigger disabled 5 ID number of the active application ...

Page 13: ...ontrolled selection of the application As an alternative to the static selection the selection of the application can also be pulse controlled 1 2 3 4 5 1 Gate signal switching input 1 0 1 0 tG signal active 2 Pulse signal switching input 2 or trigger input 0 5 pulses 0 3 READY output While there is an active signal on switching input 1 gate signal the sensor counts incoming pulses and activates t...

Page 14: ...eter values war nings and error messages 4 Programming button Set Setting of the parameter values scrolling by holding pressed incremental by pressing briefly 5 Programming button Mode Enter Selection of the parameters and acknowledgement of the parameter values 7 1 LED display LED green Power ready for operation display lights ready for operation flashes 20 Hz device fault flashes 2 Hz no applica...

Page 15: ...play Description 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 WAIT Device is ...

Page 16: ...lication not successful ErrD Critical hardware error ErrP Selection of a non existing application via switching inputs SC Short circuit of a switching output DHCP_noIP No DHCP server found Both character strings are displayed alternately 7 3 Pushbuttons Button Function MODE ENTER Change into the parameter setting mode Selection of the parameters Acknowledgement of the parameter values SET Selectin...

Page 17: ...ral 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 Press SET and change setting Press Mode Enter 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 t...

Page 18: ...lect 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 used 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 se...

Page 19: ...UK Object recognition sensor O2D22x 19 8 3 1 Parameter structure PCIS IF PrOT TCP TCP EIP v2 v2 v3 v4 v1 ...

Page 20: ...e Enter and Set pressed simultaneously for 10 s Display shows Lok1 changes to Lock after 10 s Press Set Display changes to uLoc Confirm with Mode Enter The sensor is unlocked display changes to run 8 4 1 Reset device to factory settings Activate the parameter rES Press SET 5 s 8 5 Parameter setting via PC operating program The PC operating program is described in a separate document Programming ma...

Page 21: ...tive 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 ...

Page 22: ...2D229 wide angle lens Operating distance L mm 50 75 100 200 400 1000 2000 Field of view size WxH mm 33x24 50x36 66x47 132x94 264x189 660x472 1320x945 Resolution mm 0 3 0 4 0 5 0 9 1 7 4 0 8 0 Types O2D224 O2D225 telephoto lens Operating distance L mm 50 75 100 200 400 1000 2000 Field of view size WxH mm 15x11 20x15 40x30 80x60 200x150 400x300 Resolution mm 0 08 0 12 0 25 0 52 1 25 2 52 11 2 Factor...

Page 23: ... 4 Number of models 1 Orientation 10 10 operating program Device connection 4 Trigger output with external illumination Device connection 5 Switching output function ready for trigger Ready Device connection 6 Switching output function all models detected Device connection 7 Device connection 8 Illumination Internal Trigger mode Continuous ...

Page 24: ...reviations and terms Abbreviation Description ASCII code dec CR Carriage Return 13 LF Linefeed 10 Marking of a placeholder e g code is a placeholder for code Optional argument possible but not required 12 2 2 Commands for the device 8 bit ASCII characters are allowed All commands to the device are terminated with an LF character The device ignores all received CR characters A command to the unit h...

Page 25: ...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 ...

Page 26: ...eactivate result output 12 6 Select protocol version Command v digit digit Type Action Reply Normal case 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 Command c group number Type Action Reply Successful c...

Page 27: ...pe Action Reply Normal case Invalid length No application at present Application is being edited The image format BMP RAW etc does not meet the specifi cations Invalid image contents image size internal image head data 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 ...

Page 28: ...ile length 3 for group and number 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 12 11 Request the assignment of the application data from the device Command a Type Request Reply number blank group number blank group number blank group number Normal case No application active on the device N...

Page 29: ...ecimal number 12 13 Request the error code from the device Command E Type Request Reply code Note code 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 Command I Type Request Reply length image data Normal case Currently no application active No evaluation carried out Sensor is working Note l...

Page 30: ...0 Normal case Currently no application active 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 Co...

Page 31: ...the device subnet subnet mask of the device gateway gateway address of the device MAC MAC address of the device DHCP 0 if DHCP is disabled 1 if DHCP is enabled t tabulator character port XML RPC port number Note none 12 19 Request the last bad image from the device Command F Type Request Reply length image data Normal case Currently no application active No evaluation carried out or no error occur...

Page 32: ...decimal number for the number of objects found instances model info Optional 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 model_index Two digit model number x Character string with 4 digits decimal number for X position of the object in pixels zero point left y Character string with 4 digits decimal...

Page 33: ...overall match quality corresponds to the object with the worst match instances Total number of the objects found binary value 2 bytes unsigned short model info Detailed information about the object found Format modell_index x y rot match_quality model_index Model number binary value 2 bytes unsigned short x X position of the object in pixels zero point left binary value 2 bytes unsigned short y Y ...

Page 34: ...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 0xE0 0x03 Overall Match Quality 99 2 x 10 992 x03E0 0x02 0x00 Total number of the objects found 2 0x01 0x00 Model number 1 0xF4 0x00 X position of the object 244 x00F4 0x38 0x01 Y position of the object 312 x0138 0x17 0x00 ...

Page 35: ... 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 Definition SENSOR_ERR_NO_MEM Numeric value 0110 Description Fatal internal error Solution Workaround Reboot the sensor Definition SENSOR_CONFIG_NOT_FOUND Numeric value 0902 Description Application to be activate...

Page 36: ...on SENSOR_IMAGE_FORMAT_MISSMATCH Numeric value 1602 Description An image is uploaded to the sensor for evaluation The format detected does not match that of the currently activated application Solution Workaround Edit the running application to check which is the required image format Definition SENSOR_CONFIG_SWITCHING_ACTIVE Numeric value 1603 Description It is not possible to upload an applicati...

Page 37: ...ntal regulati ons 14 Approvals standards The CE Declaration of Conformity is available at www ifm com Data sheet search e g O2D220 Approvals 15 Note on the software 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...

Reviews: