Object recognition sensor O2D22x 1 Preliminary note 1.1 Symbols used ► Instruction > Reaction, result […] Designation of pushbuttons, buttons or indications Reference to the kind and source of a hazard Instruction to avoid a hazard → Target, reference 2 Safety instructions These instructions are part of the device .
Object recognition sensor O2D22x 5 Installation 5.1 Mounting accessories The device is compatible with the mounting accessories of ifm's photoelectric sensors for the O2Ixxx (multicode reader), O2Mxxx (EthernetCamera) series etc . Example mounting with clamp and bracket ► Use the mounting accessory E2D101 . �...
Object recognition sensor O2D22x Description Art. no. 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 direct → e.g. O2D220 → Accessories www .ifm .com or directly → Data sheet direct → z.B. E2D110 www .ifm .com...
Object recognition sensor O2D22x Use (factory setting) 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 case of an internal error (trigger signals are ignored) .
Page 9
Object recognition sensor O2D22x The evaluation time t depends on ● the size of the field of view selected ● the model size ● the smoothing degree ● the sensitivity ● the orientation ● the number of models Typical evaluation times are between 50 and 800 ms . With the corresponding unit configuration the first four applications can be selected via the switching inputs .
Page 10
Object recognition sensor O2D22x Input Application no. �� � � � � � � � � 1: selection of the application 2: switching input 1 ���������������������������� 3: switching input 2 4: output READY 5: trigger input A trigger enabled B trigger disabled Depending on the application the trigger disable time t is 3 .
Object recognition sensor O2D22x 7 Operating and display elements � � � � � ���� ��� ����� Lighting LED 3 x LED green Power (readiness for operation) Eth (Ethernet connection status) Con (status of the connection to the operating program (software)) Indication of the switching status;...
Object recognition sensor O2D22x 7.2.2 Connection via operating program Display Description OnLI Connection with the operating program Parm Parameter setting via operating program Moni Monitor mode SerP Connection with the operating program, service report mode 7.2.3 Error messages Display Description FAIL Application not successful ErrD...
Object recognition sensor O2D22x 8.1 Parameter setting on the device 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 requested value with the [Set] button and confirm it pressing again the [Mode/Enter] button .
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 .
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 5% of the field of view . For the operating distance L depending on the applications please see the following table .
Object recognition sensor O2D22x 12.3 Protocol version The device supports 3 different protocol versions with different message format . Version Format <contents>CR LF <ticket><contents>CR LF <ticket><length>CR LF <ticket><contents>CR LF <contents> is the command to the device or the reply by the device (e .g . evaluation results) .
Object recognition sensor O2D22x 12.6 Select the 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>...
Object recognition sensor O2D22x 12.9 Transmit the image to the device for evaluation Command i <length><image data> Type Action Reply Normal case Invalid length ● No application at present . ● Application is being edited . ● The image format (BMP, RAW, etc .) does not meet the specifications .
Object recognition sensor O2D22x 12.12 Request the statistics from the device Command Type Request Reply <total><blank><good><blank><bad> Normal case No application active on the device . Note <total>: total number of evaluations . <good>: number of "good" evaluations . <bad>: number of "bad" evaluations . <blank>: individual blank .
Object recognition sensor O2D22x 12.15 Request the last result from the device Command Type Request Reply Message in result format Normal case → chapter Result message 12.20 ● No application at present . ● Application is being edited . ● No results availabe yet . Note none 12.16 Release trigger, evaluate the image and result output via process...
Object recognition sensor O2D22x 12.18 Request the device information Command Type Request Reply <vendor><t><article><t><name><t><location><t><ip><subnet><t><gateway><t ><MAC><t><DHCP><t><port> <vendor> <article> Article designation and status, e .g . O2D220AC <name> Enter the sensor name as in the operating programn <location> Enter the sensor location as in the operating program <ip>...
Object recognition sensor O2D22x 12.20 Result message An evaluation result is transmitted in the following format: <start><result><sc><match><sc><instances><sc>[<model info>] [<sc><image info>]<stop> <start> start string according to setting in the operating program . <sc> separator according to setting in the operating program . <stop>...
Object recognition sensor O2D22x 12.21 Error codes from the device Definition SENSOR_NO_ERRORS Numeric value Description No errors Solution / Workaround – Definition SENSOR_NO_ACTIVE_CONFIG Numeric value 0100 Description No application is currently loaded in the sensor . Solution / Workaround Some commands require a running application to be loaded . If this is not the case, an error occurs .
Page 29
Object recognition sensor O2D22x Definition SENSOR_INVALID_TRIGGER_MODE Numeric value 1000 Description It is not possible to trigger the sensor because trigger function via TCP/IP is not active . Solution / Workaround Review the sensor configuration to change the sensor trigger mode . Definition SENSOR_OBJECT_IMAGE_INVALID Numeric value...
Object recognition sensor O2D22x Definition SENSOR_TRIGGER_NOT_AVAILABLE Numeric value 1604 Description The user sends a trigger to the device via TCP/IP . Due to an internal fault the sensor cannot process the trigger . Solution / Workaround This error code shows a sensor failure . Normally the sensor tries to remedy the failure itself .