Page 2
OPC / OPD / OPE With regard to the supply of products, the current issue of the following document is applicable: The General Terms of Delivery for Products and Services of the Electrical Industry, published by the Central Association of the Electrical Industry (Zentralverband Elektrotechnik und Elektroindustrie (ZVEI) e.V.) in its most recent version as well as the supplementary clause: "Expanded reservation...
OPC / OPD / OPE Introduction Introduction Informative Symbols Note! This symbol brings important information to your attention. Action This symbol indicates a paragraph with instructions. Contact If you have any questions about the device, its functions, or accessories, please...
This product was developed and manufactured under observance of the applicable European standards and guidelines. Note! A Declaration of Conformity can be requested from the manufacturer. The product manufacturer, Pepperl+Fuchs GmbH, D-68307 Mannheim, has a certified quality assurance system that conforms to ISO 9001. ISO9001...
Non-observance could interrupt the device and any connected systems and plants, or result in their complete failure. Intended Use The stationary read devices OPC-*, OPD-*, and OPE-* are used to decode 1-D and 2-D codes. The device is only approved for appropriate and intended use. Ignoring these instructions will void any warranty and absolve the manufacturer from any liability.
D codes. For high speed, great depth of focus, long barcodes, or detection tasks; with the optical print inspector you always have the right vision sensor at hand. Use the innovative image processing technology from Pepperl+Fuchs for your application. You can configure the stationary readers quickly and easily over a standard Ethernet interface, using the software provided.
OPC / OPD / OPE Product Description Indicators and Operating Controls OPC reader and OPD reader The illumination unit has 7 LED indicators that provide information on the various device statuses. Figure 4.1 Indicators and Operating Controls 1. DIAG 2 Yellow LED.
Page 10
OPC / OPD / OPE Product Description Definition of the LEDs and Outputs for Individual Statuses Good read (Not used) Bad read (Not used) Good read and match code OK Good read and match code not Bad read Decoder timeout...
Page 11
OPC / OPD / OPE Product Description OPE reader Good Fail Match Status 1. Network (LAN): Lights up yellow as soon as a physical connection is established. 2. Trigger (TRG): Lights up yellow when a connected trigger sensor is activated.
OPC / OPD / OPE Product Description Interfaces and Connections OPC reader and OPD reader The device includes the following connections: Figure 4.2 Device Connections 1. Network (4-pin M12 socket) 2. Input IO (5-pin M12 socket) 3. Power supply, inputs, and outputs (8-pin M12 plug)
Page 13
OPC / OPD / OPE Product Description RS-232 Interface There is a 5-pin M12 socket on the side of the sensor housing. The following diagram shows the pinning: Figure 4.4 RS-232 input connection layout 1. + UB 2. TX RS-232 3.
Page 14
OPC / OPD / OPE Product Description OPE reader The device includes the following connections: Good Fail Match Status 1. RS-232 interface (5-pin M12 socket) 2. Network (4-pin M12 socket) 3. Power supply, inputs, and outputs (8-pin M12 plug) 4. VGA output (7-pin M12 socket)
Page 15
OPC / OPD / OPE Product Description Network There is a 4-pin M12 socket on the back of the sensor housing to connect to the network. The following diagram shows the pinning: Figure 4.7 Network connection layout 1. TX+ Ethernet 2.
OPC / OPD / OPE Product Description VGA Output There is a 7-pin M9 socket on the back of the sensor housing to connect the VGA plug. The following diagram shows the pinning: 1. OUT VSYNC 2. GND 3. OUT R 4.
OPC / OPD / OPE Product Description Other lengths on request. Field-attachable M12 socket Model number V19-G-ABG-PG9 8-pin M12 socket, straight Screw terminals for max. 0.75 mm cable gland Cable diameter : 5 mm ... 8 mm 4.5.2 Network Cable The sensor is connected to the network using an M12 plug.
2. Check that all items are present and correct based on your order and the shipping documents. If you have any questions, please contact Pepperl+Fuchs. 3. Keep the original packing material in case you need to store or ship the unit at a later time.
Page 19
OPC / OPD / OPE Installation OPC and OPD mounting The reader has four symmetrically positioned M6 threads on the base of the housing to allow easy mounting of the reader in your plant. The read distance differs according to the reader. You can find the correct read distance in the technical data for the reader to be installed.
OPC / OPD / OPE Installation OPE mounting The device has two M5 threads positioned on the base of the housing to allow easy mounting of the reader in your plant. The read distance differs according to the reader. You can find the correct read distance in the technical data for the reader to be installed.
OPC / OPD / OPE Installation Setting Up a Network Connection Note! Network Cabling Use a crossover network cable to connect the sensor directly to a computer. If you are operating the sensor within a network, use a twisted-pair network cable.
Page 22
OPC / OPD / OPE Installation Setting the IP Address of the PC (Windows 7) 1. Select Start > Control Panel. 2. Select Network and Sharing Center. 3. Select Change Adapter Settings. 4. Right-click the required connection and select Properties.
OPC / OPD / OPE Installation Storage and transport For storage and transport purposes, package the unit using shockproof packaging material and protect it against moisture. The best method of protection is to package the unit using the original packaging. Furthermore, ensure that the...
OPC / OPD / OPE Commissioning Commissioning Connecting the Stationary Read Device The reader can be controlled via the Vision Configurator software. You have the ability to make adjustments on the stationary reader directly using the Vision Configurator software. Aligning the Stationary Reader Use the image display in the Vision Configurator software to optimally align the reader.
OPC / OPD / OPE Vision Configurator Software Vision Configurator Software The sensor is commissioned and operated using the Vision Configurator software. The Vision Configurator software makes it easy to operate the sensor with its user- friendly interface. Standard functions include making connections to the sensor, specifying the operating parameters, saving data sets, and displaying data and error diagnostics.
OPC / OPD / OPE Vision Configurator Software Application Window Structure The application screen opens after you log in. Note! The individual functions depend on the type of sensor connected and the current authorization level, so they are not always all visible.
OPC / OPD / OPE Vision Configurator Software Results area Displays results from the sensor A varying number of tabs can be displayed depending on which sensor is connected This field can be enabled or disabled via Show results Image display...
OPC / OPD / OPE Vision Configurator Software 7.2.2 View Menu Figure 7.3 View menu Show standard Toggles the display of the buttons in the bar on the left on and buttons off. Show sensor data Hides the output of the sensor data in the top right of the screen.
OPC / OPD / OPE Vision Configurator Software Show sensor Displays the sensor version number. version... Table 7.3 Sensor menu Note! Firmware Update Once you have upgraded the firmware and Update complete is displayed, restart the sensor. 7.2.4 Image Menu Figure 7.5...
OPC / OPD / OPE Vision Configurator Software 7.2.5 Administration Menu Figure 7.6 Administration menu User administration Opens a window which displays all the currently created users at the same authorization level or lower. New users with the same authorization level or lower can also be created and deleted here.
OPC / OPD / OPE Vision Configurator Software Configuration window Various parameters are specified in the configuration window. The individual parameters depend on the current authorization level and are, therefore, not always all visible. Some features are available in different variants only.
Page 32
OPC / OPD / OPE Vision Configurator Software Parity mode Setting for detection of transmission errors None Even Result output via TCP/IP Trigger string Definition of the trigger string that can be used to trigger a trigger command via the RS-232 interface...
Page 33
OPC / OPD / OPE Vision Configurator Software Format Image format Selects the image size 752x480 (full screen) 752x240 752x160 752x120 Selecting a smaller field of view can increase the reading speed. Image fine position Moves the field of view up or down (line by line) The field of view can be moved only if you select a field of view instead of the full screen under Image format.
OPC / OPD / OPE Vision Configurator Software Internal Counter Triggers executed Counter for executed trigger signal Triggers executed MI Counter for codes that extend over multiple image captures For example, if two images had to be evaluated when reading a long barcode, this counter increases the count by one.
Page 35
OPC / OPD / OPE Vision Configurator Software Expansion Filter Settings Enable filter Enables or disables expansion of the modules, i.e., the points used to generate the code. This allows modules of needlepunched codes to be expanded so that they can be read more reliably.
OPC / OPD / OPE Vision Configurator Software 7.3.4 Trigger Modes Tab Trigger Modes Tab, Setup Menu Item Figure 7.13 Trigger Modes tab, Setup menu item Trigger Mode Trigger mode Direct trigger Trigger is evaluated directly Encoder trigger Trigger is generated by rotary encoder increments...
Page 37
OPC / OPD / OPE Vision Configurator Software Negative edge The falling edge activates a trigger Positive edge The rising edge activates a trigger Note! Use the Encoder trigger trigger mode in conjunction with 1-D barcodes only. The Level Trigger Settings menu item is active only if you have selected Level trigger under Direct Trigger Mode.
Page 38
OPC / OPD / OPE Vision Configurator Software Target movement Code's direction of movement from the sensor's perspective Up -> Down Left -> Right Right -> Left Down -> Up Reset Cycle Interruption of the cycle No. of images The sensor uses the Encoder resolution, Trigger offset,...
OPC / OPD / OPE Vision Configurator Software 7.3.5 Window Tab Four different tabs are available: Window 1 ... Window 4. Each tab has the same layout. Window Tab, Window Setup Menu Item Figure 7.14 Window tab, Window Setup menu item...
Page 40
OPC / OPD / OPE Vision Configurator Software Hold down the mouse button and drag the frame to the required position, and then release the mouse button. 3. To change the size of the frame, move the cursor to one of the corners of the frame until it changes into a double arrow.
Page 41
OPC / OPD / OPE Vision Configurator Software Pharma Code Activates or deactivates reading of Pharmacodes Min. code length 1D Enters the minimum code length for 1D barcodes Max. code length 1D Enters the maximum code length for 1D barcodes...
Page 42
OPC / OPD / OPE Vision Configurator Software Pharma Code Settings Orientation Orientation of the Pharmacode Horizontal: Horizontal Vertical: Vertical Search start Direction from which a Pharmacode search is to start Bottom/Right: From the bottom right Top/Left: From the top left...
Page 43
OPC / OPD / OPE Vision Configurator Software Window Tab, Presence Check Menu Item Figure 7.17 Window tab, Presence Check menu item Presence Check Settings Edge threshold Measurement for the shape of the edge Minimum edge ratio Measurement for the number of edges in the image area, up...
Page 44
OPC / OPD / OPE Vision Configurator Software Only one input field is active at a time. Depending on the inspection type selected, the related input field is active. Window Tab, Output String Menu Item Figure 7.19 Window tab, Output String menu item...
Page 45
OPC / OPD / OPE Vision Configurator Software Parameters Description \PISO This parameter can be used in the Good Read field only, as the values can be output only if a code was successful. Outputs the code quality based on eight properties, in accordance with ISO/IEC 16022:2006.
OPC / OPD / OPE Vision Configurator Software Toolbar The toolbar contains various function icons. The connection between the PC and the sensor is disconnected. Opens a saved setting. Saves the settings made. Settings are read out from the sensor.
OPC / OPD / OPE Vision Configurator Software Sensor Data This area shows the type of sensor connected, the firmware version of the connected sensor, and the MAC address. Figure 7.20 Sensor data Sensor Output This area shows the communication between the Vision Configurator and the connected sensor.
OPC / OPD / OPE Vision Configurator Software Image Display The image display has different options for displaying the captured data. The Show image and Show results check boxes can be used to activate and deactivate the image display and result display.
Page 49
OPC / OPD / OPE Vision Configurator Software Context Menu Load image file... Loads a sensor image. You can select the sensor image Open image folder Opens the storage location Save image Saves the displayed sensor image Figure 7.25 Image View toolbar screen...
OPC / OPD / OPE Operation Operation You can select up to four different functions (inspection types). If more than one inspection type (more than one window tab) is activated, all the read codes must be OK for the decoding in order to output a good read.
OPC / OPD / OPE Operation 9. The result from the read code is displayed in the result window. The sensor is set up to read codes. Reading Overlong 1-D Codes In addition to standard 1-D/2-D codes, the sensor can read overlong barcodes that extend beyond the sensor's capture range.
OPC / OPD / OPE Operation Reading Overlong 1-D Codes 1. Set the symbology to be read in the 1D/2D Parameter menu item in the Win- dow 1 configuration window. Note that the function for reading overlong codes can be used with 1-D codes only. See chapter 7.3.5 2.
OPC / OPD / OPE Operation 9. Enter the code to be compared under Match Code in the 1D/2D Parameter menu item of the Window 1 configuration window. You can adopt a previously read code via the Use last decode button.
OPC / OPD / OPE Operation A new frame appears, labeled New logo area. 8. Move the New logo area frame over the reference logo. 9. Click Trigger. The reference logo is taught in. Checking the Presence of Materials with a Changeable Texture You can check up to four different textures with one image capture using the sensor.
Page 55
OPC / OPD / OPE Operation 8. Enable Show result image under the Presence Check menu item in the Window 1 configuration window, and click Trigger again. The resulting image is shown in the image display. Edge transitions are displayed in graphic form in the resulting image. The resulting value is shown in the image display under Result Win 1.
OPC / OPD / OPE Maintenance and Repair Maintenance and Repair Maintenance To get the best possible performance out of your device, keep the optical unit on the device clean and clean it when necessary. Observe the following instructions when cleaning: Do not touch the optical unit with your fingers.
OPC / OPD / OPE Troubleshooting Troubleshooting 10.1 What to Do in the Event of an Error Before requesting a service call, please check that the following actions have been taken: Equipment has been tested according to the following checklists, Telephone assistance obtained from the Service Center to isolate the problem.
OPC / OPD / OPE Appendix Appendix 11.1 Network Interface The network interface is used to transfer data (parameters, images, software updates) and commands in both directions (host to sensor, and sensor to host). XML strings are used to transfer parameters, commands, and results.
Page 59
OPC / OPD / OPE Appendix Figure 11.2 Integrating DLLs into the programming environment All the examples relate to the Visual Studio 2010 programming environment and to the C# programming language.
Page 60
OPC / OPD / OPE Appendix Example! Below is a sample program for integrating and triggering the sensor: class Program static void Main(string[] args) PF.Foundation.VsxFactory.PFVsxFactoryVCCustom sensor; sensor = new PF.Foundation.VsxFactory.PFVsxFactoryVCCustom(); sensor.Connect("192.168.2.3", 50005); sensor.SetSpecificSingleParameter(1, "Command", "TriggerStart", "1"); System.Threading.Thread.Sleep(1000); sensor.Disconnect(); General The library is used to support the creation of a graphic user interface for sensors that use the VSX protocol.
Page 61
OPC / OPD / OPE Appendix Library Functions bool Connect(string ip,int port) ip : IP of the connected sensor port: Port of the connected sensor Response: False if the connection could not be created, otherwise true Opens a connection to a sensor with the IP and port specified.
Page 62
OPC / OPD / OPE Appendix void SetSpecificSingleParameter(ushort version, string configId, string parameterId, string newValue) configId: Configuration ID of a parameter parameterId : Parameter ID of a parameter newValue: New value for the parameter Sets the value for a parameter to newValue; version, configId, and parameterId can be taken from the table in this case.
Page 63
OPC / OPD / OPE Appendix void SaveSettingsToFile(string filename) Saves the current parameter set to the specified file. The current parameter set is retrieved from the sensor and saved after receipt. After a successful save, a SaveDataOnHdd event is triggered. If an error occurs during a save, an InternalError event is triggered with ErrorType = SAVE_FILE_ERROR.
Page 64
OPC / OPD / OPE Appendix event SingleDataReceived(string configId, string parameterId, string value) This is triggered after SetSingleParameter if this one value only has been changed on the sensor. event AcceptReceived() This is triggered after SetSingleParameter if the value previously set has been successfully changed on the sensor.
Page 65
OPC / OPD / OPE Appendix event InternalError(ErrorTypes errorType, string errorMessage) This is triggered when an internal error has occurred. This happens in the following cases: When calling GetSingleParameter (ErrorType = PARAMETER_NOT_FOUND) if the required parameter has not been found in...
OPC / OPD / OPE Appendix 11.2.1 Configuration Overview The parameters in the table below can be set using the SetSpecificSingleParameter and GetSpecificSingleParameter method in the software interface. Each parameter is identified by a configID and a parameterID. Configuration Parameters...
Page 67
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version ImageFormat 752x480 Image capture 6022 752x240 area that is 752x160 captured and 752x120 processed ImageFinePosition -50 ... +50 If the image 8597 format has less...
Page 68
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version Trigger TriggerMode TRIGGER_DIRE Sets the trigger 5783 Modes CT_MODE operating mode TRIGGER_ENC ODER_MODE DirectMode TRIGGER_DIRE Sets the trigger 6022 CT_EDGE signal TRIGGER_DIRE characteristics...
Page 69
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version DistanceTolerance 0 ... 20 OPC and OPD 5988 only: tolerance for slippage MoveDirection OPC and OPD 5988 MOVE_HOR_N only: direction of EGATIVE movement of...
Page 70
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version InspectionTask INSPECTION_T Sets the 5415 YPE_1_DECOD inspection type E_1D2D INSPECTION_T YPE_2_MATCH _1D2D INSPECTION_T YPE_3_MATCH _LOGO INSPECTION_T YPE_4_PRESE NCE_CHECK CheckDataMatrix 0, 1 Enables or...
Page 71
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version deltaX 0 ... 752 Horizontal 5415 tolerance for position check for barcodes deltaY 0 ... 480 Vertical 5415 tolerance for position check for barcodes PresenceEdgeThres 0 ...
OPC / OPD / OPE Appendix Config From Version Config Firmware Parameter ID Value from Description Version BadString string Output string 8349 from bad read; can contain placeholders for inspection information Table 11.1 Configuration parameters 11.2.2 Result overview Accessing the result data...
Page 73
OPC / OPD / OPE Appendix Result data From Event Parameter ID Value Description Firmware Trigger ResWx Window x: 8597 barcode content (decoded string ResWxType DataMatrix Window x: 8597 Code128 barcode type Code39 EAN/UPC/JAN 2/5 Interleaved Pharmacode ResxTime 0 ... 65535 ms...
Page 74
OPC / OPD / OPE Appendix Shape data The shape data is transmitted with the ShapeDataReceived and ImageDataReceived events. The GetShapes method is used to retrieve the data. The following parameters are transmitted: Shape data Type Parameter ID Wert Beschreibung...
Page 75
Twinsburg, Ohio 44087 · USA Tel. +1 330 4253555 E-mail: sales@us.pepperl-fuchs.com Asia Pacific Headquarters Pepperl+Fuchs Pte Ltd. Company Registration No. 199003130E Singapore 139942 Tel. +65 67799091 E-mail: sales@sg.pepperl-fuchs.com www.pepperl-fuchs.com Subject to modifications Copyright PEPPERL+FUCHS • Printed in Germany TDOCT-2828CENG 07/2015...
Need help?
Do you have a question about the OPC and is the answer not in the manual?
Questions and answers