Object inspection sensor O2V 1 Preliminary note 1.1 Symbols used ► Instruction > Reaction, result […] Designation of pushbuttons, buttons or indications → Cross-reference Important note Non-compliance can result in malfunction or interference Information Supplementary note 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 .
Object inspection sensor O2V 4 Functions and features The object inspection sensor monitors an object for completeness, shape de- viations or colour changes . The unit uses incident light or back light to detect a grey-scale pattern of the object . On the basis of the determined brightness values the sensor differentiates between the object to be monitored and the background .
Object inspection sensor O2V Depending on the intended location and type of mounting the following mounting accessories are available: Description Art. no. Mounting set for shaft Ø 12 mm E2D110 (clamp and bracket for types O2Dxxx, O2Mxxx, O2Ixxx, O2Vxxx) Shaft, straight Ø 12 mm, length 130 mm, M10 E20938 Shaft, angled Ø...
Object inspection sensor O2V 6 Electrical connection NOTE The unit must be connected by a qualified electrician . ► Disconnect power before connecting the unit . NOTE The voltage on pins 2, 4, 5, 6, 7 and 8 must not exceed the supply voltage on pin 1 (U+) .
Object inspection sensor O2V ► For PNP units (e .g . O2V100) use trigger sensors, illumination units and control- lers with PNP inputs and outputs . ► For NPN units (e .g . O2V101) use trigger sensors, illumination units and control- lers with NPN inputs and outputs .
Object inspection sensor O2V 6.5 Timing diagrams 6.5.1 Inputs/outputs Example: Triggering positive edge trigger input trigger signal 0: no action 1: triggering on positive edge output READY ready signal 0: unit busy, OUT output not valid 1: unit ready for trigger signal, OUT output valid OUT output, object evaluation 0: object evaluation not successful...
Page 11
Object inspection sensor O2V The evaluation time t depends on ● the size of the field of view selected ● the model size ● the selected inspection characteristics ● the number of models Typical evaluation times are between 100 and 500 ms . The pulse length t can be set between 100 ms and 2000 ms via the PC user program .
Object inspection sensor O2V 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 . Input 2 Input 1 Application no.
Object inspection sensor O2V For the selection of the applications the monitoring time t and the trigger disable time t have to be taken into consideration . Monitoring time t : 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 .
Object inspection sensor O2V 7 Operating and display elements MODE ENTER Active LED 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 .
Object inspection sensor O2V 7.2.2 Evaluation results Display Description NNNN ● Firmware version of the sensor (e .g . 5036) or ● Number of detected objects (e .g . 0010) or ● Number of identified objects (e .g . 0005) nrNN ID number of the running application (e .
Object inspection sensor O2V 8 Set-up Set-up is carried out via a menu-driven 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] .
Object inspection sensor O2V 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 I = memory location used by an inactive application...
Object inspection sensor O2V 8.4.4 Reset device to factory settings ► Activate the parameter "rES" . ► Press [SET] > 5 s . > Device is reset to the factory settings → Chapter 11.2. When the device is reset to the factory settings, all application settings, applications and images saved on the sensor are deleted .
Object inspection sensor O2V 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 sig- nals according to the set parameters .
Object inspection sensor O2V 11 Technical data 11.1 Operating distance L When selecting the operating distance it has to be taken into account that detec- tion becomes less reliable with decreasing relative 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 inspection sensor O2V 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 Eth- erNet/IP .
Object inspection sensor O2V 12.3 Protocol versions The device supports 4 different protocol versions with different message format . Version Format <contents>CR LF <ticket><contents>CR LF <ticket><length>CR LF <ticket><contents>CR LF <length>CR LF <contents>CR LF The replies by the device are preceded by length information; however, not the commands to the device .
Object inspection sensor O2V 12.5 Release trigger Command Type Action Reply Trigger was released, the device captures the image and evaluates it . ● Currently no application active . ● The device is busy with evaluation . ● The device is in an invalid state, e .g .
Object inspection sensor O2V 12.8 Select the application Command c <group><number> Type Action Reply Successful change ● The device is in an invalid state, e .g . administering applications . ● Invalid or not existing group or application number . Note <group>: digit for the application group (always 0 for O2V10X) .
Object inspection sensor O2V 12.11 Request the assignment of the application data from the device Command Type Request 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 .
Object inspection sensor O2V 12.14 Request the last image from the device Command Type Request Reply <length><image data> Normal case ● Currently no application active . ● No evaluation carried out . ● Sensor is working . ● EtherNet/IP defined as process interface Note <length>: character string with exactly 9 digits, interpreted as decimal number it...
Command Type Request Reply <manufacturer><t><article number><t><name><t><location><t><ip> <subnet mask><t><gateway><t><MAC><t><DHCP><t><port number> <manufacturer> IFM ELECTRONIC <article number> article designation and status, e .g . O2V100AA <name> sensor name as entered in the operating program <location> sensor location as entered in the operating program <ip>...
Object inspection sensor O2V 12.19 Request help for process interface Command Type Request Reply h? - this command list b - activate or deactivate the performance boost functionality c - select configuration p - activate result output via PCIC t - trigger device u - upload application v - set protocol version a? - request configuration...
Page 32
Object inspection sensor O2V Description of the components Component Description <start> Start string : "start“, text (length: 5 characters) <stop> Stop character string: "stop“, text (length: 4 characters) <Switching outputs> Status of the switching outputs after the evaluation . The state of each switching output is indicated as "0" (not active) or "1" (ac- tive), order: SA1 SA2 SA3 SA4 SA5 (e .g .
Page 33
Object inspection sensor O2V Component Description [<List of object details>] Detailed information about each identified object of the model . Format: Each object has the following content: "Detailed object output" <#><Model ID><Objekt ID><#><X coordinate of the center of gravity><#> <Y coordinate of the center of gravity><#><Object area> <Model ID>...
Object inspection sensor O2V 12.21 Error codes from the device Definition no error Numeric value Description No errors Solution/Workaround – Definition undef_error Numeric value 0010 Description Internal error when loading an application . Solution/Workaround Try again . Reboot the sensor if the error occurs again . Definition file_error Numeric value...
Page 35
Object inspection sensor O2V Definition config_not_found_error Numeric value 0902 Description Application to be activated not found . Solution/Workaround Check whether the application number is correct . Check also if the application can be edited using the PC Software . Definition trigger_mode_error Numeric value 1000...
Page 36
Object inspection sensor O2V Definition trigger_not_available_eror 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 .
Object inspection sensor O2V 13 Maintenance, repair and disposal ► Keep the lens window clean .Soiling may considerably affect the reading result! ► To clean the lens window, do not use any detergents or solvents which might damage the front glass . ►...