Home

iVu Plus TG User Manual

image

Contents

1. www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Function Ready Outputs 1 2 and 3 Set as Active Pass Outputs 1 2 and 3 Set as Active Fail Strobe Out Configure as External amp Expose Based 2 3 Major Features 2 3 1 Demo Mode Pass Fail Pass Fail Pass Pass The first time you power up the iVu Plus TG sensor it starts in Demo Mode Demo Mode uses stored images and inspection parameters that demonstrate how the sensor is set up without having to worry about focus lighting or triggers In this mode you can learn how to make adjustments while working with the different sensor types and observing how the adjustments affect the sensor results To exit Demo Mode go to Main Menu gt System gt Mode and select Live from the drop down list When you exit Demo Mode the sensor reboots into its normal operating mode with default settings EX i Demo i Eu NOTE You may return to Demo Mode any time by going to Main Menu gt System gt Mode and selecting Demo Rev C www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual 2 3 2 Sensor Types The iVu Plus TG sensor includes four Sensor Types Area Sensor An Area type sensor is used to ensure that a feature or some features
2. Contents Contents 1 Product Support and Maintenance sine 5 DOUE 5 1 2 Maintenance aitor 6 ZOVCIVIEW of th SENSOR ona 7 Zar TypiealiVvuApplieations rd in US e ha a a UN cin beeen does 7 24 Labelilnspect n areas ier casi anvils duende ete ee es Adie Seated alata pin 7 2 1 2 Blister Pack Inspection nn 8 24 9 Via Stopper Inspection S go A bene earache eee 9 2 2 Installing the Senso iman aaa 9 2 2 1 Installing and Connectingith Sensor ammm imminent din 9 2 2 2 Cable Connections for Integrated Display 12 2 2 3 Cable Connections for Remote Display 12 2 2 4 Vu Trigger Remote Teach and 1 0 Waveforms esmeenenennnennennenennennenennennnnennennnnennennnennennnenennan nn 13 2 3 Major Features natal alte 15 O NAS 15 29 2 SONSOr TYPES aiii 16 2 33 MUIlIPIESENSOIS aaa aa 17 2 34 Multiple Inspections a ed a ed 17 2 3 5 Vu Plus Communication Summary of Ethernet and Serial 19 2 9 0 Trigger Modes rs ir nicked o ane 20 3 Main Menu Reference rin ina 21 IMAM MENUS ri Se iaa me clin 21 3 2 MSpection Menu O 22 IZA Sensors MENU ray NUE AR En ee A en iA re io en a Zu 23 3 2 2 Motion Menu uses asar 28 3 2 3 Properties Menu Annan eii nt en teen Men etes IAE Lite des en a Trade NEA 28 3 24Stored Inspections M nuis adriana 29 3 2 IMager Menu a dr anne nt nn naar AT Red a dt ant te 30 3 34 AUTO EXPOSUr mit e a hon Mehta ded An a A coat teeta 30 A a mel ne nn NN e TOTO 31 3 3 3 GalN chinese een
3. Number of Edges Main Menu gt Inspection gt Motion gt Number of Edges On the Number of Edges screen use the radio buttons to select One Edge or Two Edges If One Edge is selected motion is tracked in one direction by default horizontally if Two Edges is selected motion can be tracked horizontally and vertically Sensitivity Main Menu gt Inspection gt Motion gt Sensitivity Sensitivity is used to fine tune how sensitive the sensor is to finding a reference edge The Sensitivity value helps account for light varia tions that might affect how well the sensor detects edges on inspected parts The Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive If set near 0 the sensor will only find very sharp edges with strong contrast If set near 100 the sensor will find very dim or blurry edges and may be unstable due to noise within the image Rotation Main Menu gt Inspection gt Motion gt Rotation Rotation can be Enabled or Disabled Select Enabled if the part can be expected to rotated during the inspection 3 2 3 Properties Menu Main Menu gt Inspection gt Properties The Properties menu is used to change the Inspection Name or ID When Area and or Blemish sensors are used in the current inspection Motion can be enabled to setup ROI relocation 28 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Inspection Name Main Menu gt Insp
4. If Industrial Ethernet Only is selected trigger commands from the Industrial Ethernet communications channel only will be accepted 3 3 5 Focus Main Menu gt Imager gt Focus The Focus Number displayed at the bottom of this screen is used to fine tune image focus Loosen the lock on the lens cover turn the focus ring on the sensor until the Focus Number peaks or the image appears sharp then lock the focus ring EA NOTE For the Focus Number to work the sensor must be triggering and the images must be similar over time 3 3 6 Strobe Main Menu gt Imager gt Strobe The Internal Strobe configures the operation of the integrated ring light The External Strobe configures the operation of an external light 32 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual External Main Menu gt Imager gt Strobe gt External The External Strobe is a 5V output that can be used for an external light Setting options are Always ON Always OFF or Exposure Based If Exposure Based is selected then the external light is on during the time the sensor is capturing an image Internal Main Menu gt Imager gt Strobe gt Internal The Internal Strobe setting configures the operation of the integrated ring light Setting options are Always ON Always OFF or Exposure Based If Exposure Based is selected then the ring light is on during the time the sensor is capturing an image For UV models the Alw
5. Pass Count Pixels Main Menu gt Inspection gt Sensors gt Blemish gt Pass Count The Minimum Pass Count is the minimum number of pixels expected to fall within the specified criteria the Maximum Pass Count is the maximum number of pixels expected to fall within the specified criteria These settings are used to determine the pass or fail result of the inspection Match Menu Main Menu gt Inspection gt Sensors gt Match When the sensor is configured as a Match sensor set the ROI Type Percent Match Rotation Range Pass Count and Timeout for the inspection To see a working example of the sensor configured as a Match sensor see Demo Mode Rev C www bannerengineering com tel 763 544 3164 25 iVu Plus TG User Manual ROI Type Main Menu gt Inspection gt Sensors gt Match gt ROI Type The Region of Interest ROI is the user defined area on the screen that the sensor will analyze The ROI Type can be rectangular elliptical or circular From the menu at the bottom of the ROI Type screen select the ROI Type to use for the inspection Adjust the ROI as appropriate for your inspection An ROI can be as large as the entire Field of View FOV Percent Match Main Menu gt Inspection gt Sensors gt Match gt Percent Match The Percent Match setting adjusts for how closely the inspected part or label matches the reference part or label The Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100
6. Rev C www bannerengineering com tel 763 544 3164 39 iVu Plus TG User Manual ECON ES e BE EEE Be I Finn Bar rest CT reiner Seen peas pense CTS COM EEE CEIM CONS NENE If the inspection contains more than 5 sensors the sensor s after the 5th one will not be on the map Area Range Min 32 bit integer Area Range Max 32 bit integer 40 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer Rev C www bannerengineering com tel 763 544 3164 41 iVu Plus TG User Manual Custom Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Custom Allows customization of fix sensor data on the map Select data items of interest for each sensor type Recommended when execution order of sensor types vary across inspections or when using more than 5 sensors A System level custom map is supported for additional flexibility When Custom Map is selected a customizable space is used in the offset range 55 to 166 on EIP assembly 0x65 registers The following is a table of EIP assembly 0x65 registers when using Custom Map setting Cringe ECONO CONO ETT A INN CIN EEN 42 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual
7. oO OQ N N N Rev C www bannerengineering com tel 763 544 3164 145 iVu Plus TG User Manual 304022 Barcode 10 Type 16 bit integer 30423 Barcode 10 Length 16 bit integer 30424 41 Barcode 10 Data 32 bit len 32 byte array 146 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 5 3 Multiple Sensors Mapping Options When using an iVu Plus TG with multiple sensors in an inspection there are two mapping options Default and Custom Default Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Default Automatically maps sensor data for each inspection Recommended when execution order of sensor types is the same across inspec tions When inspection has multiple sensors the first 5 sensor results will be shown starting at offset 55 Each sensor result will occupy 20 words The following is a table of MODBUS TCP registers at 30001 30240 when using Default Map setting nn AENA EC PS Rev C www bannerengineering com tel 763 544 3164 147 iVu Plus TG User Manual 30174 175 Command Response Int32 32 bit integer 30176 177 Command Response Float 30178 179 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array If the inspection contains more than 5 sensors the sensor s after the Sth one will not be on the map Area Range Min 32 bit integer Area Range Max 32 bit integer Blemish Count 32 bit intege
8. 5 wo Eh QP ao Oo o a 59 60 Barcode 1 Data Array Length 32 bit integer 61 162 Barcode 1 Data Array 100 Byte Array wo 62 Barcode 7 Length 16 bit integer 168170 reserved 868880 Barcode 7 Dat 32bi eng 32 171 Command Status 16 bit integer byte array 172 Command Response Int16 16 bit integer Si Barcode 8 Type 16 bit integer 7 6 5 6 7 8 7 7 wo 173 174 Command Response Int32 32 bit integer Se ne 383 400 Barcode 8 Data 32 bit length 32 175 176 Comand Response ae byte ai 177 178 Command Response Length 32 bit integer 01 Barcode 9 Type 16 bit integer 179 228 Command Response Data 100 Byte Array 02 Barcode 9 Length 16 bit integer 240 Barcode Count 16 bit integer byte array 241 Barcode 1 Type 16 bit integer 421 Barcode 10 Type 16 bit integer gt El Rev C www bannerengineering com tel 763 544 3164 161 iVu Plus TG User Manual Barcode 10 Length 16 bit integer 423 440 Barcode 10 Data 32 bit length 32 byte array 162 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 6 4 Multiple Sensors Mapping Options When using an iVu Plus TG with multiple sensors in an inspection there are two mapping options Default and Custom Default Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Default Automatically maps sensor data for each inspection Recommended when execution order of sensor types is the same
9. 763 544 3164 37 iVu Plus TG User Manual The sensor s Ethernet communications can be used to send data out the Ethernet port as part of an inspection and remote devices can communicate with the sensor The Ethernet I O screen is where IP Address Subnet Mask and Gateway settings are configured Use the expand arrow next to each field to display a software keypad to enter values for each field Click the Status button at the bottom of the screen to verify communications as you connect to remote devices Ethernet I O Status Main Menu gt System gt Communications gt Ethernet I O gt Status The Ethernet I O Status screen can be used to verify that the Ethernet wiring has been correctly set up In addition to determining if link has been established incoming and outgoing traffic can be monitored Port Settings for Serial I O Main Menu gt System gt Communications gt Serial 1 0 The Serial I O menus are used to enable serial output and select values for Baud Rate Stop Bits and Parity Control The Serial menu is also used to define the type of data to export as well as its format 38 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Port Status Main Menu gt System gt Communications gt Serial I O gt Status The Port Status screen can be used to ensure data is entering and exiting the sensor This can be useful for debugging issues such as improper wiring mismatched baud rates or other
10. 9 1 3 Command Channel Command Synopsis 97 9 2 Conventions Used for Examples ias does 98 DISTEXAMPIES Sera E banda T AS E A A E A A NE 98 9 3 1 Example 1 How to Trigger the Sensor and Retrieve Inspection Data using the Command Channel 98 9 3 2 Example 2 How to Execute a Product Change Using the Command Channel _ neennenennenn 98 9 4 iVu Plus Command Channel Reference unicidad is 99 9 5 Multiple Sensors Inspection SSSR a a a a aa ae A sieaa EADAE Teia 107 9 6 Command Ghannel Error Codes sise oo ea 107 10 Communications Channel Ports ss ssssssssssssurensnnnunnnunnnnnnunnnnunnnnnnnunnnnnnnnnnnnnnnnnunnnnnnnnnnnannnnunonnnnnnnnnnnnn 110 11 Industrial Ethernet Overview sn 111 11 LDEVICS Setups ai noe anes 111 1ATSeRIP Address sie ibid 111 11 1 2 Set Industrial Ethernet Protocol EIP Modbus TCP PCCC oe eessescccsessesesesseeeeseeneeessneneeeesneneeessneneeeeaneneessans 111 MIS Se Tigger Mode citada 111 11 2 Supported Functions sens 112 11 21 VU Input alles T ers Re PR ln selena a leeren 112 Contents 11 2 2 VuOutputValuess nalen A A a 113 11 3 Sensor Op ration ii a ados 113 11 3 1 General Command Execution tens 113 ITA ENSNEUP io ta ed te COR 114 11 4 1 RSLogix5000 Configuration i a aA ie a DE E 114 11 4 2 Assembly Objects iaa E alabar 123 11 4 3 Configuration Assembly Object areren O a e ee 138 11 44 D ta Formals ta Aia 138 11 4 5 Minimum Requested Packet Inverval RPI Value 138 1
11. A Reboot command is re quired to be sent from the command channel to make the new address effective gt gt do system save x0D x0A lt lt OK x0D x0A Examples 9 4 Status Command Group Get Status Ready Flag indicating whether the system is ready to trigger true or busy false et G Status SystemError Flag indicating whether a system error is active true or cleared false 100 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual ST ClearSystemError Clears the system error LED and sets the internal flag to false Examples gt gt get status ready x0D x0A lt lt OK x0D x0A lt lt True x0D x0A gt gt get status systemerror x0D x0A lt lt OK x0D x0A lt lt False x0D x0A gt gt do status clearsystemerror x0D x0A lt lt OK x0D x0A 9 4 Trigger Command Group Sets trigger mode to one of the valid trigger modes for the sensor Set Trigger Mode Sets trigger mode to one of the valid trigger modes for the sensor Trigger Initiates a single trigger The sensor does not transmit a re sponse until the sensor has completed the action gt gt set trigger mode command x0D x0A lt lt OK x0D x0A Examples gt gt get trigger mode x0D x0A lt lt OK x0D x0A lt lt Command x0D x0A gt gt do trigger x0D x0A lt lt OK x0D x0A 9 4 Imager Command Group The sensor s value used to electronically brighten all image pixels This value can be m
12. Click the Load button to start the restore sensor configuration You will need to reboot the sensor when the restore is complete 12 1 2 How to Debug Using the Emulator from the USB Flash Drive 1 Plug a USB Thumb Drive into the sensor 2 Save Inspection Logs to the sensor a On the Main Menu gt Inspection Logs gt View Logs screen click the Save icon to save the inspection logs b When prompted select Yes to save sensor configuration along with the Inspection Logs The location of these files on the USB Thumb Drive will be displayed after the operation is completed the Inspection Logs are saved in lt USB gt BANNER lt SENSOR_NAME gt InspLog and the sensor configuration is saved in lt USB gt BANNER lt SENSOR_NAME gt For example if the sensor name is myName Configuration File CONFIG CFG path lt USB gt BANNER myName Inspection Logs path lt USB gt BANNER myName InspLog Es NOTE If the sensor has no name the folder name is the first 8 characters of the serial number 3 Remove the USB drive from the sensor and insert it into an available USB port on a Windows PC that has the Vu Emulator instal led 4 Copy the VuEmulator exe program file to the USB Thumb Drive in the same location as the CONFIG CFG file for example lt USB gt BANNER myName 5 Launch the lt USB gt BANNER myNameliVuEmulator exe program 6 Set the Trigger option to Internal a Go to Main Menu gt Imager gt Trigger
13. ExternalGated Gated barcode inspection will be started and or aborted via the electrical trigger wire Inspections will run continuously electrical trigger inputs are ignored IndustrialEtherNet Inspections will only be trigged by Industrial EtherNet coils and commands Inspections will only be trigged by the Command Channel trigger commands Examples of Operation The following examples show how the Vu Command Channel can be utilized via the Industrial EtherNet connection Clear System Error 1 Write the number 81 as a 16 bit integer into the Command ID register 2 Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register 182 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register 4 Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information 5 Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register Get Set Trigger Mode Get the current Trigger Mode from the iVu Plus Write the number 10001 as a 16 bit integer into the Command ID register Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register Wait for the Command ACK flag to go from 0 to 1 bit 15
14. m System Teach Missed Ready Read DR m mu MEE 11 6 PLC5 and SLC 5 PCCC Allen Bradley s PLC5 and SLC 500 family of devices use PCCC communications over Ethernet IP Vu Plus supports these PLCs using input and output register arrays The Output Flags ACK Flags and Input Flags bit definitions are the same as defined in the EIP Assem bly Objects section The terms Input and Output are from the point of view of the PLC 11 6 1 Configuration The images below represent a typical configuration 1 Read Message command_reading from N7 tabe on iVu Plus Rev C www bannerengineering com tel 763 544 3164 153 154 I MultiHop This Controller Communication Command Size in Elements Channel PLC5 Read 100 Data Table Address N7 0 100 2 r Target Device Data Table Address Local Remote Message Timeout MultiH op r Control Bits Ignore if timed out TO 0 To be retried NR 0 Awaiting Execution EW 0 Continuous Run CO 0 Error ER 0 Message done DN 0 Message Transmitting ST E Message Enabled EN E Waiting for Queue Space 0 Vu Plus TG User Manual r Error Error Code Hex 0 No errors Error Description www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual 2 Read IP Address of the iVu Plus is entered here General 1 Ins Add Hop To Addre
15. 30 52 Inspection Name 2 Word Length 20 unicode chars Command Status 16 bit integer CIS CI ME Custom Map Export Main Menu gt System gt Communications gt Industrial Ethernet gt Map gt Custom gt Save icon Ch To export the Custom Map Click the icon to save a text listing of the map Filename iVulEMap csv to an attached USB drive This operation is also supported on Emulator iVulEMap csv will be saved on the application folder Status Main Menu gt System gt Communications gt Industrial Ethernet gt Status The status screen displays information about the current connection This information is protocol specific View Logs Main Menu gt System gt Communications gt Industrial Ethernet gt View Logs This screen displays the list of recent events on Industrial Ethernet channel Detailed logging can be selected under Setup when trouble shooting Command Channel Main Menu gt System gt Communications gt Command Channel The Vu command channel is a bi directional communication protocol that currently supports ASCII via the RS 232 serial interface or ethernet interface and enables other devices to remotely control the iVu sensor and to access sensor results Rev C www bannerengineering com tel 763 544 3164 43 iVu Plus TG User Manual Connection Main Menu gt System gt Communications gt Command Channel gt Connection The Connection screen is used to enable or disable the Command
16. 3164 Rev C iVu Plus TG User Manual BLEMISH_RESULT The number of detected blemishes BLEMISH_RESULT MinEdgeLength The minimum detected blemish edge length BLEMISH_RESULT MaxEdgeLength The maximum detected blemish edge length Examples gt gt get blemish_result count x0D x0A lt lt OK x0D x0A lt lt 4 x0D x0A gt gt get blemish result minedgelength x0D x0A lt lt OK x0D x0A lt lt 22 x0D x0A 9 4 BLEMISH_HISTORY Command Group Get BLEMISH_HISTORY MinCount The minimum number of detected blemishes since history was last cleared Get BLEMISH_HISTORY MaxCount The maximum number of detected blemishes since history was last cleared Get BLEMISH_HISTORY MinEdgeLength The minimum detected blemish edge length since history was last cleared Get BLEMISH_HISTORY MaxEdgeLength The maximum detected blemish edge length since history was last cleared gt gt get blemish_history count x0D x0A lt lt OK x0D x0A lt lt 1 x0D x0A Examples gt gt get blemish_history maxcount x0D x0A lt lt OK x0D x0A lt lt 6 x0D x0A 9 4 MATCH_RESULT Command Group MATCH_ RESULT The number of detected matches MATCH_RESULT MinPercentMatch The minimum detected match percentage MATCH_RESULT MaxPercentMatch The maximum detected match percentage Examples Rev C www bannerengineering com tel 763 544 3164 105 gt gt lt lt lt lt gt gt lt lt lt lt get match_result count x0D x0A OK
17. 32 bit integer Length Sort Min Percent Match 16 bit integer 3 9 7 1 6 C E CO soiratemacam ETS Sort Pattern 4 Count 16 bit integer 128 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Input Bits ACK Register 16 bit integer Barcode 1 Type 16 bit integer see Flags on page 137 Fi Barcode 1 Actual Decoded 16 bit integer Output Bits Register see 16 bit integer Data Length Flags on page 137 59 60 Barcode 1 Data Array 32 bit integer 2 32 bit integer Length 4 x 6 A 3 5 7 al SQ oo Inspection Number 32 bit integer 61 162 Barcode 1 Data Array 100 Byte Array 89 PassCount 32 bit integer 171 Command Status 16 bit integer 12 13 Missed Triggers 32 bit integer 173 174 Command Response Int32 32 bit integer 14 15 Current Inspection Time 175 176 Command Response Float Sensor Pass Fail Coil EEE 177 178 Command Response 32 bit integer Length 20 unicode chars 229 239 reserved 10 11 Fail Count 32 bit integer 172 Command Response Int16 16 bit integer Rev C www bannerengineering com tel 763 544 3164 129 iVu Plus TG User Manual PLC Assembly Instance 0x66 102 Vu Outputs PLC Inputs Sensor Type Vu Plus BCR Input Bits ACK Register 16 bit integer see Flags on page 137 Output Bits Register see 16 bit integer Flags on page 137 111 Barcode 5 Type 16 bit integer 112 Barcode 5 Length 16 bit integer 1 113 130 Barcode 5 Data 32 bit length 32 byte
18. Channel Delimiters Main Menu gt System gt Communications gt Command Channel gt Delimiters In the Delimiters screen there are three delimiter options that you can set Field Delimiter which determines what is used to separate data that the sensor is sending out to a remote device End of Frame which determines the delimiter used to indicate the end of a frame String Delimiter which determines what is used to enclose a string field during both input and output operations Use the drop down lists to select the appropriate delimiter The example at the lower part of the screen displays how the data will look in the output or input streams 44 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual get tool result Y lt datal gt lt data2 gt Pal Data Export Channel Main Menu gt System gt Communications gt Data Export When the Data Export Channel is enabled the sensor will transmit selected inspection data when triggered Connection Main Menu gt System gt Communications gt Data Export gt Connection The Connection screen is used to enable or disable the Data Export Channel Data To Export Main Menu gt System gt Communications gt Data Export gt Data To Export The Data To Export screen is used to determine the information included in a data export Data will output in the order displayed on the screen Eu NOTE Grab the edge of the Data to Export menu an
19. Image Export Log Main Menu gt Logs gt Communication Logs gt Image Export The Image Export log is purely an output log so there is no receive input activity Image Export is only available over Ethernet When a user enables Image Export the log will show an Enabled entry that indicates the port is being listened to When a client application connects or disconnects a log entry indicates that which IP address has connected or disconnected If data is dropped the logs will indicate the number of frames that have been dropped 56 www bannerengineering com tel 763 544 3164 Rev C 4 Home Screen The Home screen on the iVu Series sensor display is used to monitor inspections and to configure the sensor Normally the part being inspected is centered on the screen with the feature of interest bounded by the Region of Interest ROI a rectangle as shown below The ROI can be rotated and resized and is highlighted when selected for adjustment In the following graphic there are 2 ROI because it is a multi sensor inspection The green annotations indicate the object passes and the red annotations indicate a failure This sample inspection failed as shown by the red X next to the Display mode Region of Interest ROI Display Modes Help Button Zoom In Zoom Out Main Menu Manual Trigger Field of View FOV 4 1 Display Mode Main Menu gt Home gt Display Mode icon The 3 display modes include Image with Annotations
20. Map screen Custom IE Map screen allows choosing sensor result data that will appear on the customizable space The bottom of the screen shows the word usage on the customizable space In the screenshot above seven words have been used for one Area sensor Area 1 Use the yellow arrow button next to the Area sensor row to go to the Area Sensor Data in the following graphic On the Area Sensor Data screen above Area Count Area Range Min and Area Range Max are available to add into the customiz able space The number to the right of each item shows how many words are required to display the data The bottom reservation count shows the number of Area Sensors that will be reserved on the customizable space Rev C www bannerengineering com tel 763 544 3164 151 iVu Plus TG User Manual Since only one Area Sensor s worth of data is reserved on the screenshot above the selected data will be collected from the first Area sensor in the current inspection When multiple Area Sensors have been reserved the data will be arranged in the sequential manner of the sensor type in the current inspection Use the green arrow icon Back button to go back to the custom map summary screen User may continue to add more data from any sensor type as required or reserve more sensors into the customizable space Sensor Name and Sensor Type ID are global settings that are part of any individual sensor reservation When they are checked
21. Monday through Friday excluding holidays Phone Local 763 544 3164 Toll Free 1 888 3 SENSOR 1 888 373 6767 Fax 763 544 3213 E mail sensors bannerengineering com Address Banner Engineering Corp 9714 10th Avenue North Minneapolis MN 55441 USA To help Banner better assist you be ready to provide the following information Vu firmware version to find the version number click Main Menu gt System gt Sensor Information Device Model Number and Date Code which are found on the bottom of the device Exact wording of any messages that appeared on your screen A description of what you were doing and what happened A description of how you tried to solve the problem Error Codes see LED Indicator Troubleshooting on page 190 1 2 Maintenance Maintenance tasks include keeping the hardware free of dust and dirt and possibly updating the iVu firmware as new versions become available Cleaning the Sensor Regularly remove any dust or dirt from the device using a soft cloth If needed slightly dampen the cloth with a weak solution of neutral detergent Avoid getting dirt on the imager the area behind the lens If the imager is dirty use anti static compressed air to blow off the dust Updating the iVu firmware The current version of iVu firmware is available for download from the Banner website See the Banner Website for the firmware down load link 6 www bannerengineering com tel 763 544 3164 Re
22. PLC The Output registers are used to push output values from the iVu Plus to the PLC MSG message commands are used to Read N7 and Write N14 to the sensor PLC Input Registers Map N7 Vu Outputs Input Bits ACK Register see 16 bit integer 55 Sensor Type ID 16 bit integer Input and Output Fi 7 Output Bits Register see In 16 bit integer 58 59 Area Range Min 32 bit integer put and Output Flags on 60 61 Area Range Max 32 bit integer page 169 6 7 Iteration Count 32 bit integer 173 174 Command Response Int32 32 bit integer 177 178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Array 14 15 Current Inspection Time Sensor Pass Fail Coil fo 2 Word Length 20 unicode chars 30 52 Inspection Name CE a EC Rev C www bannerengineering com tel 763 544 3164 157 iVu Plus TG User Manual Input Bits ACK Register 16 bit integer see Input and Output Flags on page 169 a gt on Y ay o Sensor Type ID Blemish Count Blemish Min Edge Length Blemish Max Edge Length reserved 171 Command Status 16 bit integer 56 57 58 59 60 61 Output Bits Register see 16 bit integer Input and Output Flags on page 169 2 3 32 bit integer 32 bit integer 6 7 32 bit integer 32 bit integer 10 11 32 bit integer 12 13 32 bit integer 14 15 Float 30 52 Inspection Name 2 Word Length 20 unicode chars N 0 5 Q 17 Command Response Int16 16 bit i
23. Plus a O A A SA ee A EPS Word f lenghisw teng msw byte1 byteo bytes bye bytes bytes 11 4 5 Minimum Requested Packet Inverval RPI Value VuPlus devices can operate with input and output Requested Packet Intervals RPIs as low as 50 milliseconds The device may not operate reliably if a lower RPI value is selected 138 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 5 Modbus TCP The Modbus TCP protocol provides device control using register and coil banks defined by the slave device This section defines the iVu Plus Modbus TCP register and coil banks From the point of view of the slave device PLC there is one output coil registers and two Input Coil registers The bits in the Output Coil Registers cause actions to occur The corresponding ACK bits in the Input Coil register get set when the action is complete The Status Coil register provides status of certain system states By specification Modbus TCP uses TCP port 502 Note that the output coils correspond to the Output and ACK Flags and the input coils correspond to the Input Flags Modbus Function Codes Supported 01 Read Coil Status 02 Read Input Status 03 Read Holding Registers 04 Read Input Registers 05 Force Single Coil 06 Preset Single Register 07 Read Exception Status 15 Write Multiple Coils 16 Preset Multiple Registers Rev C www bannerengineering com tel 763 544 3164 139 iVu Plus T
24. Plus TG User Manual LE sen Tresen Filter Retainer Ring Tool Eu NOTE Filter Kits are avail able separately 62 www bannerengineering com tel 763 544 3164 Rev C 6 Configuring Sensors Each sensor type has a shortcut menu available from the inspection menu From the Home screen click inside the Region of Interest ROI The ROI is the visual area indicated by a dotted line on the inspection In the Demo mode this will be the Banner logo The dotted line will turn bold and have rotation and size icons in the corners At the top of the screen the Inspection Name will change to a black button called Sensor Name Click the black Sensor Name button and a drop down box will appear No matter what parameter you are setting if you click inside the ROI it will highlight into a bold dotted line that can be resized 6 1 Sensor Configuration Shortcut Menu Each sensor type has a shortcut menu available from the inspection menu From the Home screen click inside the Region of Interest ROI The ROI is the visual area indicated by a dotted line on the inspection In the Demo mode this will be the Banner logo The dotted line will turn bold and have rotation and size icons in the corners At the top of the screen the Inspection Name will change to a black button called Sensor Name Click the black Sensor Name button and a drop down box will appear No matter what parameter you are setting if you click inside the ROI it will hi
25. String registers with the ASCII data to be used as the new barcode compare string 3 Write a 32 bit integer value equal to the number of ASCII characters present in the new barcode compare string data into the Command Parameter String Length register 4 Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register 5 Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register 6 Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information 7 Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register The new barcode compare string will be utilized for the next inspection Rev C www bannerengineering com tel 763 544 3164 183 iVu Plus TG User Manual Get Set Exposure Time Get the current Exposure Time from the iVu Plus cont EE Write the number 10052 as a 16 bit integer into the Command ID register Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for mor
26. The Output Coils are used to push single bit outputs from the iVu Sensor to the PLC The 32 bits of Output Coils can also be accessed using the bits of the first two Output Registers ACK Flags and Output Flags To access the Output and Input Coils use Coil ACK Word 0 and Output Coil Bits Word 1 Output Flags Bit Position 15 144 13 12 11 BEE 6 5 4 0 3 2 1J 0 c d E n BCR Set BCR Gated Tri Teach Product omman Mask String Trigger 988f Latch Change Output Flags ACK Position 14 13 12 coma Set Set Trigger en me Mask ACK String ACK Tigger ACK red Change ACK Input Flags Bit Position 15 14 13 12 11 10 9 8 7 tf 6 5 4 3 2 1 1 0 Execution System Teach Missed Ready Read E a eas a NEE papal Ry Rev C www bannerengineering com tel 763 544 3164 169 11 7 Sample Timing Diagram X Y Z Represent snapshot in time 170 RPI Product Change Ready Product Change ACK Product Change i ProductChange ACK 1 New inspection Verify Ready 1 ProductChange ACK 0 is loaded www bannerengineering com tel 763 544 3164 0 1 X X Y X Y4Z i i i i i i i i i i i i i i i i i i i i i i i i i 1 i T i i i i i i i i i i i i i i i i i i l l l i l i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i i l i i i i i i i
27. Windows XP Version 5 1 2688 lt C gt Copyright 1985 2861 Microsoft Corp Documents and Settings gt ping 192 168 1 1 Pinging 192 168 1 1 with 32 bytes of data Reply from 192 168 1 1 bytes 32 time ins TTL 64 192 168 1 1 bytes 32 time lt ins TTL 64 0 192 168 1 1 bytes 32 time lt ins TTL 64 Reply from 192 168 1 1 bytes 32 time lt ims TTL 64 Ping stat s for 192 168 1 1 Packe nt 4 Received 4 Lost 8 Az loss Approximate round trip times in milli seconds Minimum ms Maximum ims Average Uns Documents and Settings gt _ You should also see the Packets Received and Packets Sent count on the Ethernet I O Status page in the camera increment by at least 4 If the output of the ping command shows request timeouts try the following Verify that the camera is located on the correct subnet has the correct IP address and is connected to the correct switch or router If you are running several overlapping subnets you may want to consult your IT person to ensure that the routing for the network is configured correctly If you are trying to access the camera through a gateway or a VPN router please verify that these devices are configured such that they allow traffic from iVu camera to reach the destination device 178 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 10 3 Industrial Protocols Troubleshooting MODBUS Protocol MODBUS protocol relies on the fundamental TCP
28. and select Internal b Set the Trigger Interval as desired The Vu Emulator will run with the saved configuration using the saved Inspection Logs as images 7 Make the desired adjustments 8 Close the Vu Emulator program All configuration changes will be saved to the CONFIG CFG file 9 Remove the USB Thumb Drive from the PC and connect to the sensor 10 Restore the configuration to the sensor a Go to Main Menu gt System gt Sensor Configuration gt Load from USB b Select the Configuration to restore c Click the Load button to start the restore sensor configuration You will need to reboot the sensor when the restore is complete 186 www bannerengineering com tel 763 544 3164 Rev C 13 Vu Series Updating the Sensor 13 1 Update Process Banner Engineering may release new versions of the sensor firmware in the future New firmware releases can be downloaded from Banner s website or can be obtained by ordering the latest Product CD The following steps will guide you through the process of updat ing the iVu firmware Step 1 Copy firmware of desired product to USB Thumb Drive 1 Launch the iVu Series software From Product CD Place the latest Product CD into your CD ROM drive The Vu Series Software will automatically start If your computer is not set for Auto Play you may start the Vu Series Software by browsing to the CD drive from My Computer screen and double clicking on iVuSeries exe Fr
29. are present on a part When setting up the sensor for an Area inspection a feature such as a drilled hole is identified as well as the size area expected If there is more than one of the identified features on a part the number expected can be set as well During the inspection the sensor will verify that each part or package in cludes the specified number of features Some example applications include Inspections that check for drilled holes on a part Inspections that check for correctly stamped parts Inspections that ensure proper packaging for example check that a packing slip exists in or on a box test whether a vial is properly capped Inspections of blister packs Blemish Sensor A Blemish type sensor can be used to find flaws on a part for example scratches on a disc or it can be used to make sure a feature exists on a part Although verifying a feature is present on a part is more commonly an application for an Area sensor a Blemish sensor may be a better option when dealing with variable materials or uneven lighting Some example applications include Inspections that check for scratches on a part and reject parts where the scratches are too numerous or larger than acceptable Inspections that check for the presence of some label or marking on a part that may vary in color Match Sensor A Match type sensor is used to verify that a pattern shape or part in any orientation matches a reference pattern The
30. as follows gt gt do trigger x0D x0A lt lt OK x0D x0A 4 Check that the inspection passed gt gt get inspection status x0D x0A lt lt OK x0D x0A lt lt Pass x0D x0A 5 Get the pattern names that are stored in the Vu sensor gt gt get sort_result patternnames x0D x0A lt lt OK x0D x0A lt s Marroc 14 Uparccern 2 ODO 9 3 2 Example 2 How to Execute a Product Change Using the Command Channel 98 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 1 Make sure that the Command Channel is enabled using either Ethernet or Serial I O Main Menu gt System gt Communications gt Command Channel gt Connection 2 Set Trigger to Command Go to the Main Menu gt Imager gt Trigger screen and from the drop down select Command 3 Get all the stored inspection names gt gt get productchange inspectionnames x0D x0A lt lt OK x0D x0A 4 Execute a product change gt gt do productchange inspection2 x0D x0A lt lt OK x0D x0A 5 Check that the inspection passed gt gt get inspection status x0D x0A lt lt OK x0D x0A lt lt Pass x0D x0A 9 4 Vu Plus Command Channel Reference 9 4 Info Command Group Info UpTimer The elapsed time the sensor has been running in the format hh mm ss msec The number of hours the sensor has been running RemoteConnected The remote display connected status as a boolean value true or false RemoteModelNumber The mode
31. desired configuration and provide you with information you will need to connect to the master device PLC HMI etc Command Channel Log Main Menu gt Logs gt Communication Logs gt Command Channel Rev C www bannerengineering com tel 763 544 3164 55 iVu Plus TG User Manual The Communication Log logs the most recent Command communication activity Each entry in the log includes a status indicator for the operation A green indicator displays when the channel is enabled or disabled light green when the channel is enabled and dark green when the port is disabled An up arrow displays for incoming requests from a remote device A down arrow displays for outgoing responses from the iVu sensor The up and down arrows are green when everything is OK and red if there is an error The up arrow will be yellow if the command is incomplete for example waiting for an end of frame delimiter Es NOTE Note an hourglass will display if an operation takes a particularly long time to complete for example during a long trigger Each log entry includes a log detail button arrow icon on right side of log entry to display a detail view of the log entry Buttons at the bottom of the screen provide for refreshing the display and clearing the log Additionally the communication log can be saved to the USB drive so that the communication log can be imported to the emulator SSR Slee _
32. discrete 1 0 such as trigger and teach Get sensor results such as sensor status Change the running inspection 7 1 3 Command Channel Sample Application The Vu Plus TG installation CD has a Command Channel sample application that provides an easy interface to execute commands In a production environment you will need to create your own application for bi directional communication with the sensor 80 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual cn om LEED Command Line Get History Maxinspection Time Communication Log Help amp Command Examples Help Info History Status System imager Trigger Product Change Teach inspection Tools Misc Barcode Area Blemish Match Sot gt gt Get History Passed gt gt Get History Failed gt gt Get History MissedTriggers gt gt Get History TotalFrames gt gt Get History StartFrameNumber gt gt Get History EndFrameNumber gt gt Get History MinInspectionTime gt gt Get History MaxInspectionTime gt gt Do History Clear Banner Engineering Corp Copyright 2010 7 1 4 Data Export The iVu Plus sensor provides for exporting user selected inspection data via either Ethernet or the RS 232 serial interface Inspection data that can be exported includes Pass Fail Output Inspection Name Sensor Result Name Pass Fail Sensor types see following table for additio
33. for preventing electrostatic discharge when installing a lens or attaching a cable 2 2 2 Cable Connections for Integrated Display The cable connections on the iVu Plus with integrated display are shown below and power I O connections C are defined in the Power Eu USB Connector 1 0 Connections table below EE B Power I O Connector NOTE Microlens model shown C Mount model connections are identical 2 2 3 Cable Connections for Remote Display The cable connections on the Vu Plus with remote display are shown below and power I O connections B are defined in the Power I O Connections table below A Remote Display Connector EEE Power I O Connector USB Connector FB Ethernet Connector NOTE Microlens model shown C Mount model connections are identical ee Ti Re en eg 12 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual BE CC CT CON 2 2 4 Vu Trigger Remote Teach and I O Waveforms The Vu has two input signals Trigger and Remote Teach The default setting is to detect the Trigger or Remote Teach input on the low to high transition This setting can be changed in the Main Menu gt System gt Discrete 1 0 gt Input Polarity screen on the sensor PNP Low to High Trigger and Remote Teach Input Waveforms The Vu Trigger and Remote Teach input waveforms are shown below Power up Wire Color Function Pink T
34. gt Sensitivity Sensitivity is used to fine tune how sensitive the sensor is to finding a reference edge The Sensitivity value helps account for light varia tions that might affect how well the sensor detects edges on inspected parts The Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive If set near 0 the sensor will only find very sharp edges with strong contrast If set near 100 the sensor will find very dim or blurry edges and may be unstable due to noise within the image 6 6 3 Rotation Main Menu gt Inspection gt Motion gt Rotation Rotation can be Enabled or Disabled Select Enabled if the part can be expected to rotated during the inspection 6 7 Configuring Multiple Sensors in the Inspection Main gt Inspection gt Sensors gt Add Sensor Some applications require more than one sensor New sensors can be added after an inspection has been created Input parameters for each sensor can be configured individually Clicking on Add Sensor will display the list of sensor types that can be added into the inspection Rev C www bannerengineering com tel 763 544 3164 77 iVu Plus TG User Manual Blemish Click Add to add the selected sensor Sensor Management JEMISN me Rename Sensors Change Execution Order Click on the yellow down arrow button to access sensor management functions Move selected sensor up in the execution order Move sele
35. gt Stored Inspections gt Startup The Startup button allows you to select the inspection to use as the startup inspection that is the inspection the sensor will automatically start after power up Delete Inspections Main Menu gt Inspection gt Stored Inspections gt Delete The Delete button is used to delete stored inspections Note that any running inspection or the inspection marked as the Startup inspec tion cannot be deleted Set Name ID Main Menu gt Inspection gt Stored Inspections gt Set Name ID The Set Name ID button is used to change the name or ID of an inspection You may sort the inspections in numeric or alphabetical order by clicking on the icon beside the Help icon 3 3 Imager Menu Main Menu gt Imager The Imager menu icon is on the Main Menu and lists parameters that affect the characteristics of the captured image The Imager menu is used to access the Auto Exposure routine manually adjust Exposure and Gain set Trigger and Strobe options as well as the size of the field of view FOV 3 3 1 Auto Exposure Main Menu gt Imager gt Auto Exposure Auto Exposure optimizes the exposure time and gain for the current lighting conditions Eu NOTE The Auto Exposure option is not available on the Emulator 30 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 3 2 Exposure Main Menu gt Imager gt Exposure Exposure is the amount of time the sensor allows light to
36. if the sensor matches ei ther Pattern_1 Pattern_2 or both All Saved Patterns Pass con The Pass Count establishes the pass fail result of the inspection The Minimum Pass Count is the minimum number of parts labels or features expected to fall within the specified criteria the Maxi mum Pass Count is the maximum number expected to fall within the specified criteria However with Blemish Pass Count the count is about pixels The specified criteria is the pixel range that falls in between the minimum and maximum pass counts dition if the sensor matches both Pattern_1 AND Pattern_2 Single Saved Pattern Pass condition if the sensor matches either Pattern_1 OR Pattern_2 but NOT both Specific Save Pattern Must al so select the saved pattern to match for example select Pat tern_2 Pass condition any time the sensor matches Pat tern_2 Time Out is the amount of time the inspection will hit on an image If it times out before the inspection is complete it will fail 6 2 Configuring an Area Sensor This section describes how to configure an Area sensor using the Demo application as a reference 64 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Es NOTE By default the Trigger is set to Internal and will continuously trigger based on a time interval setting This may make it more difficult to make adjustments while setting up the sensor The best practice is as fol lows G
37. is the least tolerant Move the slider to the left or to the right Rotation Range Main Menu gt Inspection gt Sensors gt Match gt Rotation Range The Rotation Range sets the expected rotation of parts or labels during an inspection For example a value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still pass Move the slider from 0 to 180 degrees Es NOTE The smaller the rotation range the faster the inspection will run Pass Count Main Menu gt Inspection gt Sensors gt Match gt Pass Count The Minimum Pass Count is the minimum number of parts labels or features expected to fall within the specified criteria the Maximum Pass Count is the maximum number expected to fall within the specified criteria These settings are used to determine the pass or fail result of the inspection Timeout Main Menu gt Inspection gt Sensors gt Match gt Timeout When the sensor type is set as Match or Sort this screen provides for adjusting the maximum time the inspection is allowed to execute A timeout error is reported in the case inspection runs out of time If this value is set too high the sensor can miss triggers while trying to detect a bad pattern Sort Menu The Sort sensor is used to identify and sort up to 10 stored patterns The menu items in the Sort sensor provide for managing stored patterns and configuring Sort sensor inspection parameters 26 www bannerengineering c
38. of Interest ROI is the user defined area on the screen that the sensor will analyze The ROI Type can be rectangular elliptical or circular From the menu at the bottom of the ROI Type screen select the ROI Type to use for the inspection Adjust the ROI as appropriate for your inspection An ROI can be as large as the entire Field of View FOV Sensitivity Main Menu gt Inspection gt Sensors gt Blemish gt Sensitivity Sensitivity is used to fine tune how sensitive the sensor is to finding blemish or other edges within the ROI The Sensitivity value helps account for light variations that might affect how well the sensor detects edges on inspected parts The Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive If set near 0 the sensor will only find very sharp edges with strong con trast If set near 100 the sensor will find very dim or blurry edges and may be unstable Edge Length Range Main Menu gt Inspection gt Sensors gt Blemish gt Edge Length Range The sensor counts all the edge pixels it detects in the ROI The bar at the bottom of the Edge Length Range screen shows all the differ ent contiguous edge segments found Edge segments within the two brackets are highlighted in green and those outside the brackets are ignored and colored yellow Use the slider bar to specify the edge length range in pixels Edges found within this range will be consid ered to calculate the Pass Count
39. reference pattern is taught during setup A reference pattern might include alphanumeric characters logos or any other shapes During an inspection the sensor checks that each part or package being inspected matches the reference pattern Additionally if there is more than one of the identified pattern the number expected can be set Some example applications include Date Lot code inspections Label inspections Part etching inspections Part orientation inspections Part shape inspections Sort Sensor A Sort sensor type that can recognize and sort up to ten different patterns within the same inspection Each reference pattern is taught during setup and stored in one of ten pattern memory locations A reference pattern might include alphanumeric characters logos or any other shapes and the pass criteria can be set for any or all of the patterns Some example application include Identify and sort parts on a production line Ensure that several different parts are present in a package 16 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 2 3 3 Multiple Sensors Firmware versions 1 2 0 and newer include multiple sensor functionality Each part inspected can now use multiple sensors to inspect more than 1 feature Up to 30 such inspections can be created and stored on the device 2 3 4 Multiple Inspections The iVu Plus supports multiple inspections that facilitate storing and controll
40. s data value 10350 ARGUMENTS_DETECTED Get command received with unneeded arguments 10351 INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method ifi 10250 NOT_A_METHOD Method ID specified is not a method j 10252 COMMAND_NOT_FINISHED Attempt to issue command when a previous command has not finished ifi 10300 INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method Rev C www bannerengineering com tel 763 544 3164 87 iVu Plus TG User Manual 10340 10341 10500 10900 MINIMUM_VALUE_EXCEEDED New item value is below the minimum MAXIMUM_VALUE_EXCEEDED New items value is above the maximum DATA_SET_EMPTY Data export operation returned no results SENSOR_NOT_READY Command specified requires sensor to be in the READY state SENSOR_TYPE_NOT_ACTIVE Command specified belongs to a different sensor type 10920 15000 15050 15100 20200 20600 20800 80000 80001 80100 REMOTE_DISPLAY_NOT_CONNECTED REMOTE_DISPLAY_NOT_SUPPORTED This sensor does not have Remote Display capability COMMAND MODE_EXPECTED The Trigger Mode must be set to Command perform this operation 80101 80102 80150 80200 80300 80350 i 80351 i 80400 COMMAND_TIMED_OUT The command timed out before finishing TRIGGER_REQUIRED Access to the specified data requires a triggered inspection COMMAND_TIMED_OUT The command timed out before finishing SYSTEM_ERROR_NOT_ACTIVE The System Error must be active to e
41. screenshot above the selected data will be collected from the first Area sensor in the current inspection When multiple Area Sensors have been reserved the data will be arranged in the sequential manner of the sensor type in the current inspection Use the green arrow icon Back button to go back to the custom map summary screen User may continue to add more data from any sensor type as required or reserve more sensors into the customizable space Sensor Name and Sensor Type ID are global settings that are part of any individual sensor reservation When they are checked they will be inserted into each sensor reservation Here is an example of multiple sensors inspection and its output location on the customizable space Customizable space reserved 3 Area sensors Sensors sequence on the and 3 Blemish Sensors current inspection Areal EA Area 1st Area2 Blemish1 2nd Area3 en 3rd Blemish1 Area3 4th Blemish2 lt lt Blemish2 5th Blemish3 No Data Match1 6th No Match Sensor Slot There are only 2 Blemish sensors on the current inspection Blemish3 location will be all zero on the customizable space The customiza ble space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space 168 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 6 5 Input and Output Flags The Input Flags are used to command execution of basic functions
42. serial I O issues Industrial Ethernet Main Menu gt System gt Communications gt Industrial Ethernet The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet IP Modbus TCP or PCCC protocols This document will help you to set up the iVu Plus in the desired configuration and provide you with information you will need to connect to the master device PLC HMI etc Connection Main Menu gt System gt Communications gt Industrial Ethernet gt Connection The Connection screen is used to enable either Modbus or EIP PCCC protocols on Industrial Ethernet channel Select Disable to com pletely disable Industrial Ethernet channel Map Main Menu gt System gt Communications gt Industrial Ethernet gt Map The Map setting Default Custom affects only on EIP assembly 0x65 or MODBUS PCCC registers 30001 to 30240 at offset 55 166 Default Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Default Automatically maps sensor data for each inspection Recommended when execution order of sensor types is the same across inspec tions When inspection has multiple sensors the first 5 sensor results will be shown starting at offset 55 Each sensor result will occupy 20 words The following is a table of EIP assembly 0x65 when using Default Map setting A Input Bits ACK Register 16 bit integer Output Bits Register 16 bit integer 4 5 Inspection Number 32 bit integer
43. slider bar at the bottom of the display to select the range Areas are measured by counting pixels For example a rectangular feature that is 100 pixels wide by 200 pixels tall will have an area of roughly 20 000 pixels set near 100 the sensor will find very dim or blurry edges and may be unstable The Edge Length Range slider adjusts the edge pixels in the ROI The slider of the Edge Length Range screen shows all the different contiguous edge segments found Edge seg ments within the two brackets are highlighted in green and those outside the brackets are ignored and colored yellow You can move each bracket to add or remove more of the edge segments from consideration iVu Plus TG User Manual The Percent Match slider adjusts for how closely the inspected part or label matches the reference part or label The Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant Percent Match and Rotation Range work to gether For the best results use a value from 50 to 90 The Rotation Range sets the expected rotation of parts or labels during an inspection For example a value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still pass Move the slider from 0 to 180 degrees Note that the smaller the rotation range the faster the inspection will run Pass Criteria assuming only two stored patterns Any Saved Pattern Pass con dition
44. they will be inserted into each sensor reservation Here is an example of multiple sensors inspection and its output location on the customizable space Customizable space reserved 3 Area sensors Sensors sequence on the and 3 Blemish Sensors current inspection Areal EA Area 1st Area2 Blemish1 2nd Area3 en 3rd Blemish1 Area3 4th Blemish2 lt lt Blemish2 5th Blemish3 No Data Match1 6th No Match Sensor Slot There are only 2 Blemish sensors on the current inspection Blemish3 location will be all zero on the customizable space The customiza ble space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space 152 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 5 4 Input and Output Coils The Modbus TCP Input Coil Bits are used to push single bit commands from the PLC HMI to the iVu Plus sensor To access the Modbus TCP Coil ACK Bits reg 30001 and Status Coil Bits reg 30002 use Function Code 02 Read Input Status Input Coil Bits Bit Position 15 14 13 12 1 10 9 8 7 6 5 4 3 2 7 1 0 Command Set BCR Set BCR Gated Trigger Teach Product Mask String Trigger gg Latch Change Input Coil ACK Bits Position 14 13 12 coma Set Set z a ma Mask ACKIString ACK Jigger ACK aA Change Status Coil Bits Bit Position 15 14 J 1433 12 1 MT 97 8 7J 60 A A 3f 2J
45. to the next step 4 Copy the Sensor Configuration from the USB Thumb Drive to the folder where the Emulator is installed on the PC For example if the sensor name is myName and the iVu Emulator is installed in the default location on the PC copy the file lt USB gt BANNER myName CONFIG CFG to C Program Files Banner Engineering iVu Series 5 Copy the Inspection Logs from the USB Thumb Drive for example lt USB gt BANNER myName InspLog to the InspLog folder on the PC for example C Program Files Banner Engineering iVu Series InspLogs 6 Start the emulator 7 Set the Trigger option to Internal Rev C www bannerengineering com tel 763 544 3164 185 iVu Plus TG User Manual a Go to Main Menu gt Imager gt Trigger and select Internal b Set the Trigger Interval as desired The Vu Emulator will run with the saved configuration from Step 6 using the saved Inspection Logs from Step 7 as images 8 Make the desired adjustments 9 Close the Vu Emulator program All configuration changes will be saved to the CONFIG CFG file 10 Copy the sensor configuration that is CONFIG CFG from the PC working directory to the USB Thumb Drive for example lt USB gt BANNER myName CONFIG CFG 11 Remove the USB Thumb Drive from the PC and connect to the sensor 12 Restore the configuration to the sensor a Go to Main Menu gt System gt Sensor Configuration gt Load from USB b Select the Configuration to restore c
46. verifies barcodes Demo Mode where inspections are run on stored images and inspection parameters The first time the device is powered up it starts in Demo Mode Demo Mode uses stored images and inspection parameters that demonstrate how the sensor is set up without having to worry about focus lighting or triggers In this mode practice making adjust ments while observing how the adjustments affect the results To exit Demo Mode go to Main Menu gt System gt Mode and select Exit Demo Mode Upon exit the sensor reboots into its normal operating mode with default settings Es NOTE You may return to Demo Mode any time by going to Main Menu gt System gt Sensor Mode and selecting Demo 3 4 2 System Configuration Main Menu gt System gt Configuration The Sensor Configuration menu provides for Save sensor Configuration to the USB drive Load sensor Configuration from the USB drive Reset the sensor Configuration to defaults Save to USB Main Menu gt System gt Configuration gt Save to USB Rev C www bannerengineering com tel 763 544 3164 35 iVu Plus TG User Manual The Save to USB screen provides for saving sensor Configuration to a USB flash drive The saved configuration information can be used as a backup or as a way to clone configuration information for other sensors Eu NOTE On the Emulator this option is Save Configuration Load from USB Main Menu gt System gt Configuration gt Load from U
47. x0D x0A 1 x0D x0A get match_result maxpercentmatch x0D x0A OK x0D x0A 6 x0D x0A 9 4 MATCH_HISTORY Command Group Examples gt gt get match_history count x0D x0A lt lt OK x0D x0A lt lt 1 x0D x0A gt gt get match_history maxcount x0D x0A lt lt OK x0D x0A lt lt 6 x0D x0A 9 4 SORT_RESULT Command Group SORT_RESULT Count Examples 9 4 SORT_HISTORY Command Group 106 iVu Plus TG User Manual MATCH_HISTORY MinCount The minimum number of detected matches since history was last cleared MATCH_HISTORY MaxCount The maximum number of detected matches since history was last cleared MATCH_HISTORY MinPercent The minimum detected match percentage since history was last cleared MATCH_HISTORY MaxPercent The maximum detected match percentage since history was last cleared The number of detected sort patterns www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Get SORT_HISTORY MinCount The minimum number of detected sort patterns since his tory was last cleared Get SORT_HISTORY MaxCount The maximum number of detected sort patterns since his tory was last cleared Get SORT_HISTORY MinPercent The minimum detected sort pattern match percentage since history was last cleared Get SORT_HISTORY MaxPercent The maximum detected sort pattern match percentage since history was last cleared Examples gt gt get sort_history mincount x0D x0A lt lt OK x0D x0A
48. 0 command group area_history 104 area_result 104 blemish_history 105 blemish_result 104 105 history 103 info 99 inspection 103 match_history 106 productchange 102 sort_history 106 sort_result 106 status 100 system 100 trigger 101 communication channel command channel 19 79 data export 19 79 image export 19 79 Industrial Ethernet 19 79 Communication Logs 55 communications channels 19 79 Configuration menu 35 D data export 19 79 data export log 92 data export sample application 82 debugging 185 Display Settings menu 51 E emulator 185 Ethernet 19 79 ethernet communications 84 exposure 31 external strobe 33 F fail hold time 51 field of view 34 firmware update 52 focus number 32 G gain 31 H history command group 103 home screen 57 image export 19 79 83 image export sample application 83 imager auto exposure 30 exposure 31 gain 31 trigger 31 imager menu 30 Industrial Ethernet 19 79 info command group 99 Information 36 inspection command group 103 Inspection Logs 53 inspection menu properties menu 28 Inspection Menu Sort Menu 26 inspection name 29 intensity range 24 internal strobe 33 Vu emulator 185 L LCD Timeout 51 Load from USB 36 lock sensor 37 logs command channel 92 data export 92 communication 55 inspection 53 system 55 M match parameters percent match 26 27 72 rotation range 26 73 timeout 26 28 match sensor 25 match
49. 1 5 Modbus TCP ia li a lo lia ann 139 MI ARRETE RAM ER AT ER Ne Et EME 140 11 02 OutputRegiSters tinta 141 11 5 3 Multiple Sensors Mapping Options oo ceeecesesessecccseseseeseseeeesesesseseeceseansusnceeeceatsnsuseeeeeseesensaseeeeeesansnsaseseteeseneees 147 14 5 4 nputand OutputiGollS hc neta nae as 153 14 6 PLC5 and SLC 5 PGCG gt iia 153 TAO Configuration entre en Beben 153 11 6 2 Inputs to Vu Outputs from PLC eee 156 11 6 3 Qutputsitrom iVu Inputs to PLC ritos ns ne een 157 11 6 4 Multiple Sensors Mapping Options cocicicciciciccicicocinncononononnononcono cono conan conocen 163 11 05 Input and Output Flags a a tae bie eher 169 TAZ Sample Trang Diagram era deeb nement ten abana 170 11 8 Error COdes aiii 173 11 9 Gommand Status nalen E einen anu RS datahee ann balan ata 175 AT AO Diagnostic Guide tiens llana le realen 175 11 10 1 Ethernet Diagnostics miii e ide 175 11 10 2 Networking and TCP IP Diagnostics 177 11 10 3 Industrial Protocols Troubleshooting one seeesesecsesesessesuesessesneeessesneeeesesneeesatsneeeseesueeesatsnseesetsneeteatsneeteetsneenees 179 14314 Additional Information aciSvsch shel ss esse uote lada 181 11 11 1 Vu Command Channel Commands Vu Command Channel over Industrial EtherNet 181 12 Debugging INSPECTIONS ici net detente te 185 12 1 How to Round Trip Debug Using the Emulator oi ceeceeessesecsesesesssneeesesnseessesnseesassuseesassnseesassns
50. 136 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Flags Output Bit Flags Bit Position 15 14 143 12 1 10 9f nm BCR Set er Trigger Tach Er Mask ACKString ACK Froger ACK Latch Change ACK ACK Input ACK Bits Bit Position 6 5 4 3 2 1 0 Set BCR Set BCR Gated Ti Teach Product Mask String Trigger 988f Latch Change 15 14 13 12 11 10 9 7 Command Input Bit Flags Bit Position 15 14 BT 12 1 J 10 9f 8 Execution System Teach Missed Read ele DR an an a ll ieee Fr Rev C www bannerengineering com tel 763 544 3164 137 iVu Plus TG User Manual 11 4 3 Configuration Assembly Object The iVuPlus EIP implementation does not support an assembly object configuration instance However one is required for creation of implicit Class 1 connections on a ControlLogix family PLC Therefore a configuration instance is defined as instance number 0x80 128 decimal It s size is zero 11 4 4 Data Formats The iVuPlus EIP implementation supports 32 bit Integers in LSW_MSW data format The least significant word is stored first then the most significant word This format is used for Allen Bradley ControlLogix PLCs The string format is compatible with the Allen Bradley ControlLogix built in string data type This format is a 32 bit DINT length followed by character bytes SINT This results in the following string format as viewed from the iVu
51. 15 16 Float 30017 Sensor Pass Fail Coil Command Response Int16 16 bit integer 30174 75 Command Response Int32 32 bit integer 30031 53 Inspection Name 2 Word Length 20 unicode 30176 77 Command Response Float chars 30178 79 Command Response 32 bit integer 30054 55 32 bit integer Length 30056 Sensor Type ID 16 bit integer 30180 229 Command Response Data 100 Byte Array 30057 Sort Pattern Map 16 bit integer 30230 240 30058 Sort Pattern Count 16 bit integer 30059 Sort Pattern 1 Count 16 bit integer 30060 Sort Pattern 2 Count 16 bit integer amp amp wo wo wo wl w ojlo olol ol ol ojl ol ol olol o al Oil o o ao o a o SI N NI lolo o N olol olNI BR wo rm gt 144 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Barcode 1 Type 16 bit integer Barcode 1 Length 16 bit integer Input Coil ACK Bits see n 16 bit integer put and Output Coils on page 153 Status Coil Bits see Input 16 bit integer 0244 61 Barcode 1 Data 32 bit length 32 byte ar and Output Coils on page ray 153 Barcode 2 Type 16 bit integer 3003 4 32 bit integer Barcode 2 Length 16 bit integer 30005 6 Inspection Number 32 bit integer 30264 81 Barcode 2 Data 32 bit length 32 byte ar 30007 8 Iteration Count 32 bit integer ey 30009 10 32 bit integer Barcode 3 Type 16 bit integer Barcode 3 Length 16 bit integer 30011 12 Fail Count 32 bit integer i 30013 14 Missed Tr
52. 31 IIA A a 31 ONO NANO 32 RARE laos lo 32 3 3 7 FOV Field Of View atada anni 33 SA SysiemiMenu a AA A Acc 35 3 4 1 M de callas 35 3 4 2 System Configuration inner 35 3 4 3 Information ramasse ses ee ss A MN nt nid 36 IAE Device ne ram Ene oa SA Ain eS ah NN Re ne AA A Nr eS alot 37 34 5 Communications Menu assistent int ns a a M nr 37 O ere dl 48 34 7 Display Settings hernie LM ARE MR en le nine Mt E 51 3 4 8 REDOOLSENSON ste RATE MERE Ne nn aces 52 3 4 9 Eirmware U dale o e dl a dE A 52 9 0 LO9S MENUS ia AAA a 53 3 04 Inspection LOGS ptas 53 3 5 2 Systemlogs ara 55 3 0 9 COMMUNICATION LOGS gt uses iss Hin na 55 4 Home Screen ananas A ca 57 2 Rev C Contents 4 Display Mode warnen Aa Suicides 57 431 1 lmage with Annotations ias nn sen en eon acho ul enr nn Tre ain anes 57 4 1 2 Image without Annotations is ORAS 58 4 1 3 1nspeciion Statistics a a dt a 58 5 Setting UD AH INSPECLION aan iaa 60 5 1 Acquiring a Goodilmage Masia cla OR Te nd tn ee 60 6 Configuring SENSORS A ia 63 6 1 Sensor Configuration Shortcut Menu ainia ds dba pad lens 63 6 2 Configuring an Area Sensor mino ia atea 64 6 3 Configuring a BlemiSh Sensor ria aa dada blas 67 6 4 Configuring a Match Sensor ncicicccicnoncciononccnconnnncocononn co concnn cocer cnn cerca 70 G4TiRemote Teach segeln ei DE ee nies adidas ethene 74 6 9 Configuring a sort Application u 24442 a a nent Andenne ann 74 6 6
53. 44 3164 Rev C iVu Plus TG User Manual 80300 TEACH_SENSOR_TYPE_INVALID Teach requires Match Sensor type 80350 MULTIPLE_INSPECTIONS_DISABLED Requires multiple inspections to be enabled 80351 MULTIPLE_INSPECTIONS_EMPTY No inspections are available in multiple inspection mode 80402 PRODUCT_CHANGE_TIMEOUT The Product Change operation timed out 80403 PRODUCT_CHANGE_TO_SAME_INSPECTION Attempt to product change to the same inspection 80401 PRODUCT_CHANGE_INVALID_INSPECTION Attempt to product change to a unknown or invalid inspec tion 80404 SENSOR_NAME_NOT_FOUND Attempt to use a command without a sensor name in a mul ti sensor inspection 80400 PRODUCT_CHANGE_WHEN_NOT_READY Sensor must be in the READY state to perform a product change Rev C www bannerengineering com tel 763 544 3164 109 iVu Plus TG User Manual 10 Communications Channel Ports The following are the default Ethernet port settings for the communications channels Command Channel 32200 Data Export 32100 Image Export 32000 110 www bannerengineering com tel 763 544 3164 Rev C 11 Industrial Ethernet Overview 11 1 Device Setup 11 1 1 Set IP Address When shipped the device is assigned a default IP address 192 168 0 1 a default Subnet Mask 255 255 255 0 and a default gateway 0 0 0 0 To change these defaults click on Main Menu gt System gt Communications gt Ethernet I O 11 1 2 Set Industrial Ethernet Protocol ElP Mod
54. 51 10252 NOT_READABLE Attempt to get a value that is not readable NOT_WRITEABLE Attempt to set a value that is not writeable WRONG_ARGUMENT_COUNT COMMAND_NOT_FINISHED not finished 10300 10301 10350 10351 10340 10341 10500 10900 ARGUMENTS_DETECTED Get command received with unneeded arguments INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method MINIMUM_VALUE_EXCEEDED New item value is below the minimum MAXIMUM_VALUE_EXCEEDED New items value is above the maximum DATA_SET_EMPTY Data export operation returned no results SENSOR_NOT_READY Command specified requires sensor to be in the READY state SENSOR_TYPE_NOT_ACTIVE REMOTE_DISPLAY_NOT_CONNECTED REMOTE_DISPLAY_NOT_SUPPORTED This sensor does not have Remote Display capability COMMAND_MODE_EXPECTED The Trigger Mode must be set to Command perform this operation COMMAND_TIMED_OUT The command timed out before finishing nishi TRIGGER_REQUIRED Access to the specified data requires a triggered inspection nishi 10920 15000 15050 15100 20200 20600 20800 80000 80001 80100 ified ifi INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method DATA_VALUE_MISSING Command missing item s data value i item 80101 80102 80150 80200 COMMAND_TIMED_OUT The command timed out before finishing SYSTEM_ERROR_NOT_ACTIVE The System Error must be active to execute this command 108 www bannerengineering com tel 763 5
55. ACK flag The Vision Sensor sets the ACK flag when the corresponding action is complete Command flags cause actions to occur on the low to high transition of that flag You must clear the flag after the corre sponding ACK flag has been observed to be high As an example to use the Trigger ACK flag the programming steps for triggering an inspection would be Wait for ready Set Trigger command flag to 1 Wait for Trigger ACK to go to 1 Set Trigger command flag to 0 PSN ES Command Responses Commands executed using command IDs may have a response value Depending on the Data Type the response value will be con tained in one or multiple registers Refer to protocol specific sections for more information 11 3 Sensor Operation Any Industrial Ethernet protocol can be used to trigger inspections remote teach and perform command functions On iVuPlus BCR models compare strings can also be set 11 3 1 General Command Execution Point of View of PLC Following rules apply for the usage of input bit commands Only one output bit can be set at a time Corresponding ACK bits are only set high on completion of the command if output bit is still high Corresponding ACK bits are cleared when the output bit is cleared When multiple output bits are set simultaneously the Exe cution Error input bit is set and an Error Code value is re ported on the input register The Execution Error input bit is cleared when all ACK
56. Flags on page 16 bit integer 137 Output Bits Register see Flags on page 16 bit integer 137 Inspection Number 32 bit integer po Pasco ES CO ETS AAN Ba en TIP 124 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual PLC Assembly Instance 0x65 101 240 Registers Vu Outputs PLC Inputs Input Bits ACK Register 16 bit integer Sensor Type ID 16 bit integer ee E 2 4 6 oa a al e O Area Range Max 32 bit integer 10 11 Fail Count 32 bit integer 173 174 Command Response Int32 32 bit integer 12 13 Missed Triggers 32 bit integer sei pa inspection Number 3zoitimeger 182170 resened 14 15 Current Inspection Time 177 178 us Response 32 bit integer 3 5 7 16 16 SensorPass FalCol 179 228 Command Response Data 100 Byte Array 30 52 Inspection Name 2 Word Length 20 unicode chars 32 bit integer 172 Command Response Int16 16 bit integer e7 Iteration Count 32 bit integer 171 Command Status 16 bit integer Rev C www bannerengineering com tel 763 544 3164 125 iVu Plus TG User Manual f Input Bits ACK Register see Flags on page 137 56 57 Fa 50 23 one 4 5 6 7 3 6 7 keration Count 32 bit integer 171 Command Status 16 bit integer a fer on N N A S oO 32 bit integer 17 Command Response Int16 16 bit integer 10 11 Fail Count 32 bit integer 173 174 Command Response Int32 32 bit integer 12 13 Missed Triggers 32 bit integer ir Command Re
57. G User Manual 11 5 1 Holding Registers The Holding registers are used by the PLC to push values to the iVu Plus sensor These values are accessed in the register address range of 40001 40240 To write use Function Codes 6 16 Preset Single Multiple Registers Also available in this range of registers are the registers containing output data These outputs are available using the address range of 41001 41480 To read these output into the PLC use Function Code 03 Read Holding Registers Input Registers Map Input Coil Bits see Input and Output Coils on page 153 40057 58 Command Parameter String Length 32 bit integer 140 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 5 2 Output Registers The Output registers are used to send output values from the iVu Plus to the PLC Note that some devices such as Modicon family PLCs cannot access data using the 30000 range of register addresses For these devices the output values are also available using the 40000 range of addresses at offset 41000 To access the Modbus TCP Output Registers use Function Code 04 Read Input Registers Output Registers Map Input Coil ACK Bits see 16 bit integer Input and Output Coils on page 153 16 bit integer 30057 58 32 bit integer 30059 60 32 bit integer 30061 62 32 bit integer 30063 171 16 bit integer 16 bit integer 30174 75 Command Response Int32 32 bit integer Status Coil Bits see Input 16 b
58. Gontiguring Motion cursantes 76 6 6 1 Number tEdges aiii ia 77 GELSE neh Re ER da Ga aaa 77 ORO ma ee a a auth ee oes bah a a EEE NE ET 77 6 7 Configuring Multiple Sensors in the Inspection 77 7 1Yu Plus Communications 2 2 de 79 7 1 Vu Plus Communication Summary of Ethernet and Serial 79 7 1 1Gommunieation Channels pea da dedo 79 7 1 2 Industrial Ethernet seen 80 7 1 3 Command Ghanie a 80 ADA RE Fra este Mans aan oda TO Dre 81 LAME e nes 83 7 1 6 Setting Up Ethernet Communications eenenennennennenennennenennennenennennnennennnennennnennennnennennnentennen 84 1 1 7 Setting Up Serial COMMUNICATIONS iii 88 8 Testing and Troubleshooting Vu Plus Communications esseseessteseeeseseesteeeeetesteeseeteeeeteteetenetennnaees 92 8 1 Understanding the Communication Log sn 92 S 2 Ethemet i O er re ahh AR re o 93 8 2 1Ethernet O Status ins ran dente ada trans 93 8 3SenallO satire te GN se te A Gaal 93 8 3 1 Using the Port Status Screen for Testing RS 232 Communications o cseeseesecseseeseeseeeseeeeseeseetesneneeeeseeneeseens 93 8 3 2 Using the Vu Command Channel Sample Application or a Terminal Program for Testing 93 8 3 3 Verifying Basic Receive Functionality nn 94 9 Command Channel Primer 2 anne ide 96 9 1 Gommand Ch nnel Gommands ii ci 96 IAE CommandiFlow s 5 re ar Bar aie E A N rn BO ISG ANR res a coon ae 96 9712 string Delimiters and ESCAPING urinaria 97
59. IP connectivity to establish connections and transport data Once you have verified Networking and TCP IP connectivity you should have little or no problems establishing a MODBUS connection iVu supports one MODBUS connection from a single client and will reject additional connection requests Prior to attempting to establish the MODBUS connection you will have to configure your device and teach it about the iVu sensor You will have to tell it the IP address of the iVu sensor that you have previously configured Configurations steps vary for each device so you will have to consult the appropriate manual for these steps If your device has user configurable MODBUS port please verify that it is set to port number 502 iVu will not accept connections on any other port Once you have established a MODBUS connection you can verify that iVu has accepted it by going to the System gt Communications gt Industrial EtherNet gt Status page and viewing the connection status If you experience issues accessing data please consult the relevant sections of the manual for the MODBUS register maps supported by the sensor and consult the Industrial Protocols Log The log when configured to Detailed Logging mode provides record of individual register access sequence and records any errors EtherNet IP and PCCC Protocols EtherNet IP and PCCC protocols rely on CIP protocol to establish communications and exchange data CIP protocol in turn ut
60. Image without Annotations and Inspection Statistics 4 1 1 Image with Annotations Click the display mode icon to show the image with the annotations on The green or red areas indicate sensors that pass or fail in the ROI COX Ce Rev C www bannerengineering com tel 763 544 3164 57 iVu Plus TG User Manual 4 1 2 Image without Annotations Click the display mode icon to see the image without the annotations from the sensors 4 1 3 Inspection Statistics The Inspection Statistic mode has three pages E Click the Display mode icon E This screen shows inspection history from sensor reboot or the last time the statistics were reset Click the Reset button to reset statis tics The table contains history of each sensor in the inspection Data of each sensor can be expanded or collapsed as required If a sensor fails an icon besides the sensor name will indicate the reason of failure The data displayed on this screen is retained when running different inspections The green area indicates the sensor passed red indicates fail Click the icon to see the information Click the right arrow to see the Inspection Result This screen shows data about the current inspection being viewed The table contains result of each sensor in the inspection To view details of each sensor click on the icon If a sensor fails its box will be drawn in RED An icon besides the sensor name indicates the reason
61. NOT_SUPPORTED This sensor does not have Remote Display capability COMMAND_MODE_EXPECTED The Trigger Mode must be set to Command perform this operation COMMAND_TIMED_OUT The command timed out before finishing nishi TRIGGER_REQUIRED Access to the specified data requires a triggered inspection nishi 10920 15000 15050 15100 20200 20600 20800 80000 80001 80100 ified ifi INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method DATA_VALUE_MISSING Command missing item s data value i item 80101 80102 80150 80200 COMMAND_TIMED_OUT The command timed out before finishing SYSTEM_ERROR_NOT_ACTIVE The System Error must be active to execute this command 174 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 80350 MULTIPLE_INSPECTIONS_DISABLED Requires multiple inspections to be enabled 80351 MULTIPLE_INSPECTIONS_EMPTY No inspections are available in multiple inspection mode 80400 PRODUCT_CHANGE_WHEN_NOT_READY Sensor must be in the READY state to perform a product change 80300 TEACH_SENSOR_TYPE_INVALID Teach requires Match Sensor type 80402 PRODUCT_CHANGE_TIMEOUT The Product Change operation timed out 80403 PRODUCT_CHANGE_TO_SAME_INSPECTION Attempt to product change to the same inspection 80404 SENSOR_NAME_NOT_FOUND Attempt to use a command without a sensor name in a mul ti sensor inspection 11 9 Command Status The command status is a verification of the com
62. SB The Load from USB screen provides for restoring sensor Configuration from a USB drive This operation will remove all existing inspec tions and replace them with inspections contained in the configuration file on the USB Eu NOTE On the Emulator this option is Load Configuration Reset to Defaults Main Menu gt System gt Configuration gt Reset to Defaults Resets all sensor configuration to factory defaults This operation will remove all existing inspections and replace with factory default 3 4 3 Information Main Menu gt System gt Information The Information screen displays the following sensor information Serial Number Emulator Firmware Version Boot Number Up Timer the time elapsed since last boot of the sensor Hour Count the total hours of operation in the sensor s lifetime Model Number Device Name 36 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Click the right arrow next to the Sensor Name field to display a software keyboard that allows you to change the Sensor Name You may set the sensor name in English on the device To set the sensor in any other language please use the Emulator software 3 4 4 Lock Device Main Menu gt System gt Lock Device This option provides for locking the sensor to prevent accidental modification of settings When locked the sensor only provides access to pass fail statistics as well as the ability to view logs an
63. Series Launch the iVuEmulator exe program Go to the Information screen Main Menu gt System gt Information Click the white box next to the Device Name label and enter the desired Device Name Click the Back button on the lower left corner of the screen to save the Device Name Close the Emulator program and the Device Name will be saved to the CONFIG CFG file 0 If running the Emulator on the PC copy the CONFIG CFG file back to the original folder on the USB drive lt USB gt BANNER lt DEVICE_NAME gt for example lt USB gt BANNER myName Es NOTE The device will look in the original folder for example myName for the CONFIG CFG file 11 Remove the USB Thumb Drive from the PC and connect to the device 12 Restore the configuration to the device a Go to Main Menu gt System gt Configuration gt Load from USB b Select the Configuration to restore c Click the Load button to start the restore device configuration EA NOTE Once the new device name s restored in the device all files saved to USB will now reside in the folder corresponding to the new device name You will need to reboot the device when the restore is complete EA NOTE If a Device Configuration from one device is loaded onto another device the Device Name from the Device Configuration will not be stored in the device 13 3 How to Reset the Sensor Password If you forget the password for your sensor you can remove the current pass
64. Set i Set i ProductChange ProductChange i 1 i 0 i i i i i i 1 i i i i i Verify Ready 1 ProductChange ACK 0 iVu Plus TG User Manual Rev C iVu Plus TG User Manual Rev C Teach Latch RPI 0 1 X X Y XFYV4Z Teach Latch i i i Ready i i i i Teach i i i Latch ACK i i i Verify Ready 1 TeachLatch ACK Set TeachLatch 1 Set TeachLatch 0 TeachLatch ACK Verify T Ready 1 Teach will TeachLatchACK execute on next trigger www bannerengineering com tel 763 544 3164 171 iVu Plus TG User Manual Trigger A Y X Y Z X RPI TriggerACK Set Trigger 0 Set 0 Verify Ready 1 TriggerACK 4 2 a Or lt oo D Dy ER www bannerengineering com tel 763 544 3164 Rev C 172 iVu Plus TG User Manual Gated Trigger RPI 1 X X Y X Y Z M N Gated Trigger Ready Gated Trigger ACK Set Set GatedTrigger GatedTrigger 1 0 Abort Set GatedTrigger 0 Set GatedTrigger 1 Inspection could not be completed em AAA A AA GatedTriggerACK 44 Read Results 11 8 Error Codes The iVu Plus sensor provides error codes in cases when commands failed to execute successfully If such an error occurs the Execution Error flag is set in the Output Bits Status Register When this bit is set read the Error Code register to know the reason of failure B
65. Ss 184 Write the number 102 as a 16 bit integer into the Command ID register Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register www bannerengineering com tel 763 544 3164 Rev C 12 Debugging Inspections 12 1 How to Round Trip Debug Using the Emulator The iVu Emulator is a Windows application that allows you to operate in a Windows environment exactly as you would on the sensor itself In general the Emulator is an inspection debugging tool you can import stored inspections and configuration from an iVu sensor then modify its parameters on the emulator and restore the updated configuration back to the sensor When you install the Vu Emulator by default it is installed in the following folder C Program Files Banner Engineering iVu Series You can run the Emulator from this folder but you will need to move files between the USB drive and PC To avoid moving files you can copy the Emulator executable to the USB drive and run the Emulator directly from the USB drive This how to d
66. _history command group 106 match_result command group 105 maximum pass count 24 26 67 74 menu Display Settings 51 Configuration 35 Mode 35 System 35 minimum pass count 24 26 67 74 Mode menu 35 motion parameters area range 24 66 intensity range 24 motion settings 28 number of edges 28 77 rotation 28 77 sensitivity 28 77 motion settings 28 N number of edges 28 77 P pass count parameter 24 26 67 74 percent match 26 27 72 productchange command group 102 properties inspection name 29 properties menu 28 R rotation parameter 28 77 BANNER more sensors more solutions rotation range 26 27 73 RS 232 19 79 S sample application command channel 80 data export 82 image export 83 Save to USB 36 saved patterns 27 sensitivity 28 77 sensor display 57 sort menu saved patterns 27 Sort Menu 26 sort parameters rotation range 27 timeout 26 28 sort_history command group 106 sort_result command group 106 status command group 100 strobe external 33 internal 33 system command group 100 System Logs 55 System menu 35 T timeout 26 28 Touchscreen Calibration 52 trigger 31 trigger command group 101 U USB loading from 36 saving to 36
67. across inspec tions When inspection has multiple sensors the first 5 sensor results will be shown starting at offset 55 Each sensor result will occupy 20 words The following is a table of PCCC PLC Input Registers Map N7 when using Default Map setting piesa i os femme CE ES an I ommermpnn e Be ETICO TA a est gr CT OC DS CTS CONS ENEE Rev C www bannerengineering com tel 763 544 3164 163 iVu Plus TG User Manual 173 174 Command Response Int32 32 bit integer 175 176 Command Response Float 177 178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Array If the inspection contains more than 5 sensors the sensor s after the Sth one will not be on the map Area Range Min 32 bit integer Area Range Max 32 bit integer Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer 164 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Rev C www bannerengineering com tel 763 544 3164 165 iVu Plus TG User Manual Custom Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Custom Allows customization of fix sensor data on the map Select data items of interest for each sensor type Recommended when execution order of sensor types vary across inspections or when using mo
68. ample of the sensor configured as an Area sensor see Demo Mode Rev C www bannerengineering com tel 763 544 3164 23 iVu Plus TG User Manual ROI Type Main Menu gt Inspection gt Sensors gt Area gt ROI Type The Region of Interest ROI is the user defined area on the screen that the sensor will analyze The ROI Type can be rectangular elliptical or circular From the menu at the bottom of the ROI Type screen select the ROI Type to use for the inspection Adjust the ROI as appropriate for your inspection An ROI can be as large as the entire Field of View FOV Intensity Range Main Menu gt Inspection gt Sensors gt Area gt Intensity Range Intensity Range is the range of gray scale values the sensor should look for To set the Intensity Range use the eye dropper on the left of the screen to select the target feature then use the slider bar at the bottom of the display to fine tune the selection As the slider bar is moved green highlighted areas indicate objects the sensor finds Es NOTE Objects that are colored yellow are found but filtered out This is because the objects fall outside of the Area Range See Area Range to adjust this setting Area Range Main Menu gt Inspection gt Sensors gt Area gt Area Range The Area Range is used to set the size limits of a feature of interest Use the slider bar at the bottom of the display to select the range Areas are measured by counting pixels For example a rectan
69. annel export data This setting affects how the sensor will behave in this situation Select Hold READY to ensure that all frames are transmitted In this case the READY signal will remain inactive sensor is busy until the new frame has been added to the channel for transmission Triggers might be missed during this time Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and thus activate the READY signal immediately after the current inspection is complete In this case the discarded frames will not be trans mitted Command Channel Error Codes 00000 SUCCESS Command processed successfully EMPTY_FRAME_RECEIVED Indicates that the request was empty The command chan nel requires a command any arguments and an end of frame delimiter 10001 COMMAND NOT_RECOGNIZED The command specified is not recognized 10100 GROUP_MISSING A Group ID must be specified immediately after the com mand Grou 10101 GROUP_NOT_FOUND The specified Group ID is invalid unknown u ifi 10102 GROUP_ITEM_MISSING A Group Item ID must be specified immediately after the pID a ifi i 10103 GROUP_ITEM_NOT_FOUND The specified Group Item ID is invalid unknown 10152 NOT_READABLE Attempt to get a value that is not readable 10153 NOT_WRITEABLE Attempt to set a value that is not writeable 10251 WRONG_ARGUMENT_COUNT Total method arguments specified do not match method 10301 DATA_VALUE_MISSING Command missing item
70. array 131 Barcode 6 Type 16 bit integer 132 Barcode 6 Length 16 bit integer 133 150 Barcode 6 Data 32 bit length 32 byte array 151 Barcode 7 Type 16 bit integer 152 Barcode 7 Length 16 bit integer 153 170 Barcode 7 Data 32 bit length 32 byte array 171 Barcode 8 Type 16 bit integer 172 Barcode 8 Length 16 bit integer 173 190 Barcode 8 Data 32 bit length 32 byte array 9 Barcode 9 Type 16 bit integer 92 Barcode 9 Length 16 bit integer 193 210 Barcode 9 Data 32 bit length 32 byte array Barcode 10 Type 16 bit integer 212 Barcode 10 Length 16 bit integer 213 230 Barcode 10 Data 32 bit length 32 byte array z 5 CAM CCI gt 7 gt 33 50 Barcode 1 Data 32 bit length 32 byte array 51 Barcode 2 Type 16 bit integer 52 Barcode 2 Length 16 bit integer 53 70 Barcode 2 Data 32 bit length 32 byte array 71 Barcode 3 Type 16 bit integer 72 Barcode 3 Length 16 bit integer 73 90 Barcode 3 Data 32 bit length 32 byte array 91 Barcode 4 Type 16 bit integer 92 Barcode 4 Length 16 bit integer 93 110 Barcode 4 Data 32 bit length 32 byte array N E ca co EE CR Cu od E EQU S CE a Zu CE e 130 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Multiple Sensors Mapping Options When using an iVu Plus TG with multiple sensors in an inspection there are two mapping options Default and Custom Default Map Ma
71. ays ON option is not available 3 3 7 FOV Field of View Main Menu gt Imager gt FOV Rev C www bannerengineering com tel 763 544 3164 33 iVu Plus TG User Manual The field of view FOV is the area that the sensor can see at a given working distance The working distance is the distance from the sensor s lens cover to the part being inspected By default the sensor uses the entire FOV in its operation The effective FOV can be reduced in order to speed up the processing time of an inspection or to decrease background noise Maximize FOV Main Menu gt Imager gt FOV gt Maximize FOV If the FOV has been modified and you want to quickly get back to the default click the Maximize FOV menu option to restore the FOV to the entire sensor display Modify FOV Main Menu gt Imager gt FOV gt Modify FOV Use this option to reduce or alter the size of the FOV 34 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 4 System Menu Main Menu gt System The System menu icon is on the Main Menu and is used to manage the sensor The System menu provides for selecting Sensor Mode updating sensor firmware backing up and restoring sensor Configuration and other general system level operations 3 4 1 Mode Main Menu gt System gt Mode The sensor has two operating modes Live Mode which is the normal operating mode where the sensor captures live images scans and
72. bits get cleared or a new valid command is received Rev C www bannerengineering com tel 763 544 3164 113 a Start Clear all Output Flags y Optional If using Command ID set it and its Parameter value as required y Set Command Output Flag No ACK Flag set Yes Is Execution Error flag set No y Command execution successful Read value and input status flags as required 11 4 EtherNet IP The iVu Plus device is controlled by a ControlLogix PLC using assembly objects From the point of view of a PLC there are three input assemblies and two output assemblies Read Error Code Handle error condition 11 4 1 RSLogix5000 Configuration To create an implicit Class 1 configuration to the iVu Plus using EIP when using a ControlLogix family PLC configure the iVu Plus as a Generic EtherNet Module under the ENET_MODULE The following is a sample setup of Banner sensor 1 114 Add a generic EtherNet module to the PLC s EtherNet card www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual Rev C iVu Plus TG User Manual Rev C File Edit View Search Communications Tools Window su ma oo No Forces gt Fear No Edits la uv Di H tot la www bannerengineering com tel 763 544 3164 4E Ww 4 4 115 iVu Plus TG User Manual 2 Select Modu
73. black filled starting in the upper right Images larger than 640 X 480 will be cropped starting in the upper left 1 Copy the bmp files into the InspLog folder in the Vu Emulator install folder For example copy bmp files into the C Program Files Banner EngineeringliVu Series InsLog folder Es NOTE Remove any existing bmp or Log files in that folder to avoid confusion because the Emulator automatically runs all bmp Log files sequentially according to filename 2 Launch the Vu Emulator program 3 Select Internal Trigger on the Trigger Selection screen Main Menu gt Image gt Trigger and select Internal 4 Set the Trigger Interval as desired The Vu Emulator will be running using the bmp files from Step 1 Eu NOTE Banner does not recommend setting up inspections using these 8 bit grayscale images because you will always end up modifying the configuration after loading it on the sensor on the line A better choice would be to set up the inspection on the emulator using Inspection Logs from the sensor Rev C www bannerengineering com tel 763 544 3164 189 iVu Plus TG User Manual 14 LED Indicator Troubleshooting In normal operation the Power LED is steady green and the Pass Fail is green or red depending on the triggered inspection The Ether net 1 0 LED will be lit or off depending on connection status Power LED Green Power Red Error Pass Fail LED Green P ss Red Fail 3 Ethernet I O LED Green Co
74. bus TCP PCCC The Industrial Ethernet communication channel is disabled by default In order to enable this channel click on Main Menu gt System gt Communications gt Industrial Ethernet gt Connection Select the channel of interest EIP Modbus TCP or PCCC Only one type of connection can be established at any given time Information about an established connection can be obtained from Main Menu gt System gt Communications gt Industrial Ethernet gt Status screen Click on the connection of interest to view details This device provides extensive logging for the communication that occurs over the Industrial Ethernet connection Logs can either be viewed from Main Menu gt System gt Communications gt Industrial Ethernet gt View Logs or Main Menu gt Logs gt Communication Logs gt Industrial Ethernet 11 1 3 Set Trigger Mode The sensor can be triggered using either the hardware trigger or through over the Industrial Ethernet In order to only accept triggers generated through the Industrial Ethernet communication channel click on the Main Menu gt Imager gt Trigger and select Industrial Ethernet Only from the drop down menu Rev C www bannerengineering com tel 763 544 3164 111 iVu Plus TG User Manual 11 2 Supported Functions The iVu Plus Series sensor is controlled over EtherNet IP and Modbus TCP using the input and output data it makes available as a slave device for those protocols Here are some of t
75. communications channels To access the channels go to Command Channel a bi directional communication protocol that currently supports ASCII and enables other devices to remotely control the iVu Plus sensor and access sensor results Industrial Ethernet a bi directional communication channel that allows the user to control the sensor and access sensor results us ing Ethernet IP Modbus TCP or PCCC protocol Data Export used to export selected inspection data to a remote device Image Export used to export inspection images to a remote device Data export and command channel can be configured for either Ethernet or Serial I O but not both image export is only available over Ethernet The table below briefly summarizes valid communication channel configuration options Rev C www bannerengineering com tel 763 544 3164 19 iVu Plus TG User Manual 2 3 6 Trigger Modes The iVu Plus TG has five trigger modes that determine how the sensor captures and processes images External Internal Free Run Industrial Ethernet Only Command You can select one of the trigger modes by accessing Main Menu gt Imager gt Trigger on the Vu touch screen display 20 www bannerengineering com tel 763 544 3164 Rev C 3 Main Menu Reference 3 1 Main Menu The Main Menu has four sections Inspection to modify inspection settings Imager to run the Auto Exposure routine and to make adjustments to func
76. cted sensor down in the execution order a Edit name of selected sensor Once all the sensors are configured as required for the application the inspection Pass Fail criteria is determined by considering the results of the individual sensors An inspection is considered as PASS if ALL sensors in the inspection pass If any sensor fails the inspection is marked as FAIL 78 www bannerengineering com tel 763 544 3164 Rev C 7 Vu Plus Communications 7 1 Vu Plus Communication Summary of Ethernet and Serial The Vu Plus communicates with other devices via Ethernet or a UART serial communications port RS 232 In order to establish an Ethernet connection to the sensor the external device must be configured with the correct IP address and correct TCP port to communi cate To use the serial communications connection port settings for baud rate data bits parity and stop bits must be configured on the Vu Plus to match the settings of the external device 7 1 1 Communication Channels The Vu Plus TG supports up to four communications channels To access the channels go to Command Channel a bi directional communication protocol that currently supports ASCII and enables other devices to remotely control the Vu Plus sensor and access sensor results Industrial Ethernet a bi directional communication channel that allows the user to control the sensor and access sensor results us ing Ethernet IP Modbus TCP or PCCC
77. d You can also change the device name this using the iVu Emulator as described below Es NOTE If you are in a language other than English you cannot modify the device name using the software keypad Use the procedure described below Rev C www bannerengineering com tel 763 544 3164 187 Sar eg LE iVu Plus TG User Manual Es NOTE If you have not set the device name previously then folders will be named using the first 8 characters of the device serial number Plug a USB Thumb Drive into the device Save Device Configuration to the USB Thumb Drive Main Menu gt System gt Configuration gt Save to USB The locaton of these files on the USB Thumb Drive will be displayed after the operation is complete the device configuration is saved in lt USB gt BANNER lt DEVICE_NAME gt For example if the device name is myName the path will be lt USB gt BANNER myName Remove the USB drive from the device and insert it into an available USB drive on a Windows PC If running the Emulator from the USB launch the VuEmulator exe program If running the Emulator installed on a PC make sure the Emulator is not running and copy the Device Configuration from the USB Thumb Drive to the folder where the Emulator is installed on the PC For example if the device name is myName and the Vu Emulator is installed in the default location on the PC copy the file lt USB gt BANNER myName CONFIG CFG to C Program Files Banner Engineering iVu
78. d end of frame delimiters are lt comma gt lt colon gt lt semicolon gt lt CR gt lt CR gt lt LF gt lt LF gt lt CR gt or lt ETX gt c Optionally if you want to trigger the iVu from the control device set the trigger mode to Command go to Main Menu gt Imager gt Trigger and select Command from the drop down d Verify that the iVu receives and transmits data correctly 4 To enable Data Export over the serial connection a Go to Main Menu gt System gt Communications gt Data Export gt Connection and select Serial I O from the drop down Rev C www bannerengineering com tel 763 544 3164 89 Vu Plus TG User Manual c Goto Main Menu gt System gt Communications gt Data Export gt Output Format and select the Start String Delimiter and End String During the Data and Image export operation the sensor s output channels might become full This can occur if the sensor is producing export data frames faster than the data can be exported from the device due to bandwidth limitations or faster than the client is reading the channel export data This setting affects how the sensor will behave in this situation 90 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Select Hold READY to ensure that all frames are transmitted In this case the READY signal will remain inactive sensor is busy until the new frame has been added to the channel for transmission Tr
79. d pull down to allow all information to show Rev C www bannerengineering com tel 763 544 3164 45 iVu Plus TG User Manual Output Format Main Menu gt System gt Communications gt Data Export gt Output Format In the Output Format screen use the drop down lists to select Start and End Strings as well a delimiter In the field at the bottom of the screen is an example of how the data will look when it is output Data Export Advanced Main Menu gt System gt Communications gt Data Export gt Advanced During the Data and Image export operation the sensor s output channels might become full This can occur if the sensor is producing export data frames faster than the data can be exported from the device due to bandwidth limitations or faster than the client is read ing the channel export data This setting affects how the sensor will behave in this situation Select Hold READY to ensure that all frames are transmitted In this case the READY signal will remain inactive sensor is busy until the new frame has been added to the channel for transmission Triggers might be missed during this time Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and thus activate the READY signal immediately after the current inspection is complete In this case the discarded frames will not be transmitted 46 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Ma
80. d to save them to a USB device A lock icon in the upper left corner of the sensor display indicates that the sensor is locked Note that the sensor can be locked with or without a password If a password is not used unlock the sensor by clicking on the Unlock Device menu When a password is used it must be 4 digits entered using the software keypad If the password is lost use the Password Reset Utility software provided in the CD to obtain a Reset Key Es NOTE This menu option is not available on the Emulator 3 4 5 Communications Menu Main Menu gt System gt Communications The Communications menu is used to configure the serial and ethernet I O channel There are six menu options Ethernet I O for configuring the Ethernet port Serial I O for configuring the Serial port Industrial Ethernet settings Command Channel for enabling or disabling the Ethernet or Serial channels so that it sends and receives data Data Export Channel for enabling or disabling the channel for data export only Image Export Channel for enabling or disabling the channel for image export only Es NOTE Either Data Export Channel Image Export Channel OR Command Channel can be enabled at a time Serial I O can only be configured for either Data Export or Command Channel Image Export is only available for Ethernet Port Settings for Ethernet I O Main Menu gt System gt Communications gt Ethernet I O Rev C www bannerengineering com tel
81. e NPN then you will only need to enable Input Pullup here if that device does not have its own pullup resistor Otherwise this should be disabled Output Type Main Menu gt System gt Discrete I O gt Output Type Select NPN to configure the sensor s outputs to sink current Select PNP to configure the sensor s output for source current Output 1 2 and 3 Main Menu gt System gt Discrete I O gt Output Output 1 2 and 3 are setup separately to improve flexibility and simplicity Rev C www bannerengineering com tel 763 544 3164 49 iVu Plus TG User Manual Output can be configured for Inspection Pass Inspection Fail Sensor Pass Sensor Fail Sort Pattern 1 Missed Trigger or System Error A Missed Trigger condition occurs when a trigger is received while sensor is busy inspecting the pervious image This output signal will be set to active state This signal will be reset up on resetting the History on the statistics page A System Error condition occurs when a fatal error is detected on the sensor This output signal will be set to active state This signal can be reset upon resetting the History on the statistics page or executing a ClearSystemError command through command chan nel The default setting is Pass and Latched for Output 1 If Pulsed is selected the default Pulse width is 50 ms Es NOTE For Latched the signal is active until the results of an inspection cause a change in the signal ou
82. e information Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register Read the current Exposure Time value in microseconds in the Command Response Int32 register Set the desired Exposure Time for the iVu Plus Write the number 52 as a 16 bit integer into the Command ID register Write the desired Exposure Time in microseconds as a 32 bit integer value into the Command Parameter Int32 register The minimum acceptable value is 117 usec and the maximum value is 1 000 000 usec Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register The new exposure time will be used for the next inspection Please note that this value is not saved to the iVu s permanent memory unless the Save Configura tion task is completed Save iVu Configuration This command saves all modified inspection and configuration parameters to the iVu Plus including Command Channel changes to ex posure time and gain trigger mode barcode compare string and or mask and Remote Teach sessions O
83. e new frame if the channel is full and thus activate the READY signal immediately after the current inspection is complete In this case the discarded frames will not be transmitted Rev C www bannerengineering com tel 763 544 3164 47 iVu Plus TG User Manual Eu NOTE This setting affects both the Data Export Channel and Image Export Channel mage Export channels 3 4 6 Discrete I O Main Menu gt System gt Discrete I O The Discrete I O options are used to adjust Vu input and output settings Input Polarity Main Menu gt System gt Discrete I O gt Input Polarity The iVu has two input signals Trigger and Remote Teach Both these signals are edge sensitive The operation of these signals is dependent on the Input Polarity setting Low To High The Trigger and Remote Teach are detected on a low to high transition of the signal High To Low The Trigger and Remote Teach are detected on a high to low transition of the signal The default setting for a PNP sensor is Low To High and for an NPN sensor it is High To Low The user can change the setting on the Input Polarity screen 48 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual gt Low To High High To Low Input Pullup Main Menu gt System gt Discrete I O gt Input Pullup By default the Input Pullup is disabled If the device used to trigger and remote teach the iVu sensor is a Sinking devic
84. ection gt Properties gt Inspection Name The Inspection Name screen displays the name of the current inspection You can edit the name of the inspection here Inspection ID Main Menu gt Inspection gt Properties gt Inspection ID Click on the dropdown arrow to view a list of IDs assigned to all inspections on this device Choose any unused ID to change the ID of this inspection The original ID will be marked as Unused You may also swap the ID of this inspection with another inspection by selecting that inspection on the list 3 2 4 Stored Inspections Menu Main Menu gt Inspection gt Stored Inspections Stored Inspections is used to manage stored inspections Management of stored inspections includes adding deleting and specifying which inspection should be defined as the Startup inspection From the Stored Inspections menu click Select Add New Startup Delete or Set Name ID Select Main Menu gt Inspection gt Stored Inspections gt Select The Select button identifies which inspection to update start Add New Main Menu gt Inspection gt Stored Inspections gt Add New Rev C www bannerengineering com tel 763 544 3164 29 iVu Plus TG User Manual The Add New button is to add a new inspection The sensor can store up to 30 inspections When you add a new inspection it will begin running When adding a new inspection the Sensor Type and inspection name will be set Startup Main Menu gt Inspection
85. ection Logs can be held in memory on the sensor The next ten overwrite the previous Inspection Logs can be saved to the USB drive so that the logs can be imported to the emulator View Logs Main Menu gt Logs gt Inspection Logs gt View Logs Inspection Logs appear as a strip of film You can select a frame to view a specific image Use the icon in the lower right of the screen to save the logs to the USB drive Logs saved to the USB drive can be imported into the emulator Click the Clear button to clear Inspection Logs Rev C www bannerengineering com tel 763 544 3164 53 iVu Plus TG User Manual The View Inspection Log screen is used to debug an inspection and shows one inspection in read only mode Click the upper left icon to cycle through views When in Statistics view the table title has arrows to switch between Inputs and Results of the Inspection Use the left and right arrow keys at the bottom of the screen to navigate through the all stored Inspection Logs Setup Main Menu gt Logs gt Inspection Logs gt Setup Use the radio buttons to Disable Logging to log Passed Inspections Failed Inspections or All Inspections 54 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 5 2 System Logs Main Menu gt Logs gt System Logs The System Log contains configuration change information other notifications and any errors or warnings that may be encountered The list is sort
86. ed in descending order with respect to time The Time associated with each event consists of the Hour Count lifetime hours of operation and the Up Timer time elapsed since last boot Click the icon in the upper left corner of the screen to show hide the time column Click Clear Log button at the bottom of the screen to clear the System Log Click the icon at the lower right of the screen to save the System Log to the USB drive Es NOTE System log will not log changes while in Demo mode Additionally the Emulator does not log changes 3 5 3 Communication Logs Main Menu gt Logs gt Communication Logs The Communication Log contains logs for the four communications channels Industrial Ethernet Command Channel Data Export and Image Export The features below are available for each of the logs Click the icon in the upper left corner of the screen to show hide the time column Click Clear Log button at the bottom of the screen to clear the log Click the icon at the lower right of the screen to save the Log to the USB drive Es NOTE Communication log will not log changes while in Demo mode Additionally the Emulator does not log changes Industrial Ethernet Log Main Menu gt Logs gt Communication Logs gt Industrial Ethernet Log The VuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet IP Modbus TCP or PCCC protocols This document will help you to set up the Vu Plus in the
87. ed to fall within the specified criteria These settings are used to determine the pass or fail result of the inspection Set the Minimum Pass Count and Maximum Pass Count as appropriate In the Demo both are set to 1 Count Minimum Pass Count 1 Maximum Pass Count 1 Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad To complete the Match application setup set triggering as appropriate for your application 6 4 1 Remote Teach The Remote Teach function is a method of remotely updating inspection parameters while the iVu sensor is running Remote Teach is only available when the iVu is configured as a Match sensor The sequence of events for executing a Remote Teach are With the sensor Ready pulse the Remote Teach line The sensor recognizes that the Remote Teach line has been pulsed and waits for the next valid trigger At the next valid trigger Ready goes inactive the Green Ready LED shuts OFF and the sensor acquires a new image The sensor learns the new pattern and performs the analysis BoM 6 5 Configuring a Sort Application This section describes how to configure a Sort application using the Demo application as a reference 74 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Es NOTE By default the Trigger is set to Internal and will continuously trigger based on a time interval setting This may make i
88. eesassnseetessneeteerenees 185 12 1 1 How to Debug Using the Emulator from a PC 185 12 1 2 How to Debug Using the Emulator from the USB Flash Drive ose cecseeesssesseeeseeseeeeseeseeteseeneeessneneetesteneeseans 186 13 Vu Series Updating the Sensor nine 187 13 CUpdate Process isn ae ee an ae et ne te da dae RS teen 187 13 2 How to Set or Modify a Device Name iii 187 13 3 How to Reset the Sensor Password in 188 13 4 How to Use Bitmap Image Files with the Vu Emulator oo scscecesesesecsesseeeesesneeessesneeeeatsnseteaseneeeenneneesenteneeseaneneeseaes 189 14 LED Indicator Troubleshooting sn 190 MAS o ano e inline Matas any 190 ANN 190 4 Rev C 1 Product Support and Maintenance This section provides general Banner resources and specific documentation for installers and operators of this iVu Plus TG Vision Sen sor A WARNING Not To Be Used for Personnel Protection Never use this device as a sensing device for personnel protection Doing so could lead to serious injury or death This device does NOT include the self checking redundant circuitry necessary to allow its use in personnel safety applications A sensor failure or malfunction can cause either an energized or de energized sensor output condition 1 1 Product Support Banner provides the following resources for quickly setting up and operating the device Documentation Online Help When setting up or monitoring inspections using the iVu sensor s integrated display
89. ellow and the icon in the upper right of the screen should indicate fail Adjust the Rotation Range The Rotation Range sets the expected rotation of parts or labels during an inspection For exam ple a value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still pass Move the slider from 0 to 180 degrees Note that the smaller the rotation range the faster the inspection will run Es NOTE Rotations Range and Percent Match work together The higher the Percent Match the lower the Rotation Range to pass In the previous example a 99 match is too high for any rotation In the next graphic the Percent Match has been lowered to 92 which will still fail a missing letter To set the Rotation Range Move the slider at the bottom of the screen to the desired rotation If you are verifying that a label is correctly applied to a container that is on straight you will want to set a small rotation If you want to make sure that the correct label is present no matter how the part is oriented in the Field of View then the rotation range will be set to its maximum 90 which is the setting for the Demo Rev C www bannerengineering com tel 763 544 3164 73 iVu Plus TG User Manual Set the Pass Count parameter The Minimum Pass Count is the minimum number of parts labels or features expected to fall within the specified criteria the Maximum Pass Count is the maximum number expect
90. elow is the list of error codes 00000 SUCCESS Command processed successfully EMPTY_FRAME_RECEIVED Indicates that the request was empty The command chan nel requires a command any arguments and an end of frame delimiter 10001 COMMAND NOT_RECOGNIZED The command specified is not recognized Rev C www bannerengineering com tel 763 544 3164 173 iVu Plus TG User Manual GROUP_MISSING A Group ID must be specified immediately after the com mand 10100 10101 10102 GROUP_NOT_FOUND The specified Group ID is invalid unknown GROUP_ITEM_MISSING A Group Item ID must be specified immediately after the Group ID GROUP_ITEM_NOT_FOUND The specified Group Item ID is invalid unknown 10103 10152 10153 10250 10251 10252 NOT_READABLE Attempt to get a value that is not readable NOT_WRITEABLE Attempt to set a value that is not writeable WRONG_ARGUMENT_COUNT COMMAND_NOT_FINISHED not finished 10300 10301 10350 10351 10340 10341 10500 10900 ARGUMENTS_DETECTED Get command received with unneeded arguments INVALID_ARGUMENT_TYPE Item ID specified must be a item not a group or method MINIMUM_VALUE_EXCEEDED New item value is below the minimum MAXIMUM_VALUE_EXCEEDED New items value is above the maximum DATA_SET_EMPTY Data export operation returned no results SENSOR_NOT_READY Command specified requires sensor to be in the READY state SENSOR_TYPE_NOT_ACTIVE REMOTE_DISPLAY_NOT_CONNECTED REMOTE_DISPLAY_
91. energize the imager Increasing the exposure time by moving the slider to the right allows more light to energize the imager which brightens the image 2000 us a 3 3 3 Gain Main Menu gt Imager gt Gain Gain is an electronic boost to the image signal Increasing Gain by using the and keys or moving the slider to the right increases image brightness without increasing exposure time Note that Gain brightens both the light pixels and dark pixels and may reduce the image quality 3 3 4 Trigger Main Menu gt Imager gt Trigger A Trigger is a signal that makes the sensor capture an image and inspect it Use the radio buttons to select either External Trigger Internal Trigger Free Run Industrial Ethernet Only or Command Es NOTE The default is Internal Trigger If Internal Trigger is selected triggers are based on timed intervals and you need to select a trigger interval between 10 and 10000 milliseconds Rev C www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual Es NOTE If the interval is less than the inspection time then missed triggers will occur If External Trigger is selected inspections are triggered in response to an electrical signal on the Trigger input line If Free Run is selected the sensor automatically runs continuous inspections If Command is selected the command channel is used to trigger the sensor from a remote device
92. ermine the pass or fail result of the inspection EA NOTE Start with the Maximum Pass Count the Minimum will not allow it to be more than the maxi mum Ex Count Minimum Pass Count gt 6 Maximum Pass Count 6 Set the Minimum Pass Count and Maximum Pass Count as appropriate In the Demo both are set to 6 since the inspection should find six letters The green check in the upper left corner indicates the sensor inspection passed Eu NOTE Remote Teach does not work with the Area Sensor type Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad To complete the Area application setup set triggering as appropriate for your application 6 3 Configuring a Blemish Sensor This section describes how to configure a Blemish sensor using the Demo application as a reference Rev C www bannerengineering com tel 763 544 3164 67 iVu Plus TG User Manual Es NOTE By default the Trigger is set to Internal and will continuously trigger based on a time interval setting This may make it more difficult to make adjustments while setting up the sensor The best practice is as fol lows Go to the Main Menu gt Imager gt Trigger menu and select External thernet Only Make sure there is no external trigger input Use the Trigger icon in the lower right of the screen to manually trigger the sensor to capture an image as yo
93. ers in a pack have been filled with unbroken tablets To verify each blister in the pack use an iVu Series sensor configured for an Area inspection The sensor inspects each blister pack to make sure that each blister contains an unbroken tablet 8 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 2 1 3 Vial Stopper Inspection In the pharmaceutical industry where vials are filled with tablets in a high speed application as soon as each vial is filled a stopper must be properly inserted into the vial To ensure that a stopper is properly inserted as each vial leaves the filling station an Vu Series sensor set up for an Area application and motion parameters enabled verifies that the vial has a stopper inserted into its neck and that the stopper is positioned correctly to provide a proper seal on the glass vial If the stopper is missing or incorrectly positioned then the sensor sends a fail output to the line 2 2 Installing the Sensor 2 2 1 Installing and Connecting the Sensor y a N The Vu Plus TG sensor requires a bracket for mounting Three brackets are available from Banner The brackets allow the sensor to be mounted either perpendicular to the part or at an adjustable angle Rev C www bannerengineering com tel 763 544 3164 9 iVu Plus TG User Manual SMBIVURAL o SMBIVURAR o SMBIVUU S Thread three M4 x 4mm screws through the bracket into the mounting holes in the bottom o
94. es communication across diverse interconnected networks Show icon in notification area when connected Notify me when this connection has limited or no connectivity 4 In the Internet Protocol TCP IP Properties dialog select Use the following IP address and make sure that the IP address is 192 168 0 2 and the subnet mask is 255 255 255 0 84 www bannerengineering com tel 763 544 3164 1 Open Network Connections by clicking on the Start button then selecting the Control Panel followed by Network and In ternet and clicking Manage network connections 2 Right click the connection you want to change then click Properties If you are prompted for an administrator pass word or confirmation type the password or provide confirma tion 3 In the Networking dialog click on Internet Protocol Version 4 TCP IPv4 and click the Properties button j 4 Local Area Connection Properties ua Networking Connect using AP Generic Marvell Yukon 88E8057 PCI E Gigabit Ethemet C This connection uses the following items M 2 Client for Microsoft Networks M1 E QoS Packet Scheduler M 8 File and Printer Sharing for Microsoft Networks M Intemet Protocol Version 6 TCP IPv6 OE Iniemet Protocol Version 4 TCP 1Pv4 M a Link Layer Topology Discovery Mapper 1 0 Driver M a Link Layer Topology Discovery Responder instal l Properties Description Transmission Control Protoco
95. escribes the procedures for doing round trip debugging either using the iVu Emulator installed on a PC or using it directly from the USB Thumb Drive Es NOTE This document refers to saving configuration and inspection logs in folders based on the sensor name If you have not yet named the sensor then folders will be named using the first 8 characters of the sensor serial number 12 1 1 How to Debug Using the Emulator from a PC 1 Plug a USB Thumb Drive into the sensor 2 Save Inspection Logs to the Thumb Drive a On the Main Menu gt Inspection Logs gt View Logs screen click the Save icon to save the inspection logs b When prompted select Yes to save sensor configuration along with the Inspection Logs The location of these files on the USB Thumb Drive will be displayed after the operation is completed The Inspection Logs are saved in lt USB gt BANNER lt SENSOR_NAME gt InspLog and the sensor configuration is saved in lt USB gt BANNER lt SENSOR_NAME gt For example if the sensor name is myName Configuration File CONFIG CFG path lt USB gt BANNER myName Inspection Logs path lt USB gt BANNER myName InspLog Es NOTE If the sensor has no name then the folder is the first 8 characters of the serial number 3 Remove the USB drive from the sensor and insert it into an available USB port on a Windows PC that has the Vu Emulator instal led Important Make sure the iVu Emulator is NOT running before going
96. etting all strings used in commands are enclosed in quotation marks All text in quotes is part of the command Quotes or back slashes that are part of the string must be escapted with a back slash For example abc def ghil jkl Set the String Delimiter parameters to None if strings should not be enclosed in quotation marks 9 1 3 Command Channel Command Synopsis There are a number of general types of commands to do set and get sensor data Command Channel Response Frames The iVu responds to all request frames with one or two responses depending on the type of command Do commands All do commands are followed by one response that identifies the command status For example gt gt do trigger x0D x0A lt lt OK x0D x0A Get commands All get commands are followed by two responses the first identifies the status of the command and the second con tains the retrieved information For example gt gt get bcr_input comparedata x0D x0A lt lt OK x0D x0A lt lt 012345ABCDEF x0D x0A Set commands All set commands are followed by one response that identifies the command status For example gt gt set bcr_input comparedata 012345ABCDEF x0D x0A lt lt OK x0D x0A Rev C www bannerengineering com tel 763 544 3164 97 iVu Plus TG User Manual Command Channel Command Status The command status is either OK or ERROR If OK then the command has fully and successfully completed If an error is
97. f the sensor Tighten all three screws Installing a Filter on iVu Series Sensors Installing a Filter on the Micro Lens Model To install a filter on the iVu Series sensor with Micro Lens use the illustration as a guide and follow the steps listed below A CAUTION Failure to follow these instructions can cause damage to your iVu Series sensor Tres I o fws 1 Use the 1 16 hex key to remove the Focusing Window locking screw D ic Attention The Locking Clip C inserts in a groove near the top of the Focusing Window B When removing the window the Locking Clip will be loose Be careful not to lose the clip while removing the window 2 Unscrew the Focusing Window by turning it clockwise approximately 5 complete turns or until the Focusing Window disengages from the light lens assembly 10 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual i Attention The light lens assembly may include an integrated ring light or a blank disk if an integrated ring light is not used Be careful that the light lens assembly does not pull out when removing the Fo cusing Window Give a slight tug on the Focusing Window when you think you ve unscrewed it far enough If the lens assembly moves with the window continue to rotate the window clockwise until the lens assembly does not move Set the Focusing Window aside Be careful not to get any debris on the window s O ring If present remove the protective covering o
98. ge use the eye dropper on the left of the screen to select the target feature then use the slider bar at the bottom of the screen to fine tune the selection E mem a CoN B A IN N ERR l gt 5 0 134 E E Es NOTE To get to the other parameters click the back arrow gt click inside the ROI gt click the black sen sor name button Adjust the Area Range The Area Range is used to set the size limits of a feature of interest Use the slider bar at the bottom of the display to select the range As the range narrows the highlighted area turns yellow Areas are measured by counting pixels For example a rectangular feature that is 100 pixels wide by 200 pixels tall will have an area of roughly 20 000 pixels The screenshot indicates that the areas that are white are now within range of the inspection 66 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Move the slider at the bottom of the screen to the to the desired area range In the Demo example the Area Range is adjusted so that each letter is identified as a found object indicated by the green highlight and the blue Set the Pass Count parameter The Minimum Pass Count is the minimum number of parts labels or features expected to fall within the specified criteria the Maximum Pass Count is the maximum number expected to fall within the specified criteria These settings are used to det
99. ghlight into a bold dotted line that can be resized MELO orti Areal Blemishi Match ROIT ROI Type ROI Type e RO ype YP Percent Watch Saved Patterns Intensity Range Sensitivity E Percent Match Rotation Range 3 Area Range Edge Length Range Rotation Range Pass Count Pee Pass Count Pass Count Pass Criteria Timeout Timeout The ROI type is the shape of the area of inspection The ROI can be a rectangle circle or ellipse Rectangle The Sensitivity slider is used to fine tune how much or how little contrast the sensor will recog nize within the ROI The Sensi tivity value helps account for light variations that might affect Saved Patterns is where to how well the sensor detects manage saved patterns includ edges The Sensitivity scale is ing rename or delete from 0 to 100 where 0 means least sensitive and 100 means most sensitive If set near 0 the sensor will only find very sharp edges with strong contrast If Intensity Range is the range of gray scale values the sensor should look for To set the Inten sity Range use the eye dropper on the left of the screen to se lect the target feature then use the slider bar at the bottom of the display to fine tune the se lection As the slider bar is moved green highlighted areas indicate objects the sensor finds Rev C www bannerengineering com tel 763 544 3164 63 The Area Range is used to set the size limits of a feature of in terest Use the
100. gular feature that is 100 pixels wide by 200 pixels tall will have an area of roughly 20 000 pixels Pass Count Main Menu gt Inspection gt Sensors gt Area gt Pass Count The Minimum Pass Count is the minimum number of parts labels or features expected to fall within the specified criteria the Maximum Pass Count is the maximum number expected to fall within the specified criteria These settings are used to determine the pass or fail result of the inspection Blemish Menu Main Menu gt Inspection gt Sensor gt Blemish When configured as a Blemish sensor it can be used to find flaws on a part for example scratches on a disc It can be used to make sure the a feature exists on a part Although this is more commonly an application for a sensor configured as an Area sensor a Blemish sensor may be a better option to find a feature when dealing with variable materials or uneven lighting Some sample applications in clude Inspections that check for scratches on a part and reject parts where the scratches are too numerous or larger than acceptable Inspections that check for the presence of some label or marking on a part that may vary in color To configure as a Blemish sensor select the ROI type and set the Sensitivity Size Filter and Pass Count 24 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual ROI Type Main Menu gt Inspection gt Sensors gt Blemish gt ROI Type The Region
101. h does not work with the Blemish Sensor type 6 4 Configuring a Match Sensor This section describes how to configure a Match sensor using the Demo application as a reference 70 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Es NOTE By default the Trigger is set to Internal and will continuously trigger based on a time interval setting This may make it more difficult to make adjustments while setting up the sensor The best practice is as fol lows Go to the Main Menu gt Imager gt Trigger menu and select External thernet Only Make sure there is no external trigger input Use the Trigger icon in the lower right of the screen to manually trigger the sensor to capture an image as you set up and test Capture images of a range of samples to set up from the worst good part to the best bad part Start the setup with a good part Normally each part to be tested will be centered in the Field of View FOV Teach the sensor a good reference part 1 Adjust the Region of Interest ROI The ROI is a dotted box as shown The color of the box depends on the inspection parameters red for fail green for pass 3 Resize the ROI so that it surrounds just the feature of interest In the Demo example the feature of interest is the Banner logo Rev C www bannerengineering com tel 763 544 3164 71 Vu Plus TG User Manual AY ff Es NOTE When runni
102. h operation on the next trigger This command can be performed using the sensor s touchscreen Examples gt gt do teach x0D x0A lt lt OK x0D x0A 9 4 ProductChange Command Group ProductChange Forces the sensor to switch to the specified inspection The sensor does not transmit a response until the sensor has completed the action Inspections results will be invalid until the next trigger ProductChange InspectionNames List of all inspections stored in the sensor Examples 102 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual gt gt get productchange inspectionnames x0D x0A lt lt OK x0D x0A gt gt do productchange inspection2 x0D x0A lt lt OK x0D x0A 9 4 History Command Group The number of passed inspections The number of failed inspections MissedTriggers The number of missed triggers TotalFrames The total number of inspections since the history was last Cleared MinInspectionTime The minimum elapsed time msec of the inspection MaxInspectionTime The maximum elapsed time msec of the inspection Clear Clears all history fields for example pass fail sensor his tory etc gt gt get history passed x0D x0A lt lt OK x0D x0A lt lt 13 x0D x0A Examples gt gt get history startframenumber x0D x0A lt lt OK x0D x0A lt lt 3 x0D x0A gt gt do history clear x0D x0A lt lt OK x0D x0A 9 4 Inspection Command Group Get Inspect
103. hannel over Ethernet a Go to Main Menu gt System gt Communications gt Command Channel gt Connection and select Ethernet IP Port 32000 b Configure the field and end of frame delimiters Go to Main Menu gt System gt Communications gt Command Channel gt Delimiters Rev C www bannerengineering com tel 763 544 3164 85 iVu Plus TG User Manual get tool result Y lt datal gt lt data2 gt Valid end of frame delimiters are lt comma gt lt colon gt lt semicolon gt lt CR gt lt CR gt lt LF gt lt LF gt lt CR gt or lt ETX gt c Verify that the iVu receives and transmits data correctly 3 To enable Data Export over Ethernet a Go to Main Menu gt System gt Communications gt Data Export gt Connection and select Serial I O from the drop down c Go to Main Menu gt System gt Communications gt Data Export gt Output Format and select the Start String Delimiter and End String lt datal gt lt data2 gt x0D xiA es d Go to Main Menu gt System gt Communications gt Data Export gt Advanced 86 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual During the Data and Image export operation the sensor s output channels might become full This can occur if the sensor is producing export data frames faster than the data can be exported from the device due to bandwidth limitations or faster than the client is reading the ch
104. he Sensor operations that can be performed using input and output values Product Change Teach Enable Trigger the sensor Read output indicators pass fail ready error Read counters pass fail system error missed trigger frame count iteration count Read Vu sensor results On Barcode change compare string and its mask 11 2 1 iVu Input Values The operation of the iVu Plus Series sensor can be controlled through input bits and commands Register Input Coil Bits The following commands can only be executed using bits Product Change Execute a product change inspection number specified in the Product Change Num ber 32 bit integer register Teach Latch Latch a teach flag Teach is executed on next trigger Causes system to trigger an inspection if ready 5 seen ESTOS 112 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 2 2 iVu Output Values Using output values the following information can be obtained ACK bits acknowledgement bits for input commands including error codes System indicators Ready Pass Fail Read No Read Output signals Command Error etc e Inspection History Iteration Count Pass Count Fail Count etc Current Inspection Results data of the sensor type contained in the inspection Command Responses Refer to sections on protocols to get more information ACK Flags For each of the Command Flags there is a corresponding
105. hen the sensor is busy either inspection times are long and or no idle time exists between inspections Disable this feature if Missed Triggers occur due to touchscreen presses With this setting disabled the display may become sluggish when the sensor is busy Optimize Display Response 3 4 8 Reboot Sensor Main Menu gt System gt Reboot Sensor The Reboot Sensor screen allows you to force a reboot of the sensor Es NOTE This option is not available on the Emulator 3 4 9 Firmware Update Main Menu gt System gt Firmware Update The Firmware Update screen is used to load the latest sensor firmware The Firmware Update screen lists the firmware versions it finds in the BANNER FIRMWARE folder on the USB drive When you receive a firmware update from Banner Engineering be sure to put it in the BANNER FIRMWARE folder on the USB drive Eu NOTE The Firmware Update menu is not available on the Emulator 52 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 9 Logs Menu Main Menu gt Logs The Logs menu icon is on the Main Menu and is used to set up view and save Inspection Communication and System Logs 3 5 1 Inspection Logs Main Menu gt Logs gt Inspection Logs This menu provides for configuring and viewing Inspection Logs Inspection Logs are stored inspection records that include a captured image the parameters used to inspect it and the results of that inspection Up to ten Insp
106. iggers 32 bit integer 30284 301 Barcode 3 Data i length 32 byte ar 30015 16 Curent Inspection Ti ti Current Inspection Time oa Barcode 4 Type 16 bit integer ow AE ce Barcode 4 Length 16 bit integer Barcode 4 Data 32 bit length 32 byte ar 30031 53 Inspection Name 2 Word Length ray 20 unicode ch pie DEE Barcode 5 Type 16 bit integer wee A Seb nteger Barcode 5 Length 16 bit integer mee Ser pe BEN Barcode 5 Data 32 bit length 32 byte ar 30057 Barcode Count 16 bit integer ray 30058 Barcode 1 Type 16 bit integer Barcode 6 Type 16 bit integer i Barcode 6 Length 16 bit integer 30059 Barcode 1 Actual Decoded 16 bit integer Data Length Barcode 6 Data 32 bit length 32 byte ar 30060 61 Barcode 1 Data Array Len 32 bit integer ray fj wo wolw amp wolw w wo wo o ollo olojo olol o ojlo ojl ojl j wo o N N N N RO N R gt RO NI ND o oO oO Oo Oo R gt N AJ wy ND Bil wy pm N N N gt N w oO Q E Es Oo 30062 163 Barcode 1 Data Array 100 Byte Array Barcode 7 Type 16 bit integer 30164 171 Barcode 7 Length 16 bit integer 30172 Command Status 16 bit integer 30364 81 Barcode 7 Data 32 bit length 32 byte ar 30173 Command Response Int16 16 bit integer Sel Barcode 8 Type 16 bit integer 2017677 nen 30404 21 Barcode 9 Data amp wl wo wo ollo ollo ojlo HR gt Qj j w ojlo
107. iggers might be missed during this time Select Do not hold READY to cause the sensor to discard the new frame if the channel is full and thus activate the READY signal immediately after the current inspection is complete In this case the discarded frames will not be trans mitted Rev C www bannerengineering com tel 763 544 3164 91 iVu Plus TG User Manual 8 Testing and Troubleshooting iVu Plus Communications 8 1 Understanding the Communication Log The iVu Plus sensor includes the following Communication Logs Command Channel Log that can be used to ensure that commands are properly formed syntax is correct and provides a history of commands issued along with responses to these commands To access the Command Channel Log go to Main Menu gt Logs gt Communication Logs gt Command Channel Data Export and Image Output logs that are purely output logs that is there is no receive activity to log Some notes about the logs To see an expanded view of each entry click on the small right triangle control on each entry To save the log click the save icon The saved communication log can be loaded into the emulator for troubleshooting offline The table below describes the icons used in the Communication Log the up arrow indicates an incoming request to the iVu from the control device the down arrow indicates an outgoing response from the iVu to the control device Indicates that the incoming en
108. ilizes TCP IP In addition EtherNet IP implements I O messaging I O messaging allows two devices Vu sensor and the PLC to continuously syn chronize data sets between each other These data sets are called Input and Output assemblies iVu device consumes PLC output as semblies and produces PLC input assemblies This exchange occurs continuously and the rate specified by the RPI requested Packet Interval value Rev C www bannerengineering com tel 763 544 3164 179 iVu Plus TG User Manual I O messaging is based on UDP IP and utilizes Multicast addressing when sending PLC input assemblies It is the default mode of operation for I O messages in PLCs Newer PLCs also support Unicast direct addressing for PLC input assemblies but need to be specially configured Because 1 0 messaging uses IDP IP and Multicast it requires special managed switches and customized switch configuration Man aged switches when properly configured prevent multicast devices from flooding the network with data Please consult your IT person to make sure that you have the correct switch type and that these switches have IGMP snooping enabled to allow them to manage multi cast groups In addition some switches with built in firewalls block UDP traffic by default If this is the case and if the path between your devices involves several switches or routers it is possible that some of them might block the UDP traffic necessary for I O messages Plea
109. in Menu gt System gt Communications gt Industrial EtherNet gt Map gt Default Automatically maps sensor data for each inspection Recommended when execution order of sensor types is the same across inspec tions When inspection has multiple sensors the first 5 sensor results will be shown starting at offset 55 Each sensor result will occupy 20 words The following is a table of EIP assembly 0x65 when using Default Map setting reg ET eg femme ECONO ES OMS TON AENA AMINO ESTETICA CC CT OC CTI CONS EEN Rev C www bannerengineering com tel 763 544 3164 131 iVu Plus TG User Manual 173 174 Command Response Int32 32 bit integer 175 176 Command Response Float 177 178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Array If the inspection contains more than 5 sensors the sensor s after the Sth one will not be on the map Area Range Min 32 bit integer Area Range Max 32 bit integer Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer 132 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Rev C www bannerengineering com tel 763 544 3164 133 iVu Plus TG User Manual Custom Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Custom Allows customizatio
110. in the Input Bits ACK Input Coil Bits ACK register Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information 5 Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register Read the current Trigger Mode value in the Command Response Int16 register 6 CIN en i a Te Set the desired Trigger Mode for the iVu Plus Write the number 1 as a 16 bit integer into the Command ID register Write the desired Trigger Mode s Int16 value from the above table into the Command Parameter Int16 register Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register Wait for the Command ACK flag to go from 0 to 1 bit 15 in the Input Bits ACK Input Coil Bits ACK register Verify that the Execution Error flag is not set i e value should be 0 This is bit 15 in the Output Bits Status Coil Bits register If the value is 1 read the Error Code register for more information 6 Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register Or Qh gt Set New Barcode Compare String This procedure assumes that the Data Compare feature is enabled found in the Inspection menu for the iVu Plus BCR 1 Write the number 11001 as a 16 bit integer into the Command ID register 2 Fill in the Command Parameters
111. ing up to 30 inspections of different Sensor Types Adding a New Inspection To Add a new stored inspection 1 Go Main Menu gt Inspection gt Stored Inspections and click Add New 2 Select the Sensor Type for the new inspection and click Next gt Inspection2 gt 3 Click Done The newly created inspection will now be the current inspection Changing Running Inspections To change the running inspection 1 From the Home screen click the Yellow button in the top center of the screen that displays the currently running inspection to display all the stored inspections Rev C www bannerengineering com tel 763 544 3164 17 2 Select the inspection to start and click the Start Running button that appears below it 18 www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual Rev C iVu Plus TG User Manual 2 3 5 Vu Plus Communication Summary of Ethernet and Serial The iVu Plus communicates with other devices via Ethernet or a UART serial communications port RS 232 In order to establish an Ethernet connection to the sensor the external device must be configured with the correct IP address and correct TCP port to communi cate To use the serial communications connection port settings for baud rate data bits parity and stop bits must be configured on the iVu Plus to match the settings of the external device Communication Channels The iVu Plus TG supports up to four
112. ion Status This status of the most recent inspection either Pass Fail or Idle no triggers The most recent inspection execution time in msec Examples gt gt get inspection status x0D x0A lt lt OK x0D x0A lt lt Fail x0D x0A Rev C www bannerengineering com tel 763 544 3164 103 iVu Plus TG User Manual gt gt get inspection executiontime x0D x0A lt lt OK x0D x0A lt lt 37 739 x0D x0A 9 4 AREA_RESULT Command Group AREA_RESULT Count The number of detected areas AREA_RESULT The size of the smallest detected area AREA_RESULT The size of the largest detected area Examples gt gt get area_result count x0D x0A lt lt OK x0D x0A lt lt 2 x0D x0A gt gt get area_result minarea x0D x0A lt lt OK x0D x0A lt lt 7665 x0D x0A 9 4 AREA_HISTORY Command Group Get AREA_HISTORY MinCount The minimum number of detected areas since history was last cleared Get AREA_HISTORY MaxCount The maximum number of detected areas since history was last cleared Get AREA_HISTORY MinArea The minimum detected area value since history was last cleared AREA_HISTORY The maximum detected area value since history was last cleared Examples gt gt get area history mincount x0D x0A lt lt OK xO0D x0A lt lt 1 x0D x0A gt gt get area_history minarea x0D x0A lt lt OK x0D x0A lt lt 7665 x0D x0A 9 4 BLEMISH_RESULT Command Group 104 www bannerengineering com tel 763 544
113. ion completes Rev C www bannerengineering com tel 763 544 3164 181 iVu Plus TG User Manual Save Configuration This command saves all modified inspection and configuration parameters This command blocks until all values have been persisted Sensor Name 10151 Sensor user assignable name Byte Array Model Number a a 10152 Sensor model number Byte Array Firmware Version fJ 10154 Sensor firmware software version Byte Array Hour Counter 10155 The total number of hours the sensor has been energized Byte Array History Clear History 301 This command clears all history fields for the active inspection History values include pass count fail count execution times and sensor specific history values BCR inputs Compare String 11001 The Barcode inspection compare data string This string must Byte Array start and end with the double quote character Compare Mask 11002 The Barcode inspection compare string mask in binary format Byte Array that is masked characters are indicated by a 1 and un masked characters are 0 Note that the mask character string must match the length of the compare string Inspection Name EE 10501 The name of the active inspection Byte Array Inspections will be initiated via the electrical trigger wire Inspections will run continuously at the specified period electrical trigger inputs are ignor ed Inspections will run continuously electrical trigger inputs are ignored
114. it integer and Output Coils on page 153 30003 4 32 bit integer 30005 6 Inspection Number 32 bit integer 30007 8 Iteration Count 32 bit integer 30009 10 32 bit integer 30176 77 Command Response Float 30011 12 Fail Count 32 bit integer 30178 79 Command Response 16 bit integer 30013 14 32 bit integer 30180 229 100 Byte Array EE ES RS 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 32 bit integer wl w w oO o o a ow N o Rev C www bannerengineering com tel 763 544 3164 141 iVu Plus TG User Manual Input Coil ACK Bits see 16 bit integer Input and Output Coils on page 153 30056 Sensor Type ID 16 bit integer 30057 58 Blemish Count 32 bit integer 30059 60 Blemish Min Edge 32 bit integer Length 30061 62 Blemish Max Edge 32 bit integer Length 30172 Command Status 16 bit integer 30173 Command Response 16 bit integer Int16 30174 75 Command Response 32 bit integer 30013 14 Missed Triggers 32 bit integer Int32 30015 16 Current Inspection Time Float 30176 77 Command Response 30017 Sensor Pass Fail Coil Ls 30178 79 Command Response 32 bit integer Length 30180 22 dR 100 Byte A 30031 53 Inspection Name 2 Word Length ee Le i 20 unicode chars 05085 Fremenunber EI LE reseed Status Coil Bits see In 16 bit integer put and Output Coils on page 153 30003 4 32 bit integer 30005 6 32 bit integer 30007 8 32 bit integer 30009 10 32 bit integer 30011 12 32 bi
115. ithin the field of view 2 Click the Save button to save the pattern to the first empty pattern storage slot 3 Set match criteria The Percent Match setting adjusts how closely the inspected part or label needs to match any of the ten stored patterns The Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant Move the slider to the left or to the right to adjust the setting For the best results use a value from 50 to 90 Es NOTE When running a Sort inspection the sensor will highlight in green any pattern matches that are within the specified Rotation Range and meet or exceed the value specified for Percent Match Patterns that are within the specified Rotation Range and within approximately 20 below the speci fied value for Percent Match will be colored yellow The Rotation Range sets the expected rotation of parts or labels during an inspection For example a value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still pass Move the slider from 0 to 180 degrees Note that the smaller the rotation range the faster the inspection will run 4 Repeat these steps for subsequent patterns and store each pattern in an empty pattern storage slot 5 Set the Pass Criteria assuming only two stored patterns Any Saved Pattern Pass condition if the sensor matches either Pattern_1 Pattern_2 or both All Saved Patterns Pass condition if
116. l C In Command Response Int16 16 bit integer ma 173 174 Command Response Int32 32 bit integer 2 Word Length 30 52 Inspection Name po 20 unicode chars 175 176 Command Response Float 32 bit integer 32 bit integer 16 bit integer 100 Byte Array 160 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Input and Output Flags on page 169 243 260 Barcode 1 Data 32 bit length 32 byte array Input Bits ACK Register see 16 bit integer 242 Barcode 1 Length 16 bit integer Output Bits Register see In 16 bit integer put and Output Flags on 261 Barcode 2 Type 16 bit integer page 169 4 Z A N a O1 o Ej N 6 10 11 Fail Count 32 bit integer 283 300 Barcode 3 Data 32 bit length 32 byte array Barcode 4 Type 16 bit integer Barcode 4 Length 16 bit integer Barcode 4 Data 32 bit length 32 byte array CEE CCI 7 amp o oO a wo N o ow Barcode 5 Type 16 bit integer Barcode 5 Length 16 bit integer Barcode 5 Data 32 bit length 32 byte array 30 52 Inspection Name 2 Word Length 20 unicode chars Sensor Type ID 16 bit integer Se gt wo CD N wo ES o Barcode Count 16 bit integer Barcode 1 Type 16 bit integer Barcode 1 Actual Decoded 16 bit integer Data Length w Barcode 6 Type 16 bit integer Barcode 6 Length 16 bit integer Barcode 6 Data 32 bit length 32 byte array 61 Barcode 7 Type 16 bit integer 5 5 5
117. l Intemet Protocol The default wide area network protocol that provides communication across diverse interconnected networks Rev C iVu Plus TG User Manual Internet Protocol TCP IP Properties 4 Inthe Internet Protocol TCP IPv4 Properties dialog se ce lect Use the following IP address and make sure that the Ye cape Che you ned to a Jornal mine IP address is 192 168 0 2 and the subnet mask is the appropriate IP settings 255 255 255 0 Obtain an IP address automatically Use the following IP address IP address 192 168 0 2 Internet Protocol Version 4 TCP IPv4 Properties o a Subnet mask 25 255 205 0 General Default gateway You can get IP settings assigned automatically if your network supports this capability Otherwise you need to ask your network administrator for the appropriate IP settings Use the following DNS server addresses Obtain an IP address automatically Prefered DNS server Use the following IP address Alternate DNS server IP address 192 168 0 2 Subnet mask 255 255 255 0 Default gateway LA Use the following DNS server addresses Preferred DNS server Alternate DNS server Validate settings upon exit OK Cancel On the Vu sensor 1 Goto Main Menu gt System gt Communications gt Ethernet I O and make sure that the sensor is configured as shown below 2 To enable the command c
118. l number of the remote display as a string RemoteSerialNumber The serial number of the remote display as a string Examples gt gt get info companyname x0D x0A lt lt OK x0D x0A lt lt Banner Engineering Corp x0D x0A Rev C www bannerengineering com tel 763 544 3164 99 iVu Plus TG User Manual gt gt get info bootnumber x0D x0A lt lt OK x0D x0A lt lt 42 x0D x0A gt gt get info uptimer x0D x0A lt lt OK x0D x0A lt lt 4 42 42 324 x0D x0A 9 4 System Command Group Reboot Reboots the sensor Pre empts other commands except Save Save Saves inspection and configuration parameters Blocks un til finished Should be used sparingly Ethernet IPAddress Get the current active IP address of the sensor as a string Ethernet SubnetMask Get the current active subnet mask of the sensor as a string Ethernet Get the current active Gateway address of the sensor as a string Ethernet IPAddress Set IP address of the sensor A valid IP address must be supplied as a string for example 192 168 0 1 A Reboot command from the command channel must follow in order to make the new IP address effective You may also set new Subnet Mask and Gateway address as required be fore a Reboot command is sent to the sensor Ethernet SubnetMask Set new subnet mask A Reboot command is required to be sent from the command channel in order to make the new mask effective Ethernet Gateway Set new Gateway IP address
119. le Communications Add Favorite By Category By Vendor Favorites X ee ZA 3 Port Ethernet Tap 2 Fiber 1 Twisted Pair Media Allen Bradle 1788 EN2DN A 1788 Ethernet to DeviceNet Linking Device Allen Bradle 1788 ENBT A 1788 10 100 Mbps Ethernet Bridge Twisted Pair Med Allen Bradle 1788 EWEB A 1788 10 100 Mbps Ethernet Bridge w Enhanced Web Allen Bradle 1794 AENT 1794 10 100 Mbps Ethernet Adapter Twisted Pair M Allen Bradle Drivelogix5730 E 10 100 Mbps Ethernet Port on DriveLogix5730 Allen Bradle Generic EtherNet IP CIP Bridge Alen Bradi HERNET MO Generic Ethernet Module Allen Bradl SoftLogix5800 EtherNet IP Allen Bradle Ethernet Adapter Twisted Pair Media Parker Hann 26 Port Managed Switch Allen Bradle Al M A Tal By Category By Vendor Favorites ox p 116 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 Configure Module Properties Es NOTE The data type in the Comm Format must be changed to an INT See Assembly Objects on page 123 for more information on each specific assembly instance PLC Input Assembly 100 PLC Output Assembly 112 ETHERNET MODULE Generic Ethernet Module Vendor Allen Bradley Parent LocalENB Mera Vu Plus Connection Parameters Assembly i Description Banner Sensor Instance as Input 16 bit Comm Format Data INT v Address Host Name IPAddress 192 168 0 1 Status Inp
120. lnt16 240 max 3233 Image Format Ulnt16 0 Bitmap 1 JPEG Es NOTE If FOV s are adjusted so that they are smaller the bitmaps will also be smaller 7 1 5 Image Export Sample Application The Vu Plus TG installation CD has a Image Export sample application that provides a way to save exported images In a production environment you will need to write your own application to process exported images for example to display them on an HMI or to save them to disk Rev C www bannerengineering com tel 763 544 3164 83 Save Image iVu Plus TG User Manual 10 x 7 1 6 Setting Up Ethernet Communications The following is the general flow for setting up for Ethernet communications between the Vu Plus sensor and a remote device On the Windows PC configure the IP address as follows 1 Open Network Properties on the PC right click on the Net work Neighborhood icon 2 On the Local Area Connection right click on Properties 3 In the dialog click on Internet Protocol TCP IP and click the Properties button PR Local Area Connection 2 Properties General Authentication Advanced Connect using 9 NETGEAR FA511 CardBus Mobile A This connection uses the following items M 8 File and Printer Sharing for Microsoft Networks 4 5 005 Packet Scheduler Internet Protocol TCP IP Description Transmission Control Protocol Intemet Protocol The default wide area network protocol that provid
121. lt lt 1 x0D x0A gt gt get sort_history maxcount x0D x0A lt lt OK x0D x0A lt lt 6 x0D x0A 9 5 Multiple Sensors Inspection When having more than one sensor in the inspection all SensorType_Result and SensorType_History related commands must include the Sensor Name in lt gt brackets Examples gt gt get area_result lt Areal gt count x0D x0A lt lt OK x0D x0A lt lt 7665 x0D x0A Notice that lt Area1 gt is the sensor name of an Area Sensor Type in the current inspection gt gt get blemish_history lt Blemishl gt minedgelength x0D x0A lt lt OK x0D x0A lt lt 22 x0D x0A Notice that lt Blemish1 gt is the sensor name of a Blemish Sensor Type in the current inspection 9 6 Command Channel Error Codes 00000 SUCCESS Command processed successfully EMPTY_FRAME_RECEIVED Indicates that the request was empty The command chan nel requires a command any arguments and an end of frame delimiter 10001 COMMAND_ NOT_RECOGNIZED The command specified is not recognized Rev C www bannerengineering com tel 763 544 3164 107 iVu Plus TG User Manual GROUP_MISSING A Group ID must be specified immediately after the com mand 10100 10101 10102 GROUP_NOT_FOUND The specified Group ID is invalid unknown GROUP_ITEM_MISSING A Group Item ID must be specified immediately after the Group ID GROUP_ITEM_NOT_FOUND The specified Group Item ID is invalid unknown 10103 10152 10153 10250 102
122. m iVu Plus O Outputs from PLC inputs to iVu Plus 120 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual File Edit View Search Logic Communications Tools Window Help Be 6 i amp e 88 BYR QQ score 9 Rem Run M Run Mode NoFores 7 en No Edits an fae Path 46_ETHIP 192 168 0 30 Backplane 0 E 4 Favorites 4 H ka fel 4 4 0 4 Add On Safety Alarms Bit Timer C Controller Test Controller Tags Controller Fault Handler Power Up Handler Tasks al MainTask 8 MainProgram 9 Program Tags i EB MainRoutine Unscheduled Programs beq ves E Add On Instructions Data Types Ey User Defined ER Strings Gi Add On Defined Ga Predefined R Module Defined 4 Controller Tags Test controller Scope fa Test y Show All Tags Force Mask Style Decimal Name zeja vu Plus leo ee ABETHERNET vu Plus Data u_PlusData 0 Decimal Decimal MuPluslDatal2 Mu_Plus Data 2 Decimal Decimal Decimal Vu_Plus l Data 5 Decimal Decimal Decimal Decimal Decimal Decimal Decimal Decimal Decimal Mu_Plus l Data 14 Decimal Decimal Decimal Mu_Plus l Data 17 Decimal Wu Vu_Plus l Data 8 Wu E Mu_Plu
123. mand type 80401 PRODUCT_CHANGE_INVALID_INSPECTION Attempt to product change to a unknown or invalid inspec tion 11 10 Diagnostic Guide iVuPlus sensors provide several methods to help diagnose communication issues when using EtherNet communications 11 10 1 Ethernet Diagnostics To verify Ethernet connectivity please follow these steps Verify that all the cables are connected and properly seated Examine the small orange Ethernet link light located on the top of camera body between the Pass Fail and System Status LEDs The light should be either on or blinking Go to the System gt Logs gt System Log page and verify that the log entry indicates that the Ethernet link is up Rev C www bannerengineering com tel 763 544 3164 175 iVu Plus TG User Manual Up Timer 0 3 2003 Ethernet status 100Mb s F D 1702 Remote Display initialization successful Go to the System gt Communications gt Ethernet I O page and press on the Status button Verify that the Ethernet Link Status is Connected and that the link parameters such as baud rate and duplex are as expected For example 176 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual If the Link Status indicates that there is no link please inspect the wiring and verify that your Ethernet switch is powered up If the link parameters are not as expected wrong baud rate or duplex try the following Log in
124. monitoring The mounting bracket lets you easily position and adjust the sensor on your line 3 If needed go to Main Menu gt Imager gt Auto Exposure to run the Auto Exposure routine a second time or adjust Gain and Exposure manually Main Menu gt Imager gt Gain Main Menu gt Imager gt Exposure 4 Go to Main Menu gt Imager gt Focus to adjust the focus while monitoring the Focus Number 60 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual For Micro lens Models Only 1 Use the supplied 1 16 hex key to loosen the Focusing Window locking screw D then adjust focus on the iVu Series sensor using the clear Focusing Window B 2 Adjust focus while monitoring the focus number To ensure the best image adjust the focus until the Focus Number peaks Es NOTE Turning the Focusing Window counter clockwise focuses on closer objects while turning the Focusing Window clockwise focuses on more distant objects 3 After the best image has been acquired lock the focusing window Ts reine oiga Filter Cap optional Filter optional Es NOTE Filter Kits are avail able separately For C Mount Models Only 1 Remove the Lens Enclosure 2 Adjust focus while monitoring the focus number To ensure the best image adjust the focus until the Focus Number peaks 3 Replace the Lens Enclosure on the camera Rev C www bannerengineering com tel 763 544 3164 61 iVu
125. n Controller If Connection Fails While in Run Mode Use Unicast Connection over EtherNet IP Module Fault Status Offine Es NOTE The minimum allowed RPI is 50 ms 118 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 4 If the module configuration was successful the following information should be displayed 4 1769 L32E Ethernet Port LocalENB If the module configuration was not successful the RSLogix 5000 software will indicate errors similar to the ones displayed below Ess cmene ERROR Assembly Instance number and or size incorrect ERROR iVu Plus not powered up or EtherNet cable not attached Rev C www bannerengineering com tel 763 544 3164 119 iVu Plus TG User Manual 5 Locate the memory map setup from Banner module to PLC memory map Blog Be Ss BB oo 4 a E Y Rem Run F Run Mode Path AB_ETHIP 1 182 168 0 30 Backplar No Forces b t attery os re No Edits a E 1 0 0K 4 H kd tel 4 4 4 w 4 Favorites Add On Safety A Controller Test p 5 a Se al 1 Show AIT 3 Controller Fault Handler 2 Power Up Handler ebed yeas fay ene MainProgram Program Tags m 3 Unscheduled Programs Motion Groups 3 Ungrouped Axes Add On Instructions Data Types Em User Defined C Configuration not used Inputs to PLC outputs fro
126. n Menu gt System gt Display Settings gt Fail Hold Time The Fail Hold Time determines how long a failed image is displayed on the LCD so that you can see what failed The sensor will continue to process any triggers and the inspection will continue normally This time delay is just for the screen You can set this parameter from 0 to 3600 seconds using the slider at the bottom of the screen LCD Timeout Main Menu gt System gt Display Settings gt LCD Timeout The LCD screen dims after a user selectable period when the device is not being used Use the arrow keys or slide the bar at the bottom of the screen to set the LCD screen time out Es NOTE This screen is not available on the Emulator Touch Calibration Main Menu gt System gt Display Settings gt Touch Calibration Rev C www bannerengineering com tel 763 544 3164 51 iVu Plus TG User Manual Touchscreen Calibration may be necessary if the software does not correctly respond when an icon on the screen is pressed The cali bration routine aligns the touch screen s coordinates to the display behind it Be sure to follow the prompts on the screen when executing the Touchscreen Calibration function Es NOTE This screen is not available on the Emulator Advanced Main Menu gt System gt Display Settings gt Advanced The Advanced Display screen allows you to enable the Optimize Display Response option This feature helps to make the display more responsive w
127. n of fix sensor data on the map Select data items of interest for each sensor type Recommended when execution order of sensor types vary across inspections or when using more than 5 sensors A System level custom map is supported for additional flexibility When Custom Map is selected a customizable space is used in the offset range 55 to 166 on EIP assembly 0x65 registers The following is a table of EIP assembly 0x65 registers when using Custom Map setting reg reee os femme ECONO CONO EXT OMNIA INS EEN famine Sid EC ENEE 134 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Configure Custom Map Enable Custom Map by selecting Custom on the drop down list Click on the yellow arrow button to Custom IE Map screen Custom IE Map screen allows choosing sensor result data that will appear on the customizable space The bottom of the screen shows the word usage on the customizable space In the screenshot above seven words have been used for one Area sensor Area 1 Use the yellow arrow button next to the Area sensor row to go to the Area Sensor Data in the following graphic On the Area Sensor Data screen above Area Count Area Range Min and Area Range Max are available to add into the customiz able space The number to the right of each item shows how many words are required to display the data The bottom reservation count shows the number of Area Sensors that will be re
128. n the filter Place the filter into the Filter Cap and press the cap onto the lens After the filter is installed place the Focusing Window back into the housing while inserting the Locking Clip into the groove as shown below PRES Groove 7 Press the Focusing Window onto the housing to make sure that it seats correctly that is there is no gap between the window and housing Rotate the window counter clockwise at least two turns 8 Replace the locking tab screw but do not tighten until you have set up and focused the sensor again Installing a Filter on the C Mount Lens Model To install a filter on the Vu Series sensor with C Mount Lens use the illustration as a guide and follow the steps listed below A CAUTION Failure to follow these instructions can cause damage to your Vu Series sensor C Mount Lens 5 fun Retainer Ring optional NN Filter optional Filter Retainer Ring Tool NOTE Filter Kits are available separately Remove the Lens Enclosure and Lens Install filter behind the retainer ring Make sure it is fully seated Using the provided retainer ring tool thread the retainer ring into the sensor until it firmly seats the filter Replace the Lens and Lens Enclosure on the camera a eS Rev C www bannerengineering com tel 763 544 3164 11 iVu Plus TG User Manual A CAUTION Avoid the damage that electrostatic discharget ESD can cause to the sensor Always use a proven method
129. nal information Inspection Time ms 7 1 4 Inspection Results Options Edge Length Range Rev C www bannerengineering com tel 763 544 3164 81 iVu Plus TG User Manual 7 1 4 Inspection Results Options A A erre A e Data export settings apply to all inspections sensor wide If items are selected that are not part of the current inspection those items are ignored 7 1 4 Sample Application The iVu Plus TG installation CD has a Data Export sample application that provides for viewing exported data while setting up the sensor etc In a production environment you will need to create your own application to process data exported from the sensor H Vu Data Export Sample Program 0 x Buffer Size 100 KBytes a 82 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 7 1 5 Image Export Image export is only supported on Ethernet ports Inspection images are a maximum 320x240 8 bits per pixel grayscale images in Win dows BMP format that represent all the data in a full Field of View FOV Each exported image is comprised of a header 64 bytes followed by the image data approximately 78K All 16 and 32 bit numeric entries are little endian The header includes the following information 20 23 Ulnt32 Number of bytes Windows BMP image 24 27 Image Frame Number Ulnt32 Most recently snapped image frame number 28 29 Image Width Ulnt16 320 max 30 31 Image Height U
130. ng a Match inspection the sensor will look for any possible patterns to match any where within the Field of View 4 Click the Teach icon to teach the sensor this good reference part a lt m 5 Set sensor parameters of om 0 eo ROI Type E Percent Match i Rotation Range Pass Count Timeout Adjust the Percent Match parameter The Percent Match setting adjusts for how closely the inspected part or label matches the reference part or label The Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant Move the slider to the left or to the right 72 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Es NOTE When running a Match inspection with annotations enabled the sensor will highlight in green any pattern matches that meet or exceed the value specified for Percent Match Patterns that are below the specified value for Percent Match down to approximately 20 or out of the Rotation Range see below will be colored yellow Using a bad part click the Manual Trigger icon in the lower right of the screen to capture an image For this example one of the stored images is missing the letter N yet the sensor initially sees this as a good label On the adjustment at the bottom of the screen adjust the slider and click the Manual Trigger button When adjusted correctly the annotations should turn y
131. nnected No Light Disconnected The iVu also indicates abnormal conditions as described below 14 1 Errors The Pass Fail LED is blinking green a number of Reboot the sensor times separated by an LED red blink and the sen sor repeats this pattern over and over This indi cates that no inspections are occurring The Power LED is lit steady red These type of er Do the following rors are reported in the System log and appear highlighted in Med 4 ER Look in the System Log to see the error Clear the LED that is go to the Main Menu gt Logs gt System Logs and press the Clear System Error button at the bottom of the screen a sensor reboot is not required Ifthe error occurs again you can try rebooting the sensor to see if that fix es the problem If the problem persists contact Banner customer support 14 2 Warnings Warnings are atypical conditions that the sensor detects and fixes Warning are highlighted in yellow in the System Log and can typically be ignored 190 www bannerengineering com tel 763 544 3164 Rev C Index A Advanced 52 area parameters area range 24 66 intensity range 24 area range 24 66 area sensor 23 area_history command group 104 area_result command group 104 auto exposure 30 B blemish sensor 24 blemish_history command group 105 blemish_result command group 104 C command channel image export 83 command channel log 92 command channel sample application 8
132. nteger 173 174 Command Response Int32 32 bit integer 175 176 Command Response 177 178 Command Response 32 bit integer 179 228 Command Response Data 100 Byte Array 229 239 reserved pe ca co Be e 158 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Input Bits ACK Register 16 bit integer 55 Sensor Type ID 16 bit integer see Input and Output Flags on page 169 56 57 Match Count 32 bit integer Output Bits Register see 16 bit integer 58 Match Min Percent Match 16 bit integer Input and Output Flags 59 Match Max Percent Match 16 bit integer on page 169 32 bit integer ORNE TC NE 30 52 Inspection Name 2 Word Length 20 unicode chars 5554 bt mega Rev C www bannerengineering com tel 763 544 3164 159 iVu Plus TG User Manual Input Bits ACK Register see 16 bit integer Input and Output Flags on page 169 Output Bits Register see In 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer ao CS CES CE 171 172 put and Output Flags on page 169 Inspection Number 32 bit integer Sort Pattern 9 Count 16 bit integer Iteration Count 32 bit integer Sort Pattern 10 Count 16 bit integer Sort Min Percent Match 16 bit integer 10 11 Fail Count 32 bit integer Sort Max Percent Match 16 bit integer 12 13 Missed Triggers 32 bit integer 14 15 Current Inspection Time Float in q am TS ommand Status bit integer 16 Sensor Pass Fail Coi
133. nual Eu NOTE This setting affects both the Data Export Channel and Image Export Channel mage Export channels Image Export Channel Main Menu gt System gt Communications gt Image Export When the Image Export Channel is enabled the sensor will transmit the acquired image on every trigger The image is transmitted as a bitmap BMP file This operation is only available over Ethernet I O Connection Main Menu gt Communications gt Image Export gt Connection The Connection screen is used to enable or disable the Image Export Channel Image Type Main Menu gt System gt Image Export gt Image Type Choose between JPEG or Bmp format for te exporting image file Image Export Advanced Main Menu gt System gt Communications gt Image Export gt Advanced During the Data and Image export operation the sensor s output channels might become full This can occur if the sensor is producing export data frames faster than the data can be exported from the device due to bandwidth limitations or faster than the client is read ing the channel export data This setting affects how the sensor will behave in this situation Select Hold READY to ensure that all frames are transmitted In this case the READY signal will remain inactive sensor is busy until the new frame has been added to the channel for transmission Triggers might be missed during this time Select Do not hold READY to cause the sensor to discard th
134. o to the Main Menu gt Imager gt Trigger menu and select External thernet Only Make sure there is no external trigger input Use the Trigger icon in the lower right of the screen to manually trigger the sensor to capture an image as you set up and test Capture images of a range of samples to set up from the worst good part to the best bad part Start the setup with a good part Normally each part to be tested will be centered in the Field of View FOV To adjust the Region of Interest ROI follow the steps listed here The ROI is the red box as shown OX Cisco R 1 Click anywhere within the ROI to select it When selected the ROI has resize and rotational icons in the corners It also changes the top button to the sensor name 2 Resize and move the ROI to surround the feature of interest In the Demo example the feature of interest is the Banner logo as shown here It is still red because the parameters need to be set Rev C www bannerengineering com tel 763 544 3164 65 iVu Plus TG User Manual Es NOTE When running an Area inspection the sensor will only find objects within the ROI 3 Click the black sensor button to go to an Area parameter screen AY ff ROI Type Intensity Range Area Range Pass Count 4 Set sensor parameters Adjust the Intensity Range is the range of grayscale values the sensor should look for To set intensity ran
135. odified using the sensor s touchscreen This remotely modified value is not persisted to the sensors permanent memory The Save operation is required to persist this value Set Imager Gain The sensor s value used to electronically brighten all image pixels This value can be modified using the sensor s Rev C www bannerengineering com tel 763 544 3164 101 iVu Plus TG User Manual touchscreen This remotely modified value is not persisted to the sensors permanent memory The Save operation is required to persist this value Get Imager Exposure The sensor s value used to control the amount of time the imager is allowed to gather light for the image This value can be modified using the sensor s touchscreen This re motely modified value is not persisted to the sensors per manent memory The Save operation is required to per sist this value Set Imager Exposure The sensor s value used to control the amount of time the imager is allowed to gather light for the image This value can be modified using the sensor s touchscreen This re motely modified value is not persisted to the sensors per manent memory The Save operation is required to per sist this value Examples gt gt get imager exposure x0D x0A lt lt OK x0D x0A lt lt Command x0D x0A gt gt set imager exposure 11900 x0D x0A lt lt OK x0D x0A 9 4 Teach Command Group NextTrigger This commands forces the sensor to perform the Remote Teac
136. of its failure 58 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Click the right arrow to see the inspection inputs The Inspection Input page has the sensor settings Use this page to verify what inspection input settings were used on the latest inspec tion Use the right arrows as a shortcut go to a sensor setting screen Rev C www bannerengineering com tel 763 544 3164 59 iVu Plus TG User Manual 5 Setting up an Inspection The device will hold up to 30 inspections Inspections may hold multiple sensors In order to set up for an inspection you need to 1 Acquire a good image 2 Configure the sensor s in the inspection 3 Configure multiple sensors in the inspection 5 1 Acquiring a Good Image The iVu Series sensor needs to capture a good image of each part to ensure that it correctly passes good parts and fails bad parts 1 Goto Main Menu gt Imager gt Auto Exposure to run the Auto Exposure routine 2 Check the lighting Make sure that the lighting is constant and consistent unchanging over time no shadows or hot spots Capture the shape and form of the target object with lighting that optimizes its contrast and separates it from the background Depending on the target this may mean the integral ring light is not the best choice and other Banner lights should be consid ered Adjust the mounting angle to provide the clearest image of the part features you are
137. om tel 763 544 3164 Rev C iVu Plus TG User Manual The Sort sensor cannot be added if any other sensors are selected The Sort menu can only be reached when adding a sensor Saved Patterns Main Menu gt Inspection gt Sensors gt Sort gt Saved Patterns When configuring a Sort sensor type there are 10 pattern storage locations available The Saved Patterns screen is used to save a taught pattern to an empty pattern storage location or to overwrite an existing pattern This screen is also where patterns can be deleted from a storage location named or renamed Percent Match Main Menu gt Inspection gt Sensors gt Sort gt Percent Match The Percent Match setting adjusts for how closely the inspected part or label matches the reference part or label The Percent Match scale is from 0 to 100 where 0 is the most tolerant and 100 is the least tolerant Move the slider to the left or to the right Rotation Range Main Menu gt Inspection gt Sensors gt Sort gt Rotation Range The Rotation Range sets the expected rotation of parts or labels during an inspection For example a value of 45 means that the part may rotate 45 degrees in either direction from the reference part and still pass Move the slider from 0 to 180 degrees Es NOTE The smaller the rotation range the faster the inspection will run Pass Criteria Main Menu gt Inspection gt Sensors gt Sort gt Pass Criteria There are four options to select from
138. om Banner Website Visit Banner s Website http www bannerengineering com Browse to Vision Products page and select the Vu product you are using Click on the Software tab to view software releases Determine which version you want to download Current Version recommended for example Vu Series Software Version 2010R4 Click on the circular Download button This will initiate the download process Depending on your browser settings you may be asked to confirm or provide a location to save the file Choose to download on yoru desktop Note the file name Double click the file to start extracting the files and run the Vu Series Software 2 Select the product you are using and browse to Firmware Update page 3 Click on Run Firmware Update Wizard and program will start 4 Follow on screen instructions Clicking on Copy firmware to USB will copy the selected firmware to the USB Thumb Drive Step 2 Install firmware on iVu 1 Remove the USB Thumb Drive from the PC and plug it into the sensor 2 On the sensor select System gt Firmware Update The name of the firmware file you copied on the USB Thumb Drive will be dis played 3 Choose correct file and click on the Load button 4 Follow the steps on the screen to update the firmware 13 2 How to Set or Modify a Device Name You can set a Device Name for your iVu Series sensor or modify an existing name on the sensor using the software keypa
139. or example comparedata or status value For set commands this identifies the data that must be set for the specified group item Note Item is not used with get com lt EOF gt mands Identifies the end of frame for the command so that the Vu knows to begin processing The Vu will return a response that includes the end of frame delimiter The options for the lt EOF gt are set in the Vu Serial I O menu and are as follows lt comma gt lt colon gt lt semicolon gt lt CR gt lt CR gt lt LF gt e lt LF gt lt CR gt e lt ETX gt Es NOTE When data is displayed on Vu screens such as the Port Status screen printable delimiters are displayed as expected Non printable characters such as lt CR gt are 9 1 1 Command Flow displayed in hex notation 1x0D The command flow should be such that a new command request should not be issued until the Vu command channel acknowledges the previous command request 96 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual For example the following is a series of command requests and responses The first request sets the trigger mode to command and once the sensor responds with an OK the next command request is issued to do or execute the trigger gt gt set trigger mode command x0D x0A lt lt OK x0D x0A gt gt do trigger x0D x0A lt lt OK x0D x0A 9 1 2 String Delimiters and Escaping By default s
140. protocol Data Export used to export selected inspection data to a remote device Image Export used to export inspection images to a remote device Data export and command channel can be configured for either Ethernet or Serial I O but not both image export is only available over Ethernet The table below briefly summarizes valid communication channel configuration options Rev C www bannerengineering com tel 763 544 3164 79 iVu Plus TG User Manual 7 1 2 Industrial Ethernet Main Menu gt System gt Communications gt Industrial Ethernet The iVuPlus device can be controlled or monitored over Industrial Ethernet using Ethernet IP Modbus TCP or PCCC protocols This document will help you to set up the iVu Plus in the desired configuration and provide you with information you will need to connect to the master device PLC HMI etc 7 1 3 Command Channel The Vu Plus TG command channel is a bi directional communication protocol that currently supports ASCII via either Ethernet or the RS 232 serial interface and enables other devices to remotely control the Vu sensor and access sensor results do trigger xOD x0A OK x0D x0A p A Control Device which can be a PLC PC program or a terminal C Response Frame B Request Frame D iVu Plus Sensor The following are some of the functionality available via the command channel Get sensor information such as version and sensor name Control
141. r Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer 148 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Sort Pattern 8 Count 16 bit integer Sort Pattern 9 Count 16 bit integer Sort Pattern 10 Count 16 bit integer Sort Min Percent Match 16 bit integer Sort Max Percent Match 16 bit integer Custom Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Custom Allows customization of fix sensor data on the map Select data items of interest for each sensor type Recommended when execution order of sensor types vary across inspections or when using more than 5 sensors A System level custom map is supported for additional flexibility When Custom Map is selected a customizable space is used in the offset range 30056 to 30167 MODBUS TCP registers The following is a table of MODBUS TCP registers 30001 to 30240 when using Custom Map setting Rev C www bannerengineering com tel 763 544 3164 149 iVu Plus TG User Manual 30178 179 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array 150 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Configure Custom Map Enable Custom Map by selecting Custom on the drop down list Click on the yellow arrow button to Custom IE
142. re than 5 sensors A System level custom map is supported for additional flexibility When Custom Map is selected a customizable space is used in the offset range 55 to 166 on PCCC registers The following is a table of PCCC PLC Input Registers Map N7 when using Custom Map setting piesa ie os femme CS CONO EXT OMNIA INS EEN famine Sid EC ENEE 166 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Configure Custom Map Enable Custom Map by selecting Custom on the drop down list Click on the yellow arrow button to Custom IE Map screen Custom IE Map screen allows choosing sensor result data that will appear on the customizable space The bottom of the screen shows the word usage on the customizable space In the screenshot above seven words have been used for one Area sensor Area 1 Use the yellow arrow button next to the Area sensor row to go to the Area Sensor Data in the following graphic On the Area Sensor Data screen above Area Count Area Range Min and Area Range Max are available to add into the customiz able space The number to the right of each item shows how many words are required to display the data The bottom reservation count shows the number of Area Sensors that will be reserved on the customizable space Rev C www bannerengineering com tel 763 544 3164 167 iVu Plus TG User Manual Since only one Area Sensor s worth of data is reserved on the
143. returned it is in the form ERROR nnnnn_ERROR_IDENTIFIER for example ERROR 10001_COMMAND_NOT_RECOGNIZED Refer to Command Channel Error Codes on page 87 for a list of errors 9 2 Conventions Used for Examples There are a number of command channel examples included here and the following are the conventions used in the examples All examples use lt CR gt lt LF gt for the end of frame delimiter and this delimiter is always denoted in hex x0D x0A since that is what is displayed in the iVu logs and for example the Port Status screen All commands are in bold text For each example a command request to the Vu sensor is prefaced with a gt gt and a command response frame from the Vu sensor is prefaced by a lt lt as shown below These are only used to make the documentation clearer gt gt get info companyname x0D x0A lt lt OK x0D x0A lt lt Banner Engineering Corp x0D x0A 9 3 Examples 9 3 1 Example 1 How to Trigger the Sensor and Retrieve Inspection Data using the Com mand Channel This example is based on a sort inspection To trigger the sensor and retrieve inspection data do the following 1 Make sure that the Command Channel is enabled using either Ethernet or Serial I O Main Menu gt System gt Communications gt Command Channel gt Connection 2 Set Trigger to Command Go to the Main Menu gt Imager gt Trigger screen and from the drop down select Command 3 Issue a trigger command
144. rigger Remote Gray Teach The sensor triggers from low to high and Remote Teach behaves electrically like trigger see above NPN High to Low Trigger and Remote Teach Input Waveforms The iVu High to Low Trigger and Remote Teach input waveforms are shown below Power up Wire Color Function Pink Trigger Remote Gray Teach The sensor triggers from high to low and Remote Teach behaves electrically like trigger Rev C www bannerengineering com tel 763 544 3164 13 iVu Plus TG User Manual Es NOTE If the device used to trigger or remote teach the Vu Plus TG is a sinking device that is NPN then there are two options regarding the use of a pull up resistor Option 1 Put a pull up resistor rated approximately 1k ohm between the sensor s positive voltage and the sensor s input as shown below Sinking vcc iVu Pullup Resistor 1k ohm NPN Trigger Input Remote Teach Input Option 2 Enable the Input Pullup in the iVu Plus TG software Main Menu gt System gt Discrete I O gt Input Pullup iVu Output Waveforms PNP Outputs Function Ready Outputs 1 2 and 3 Set as Active Pass Outputs 1 2 and 3 Set as Active Fail Strobe Out Configure as External 8 Expose Based NPN Outputs Pass Fail Pass Fail Pass Pass
145. s l Data 11 E Wu_Plus l Data 10 Decimal Decimal Nerimal The iVu Plus memory map expanded Inputs to PLC outputs from iVu Plus Rev C www bannerengineering com tel 763 544 3164 121 iVu Plus TG User Manual Sample map demonstrating string values Memory Map Default Decimal Decimal Decimal Y Decimal Es NOTE ControlLogix string format Vu Plus Image Sensor Memory Map Style changed to ASCII o ao ema II PEE ecimal Wi L DETTE 88 58 88 te f sem test fc ptt fase I 0 fc All data is initially transferred as INT data type An ASCII string looks like gibberish in this format Changing the style to ASCII instead of Decimal reveals the correct string data 122 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 4 2 Assembly Objects Inputs to iVu Outputs from PLC PLC Assembly Instance 0x70 112 6 Registers Vu Inputs PLC Outputs Input Bits Register see Flags on page 137 16 bit integer Product Change Number 32 bit integer COM CI A PLC Assembly Instance 0x71 113 240 Registers Vu Inputs PLC Outputs rre eue 108 iti CE fre EE em Rev C www bannerengineering com tel 763 544 3164 123 iVu Plus TG User Manual Outputs from the iVu Inputs to the PLC PLC Assembly Instance 0x64 100 30 Registers Vu Outputs PLC Inputs Input Bits ACK Register see
146. se consult your IT person to verify that your network is configured correctly Also consult Rockwell publications ENET AP001D EN P Ether Net IP Performance and ENET SO001A EN E EtherNet Design Considerations for Control System Networks for further informa tion on how to configure your EtherNet network for EtherNet IP Establishing CIP and EtherNet IP 1 0 communications is a complicated process There are a number of steps during which an error can occur Industrial Protocols log contains a detail description of the communications process and should be consulted if any errors are suspected Communication Log Detail a Time 0 0 3 58 Length 65 Ethernet iP CIP session 1 registered from host 192 168 1 100 3812 a ETEEN gt A great level of detail is also provided in the log when the I O connection is established posz gt bu425 _ v0 Comecton roque moaz OIR TIE gt CO v0T20RPI 101 me gt ve 107720 men Communication Log Detail Time 0 0 4 25 Length 62 WO Connection request with T20 instance 101 O2T instance 113 Once the CIP and I O connections are established the Industrial Protocols Status page will show the details of the connection 180 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual industrial Ethernet Status a Most of the errors in establishing the CIP and 1 0 connections have to do with specifying the proper Input and Output assembly IDs and si
147. served on the customizable space Rev C www bannerengineering com tel 763 544 3164 135 iVu Plus TG User Manual Since only one Area Sensor s worth of data is reserved on the screenshot above the selected data will be collected from the first Area sensor in the current inspection When multiple Area Sensors have been reserved the data will be arranged in the sequential manner of the sensor type in the current inspection Use the green arrow icon Back button to go back to the custom map summary screen User may continue to add more data from any sensor type as required or reserve more sensors into the customizable space Sensor Name and Sensor Type ID are global settings that are part of any individual sensor reservation When they are checked they will be inserted into each sensor reservation Here is an example of multiple sensors inspection and its output location on the customizable space Customizable space reserved 3 Area sensors Sensors sequence on the and 3 Blemish Sensors current inspection Areal EA Area 1st Area2 Blemish1 2nd Area3 en 3rd Blemish1 Area3 4th Blemish2 lt lt Blemish2 5th Blemish3 No Data Match1 6th No Match Sensor Slot There are only 2 Blemish sensors on the current inspection Blemish3 location will be all zero on the customizable space The customiza ble space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space
148. sing with integrated lighting red blue green or infrared M12 connector with 10 to 30 VDC for power supply and PNP or NPN output External trigger input remote TEACH input and external strobe output available USB port for upload and download of inspections and log files Software emulator for PC available to evaluate inspections offline based on bitmap images or inspection logs Compact rugged housing available with or without a variety of integrated ring lights red blue green and infrared 2 1 Typical iVu Applications 2 1 1 Label Inspection gt i A a 2 A ow en Rev C www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual A manufacturer packages a number of products in similar packaging and needs a cost effective way to ensure that only like products are packaged together Additionally they want to verify that all the products have labels To verify each product an iVu Series sensor is configured for a Match inspection An image of a good product package is captured When the inspection is running if the sensor detects a package with a different or missing label the sensor sends a fail output to the line and the product is rejected 2 1 2 Blister Pack Inspection Because of tightened federal regulations that make the quality of pharmaceutical packaging increasingly critical when tablets are inser ted into a blister pack manufacturers need to verify that all the blist
149. sponse Float 14 15 Current Inspection Time 177 178 ponia Response 32 bit integer ITA MEE sensor Pass PARA 179 228 Command Response Data 100 Byte Array ta ped EEE eea EE 30 52 Inspection Name 2 Word Length 20 unicode chars 126 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Input Bits ACK Register 16 bit integer 56 57 Match Count 32 bit integer Fr see Flags on page 137 3 ae I 12 13 Missed Triggers 32 bit integer NPWS a Response Sebi integer Current napecion Time a 179 228 Command Response Data 100 Byte Array 30 52 Inspection Name 2 Word Length 20 unicode chars Sensor Type ID 16 bit integer 3 5 7 Rev C www bannerengineering com tel 763 544 3164 127 iVu Plus TG User Manual Input Bits ACK Register 16 bit integer see Flags on page 137 1 Output Bits Register see 16 bit integer 64 Flags on page 137 64 4 Inspection Number 32 bit integer CU Sort Pattern 9 Count 16 bit integer 171 172 Sort Pattern 10 Count 16 bit integer Iteration Count 32 bit integer 40 11 Fail Count 32 bit integer Sort Max Percent Match 16 bit integer 1243 Missed Triggers 32 bit integer 70170 reseved TET ae Ca Command Status 16 bit integer CE Sensor Pass Fail Coil Command Response Int16 16 bit integer 17 29 reserved 173 174 Command Response Int32 32 bit integer 30 52 Inspection Name 2 Word Length 175 176 Command Response Float 20 unicode chars 177 178 Command Response
150. ss Typ To Address 3 Write Message command_writing to N14 table on iVu Plus Rev C This Controller Communication Command PLC5 Write Data Table Address Size in Elements Channel Del Remove Hop 192 168 0 1 r Control Bits gt Ignore if timed out TO 0 To be retried NR 0 Awaiting Execution Ew 0 Continuous Run CO o Error ER 0 r Target Device Message Timeout Data Table Address Local Remote MultHop Yes Message done DN 0 Message Transmitting ST fi Message Enabled EN Waiting for Queue Space 0 r Error Error Code Hex 0 No errors Error Description www bannerengineering com tel 763 544 3164 iVu Plus TG User Manual 4 Write IP Address of the iVu Plus is entered here z MSG N21 0 51 Elements ren General ns Add Hop Del Remove Hop From Device From Port To Address Type To Address This SLC 5 05 Channel 1 EtherNet IP Device str 192 168 0 1 11 6 2 Inputs to Vu Outputs from PLC The Input registers are used by the PLC to push values to the Vu Plus sensor MSG message commands are used to Read N7 and Write N14 to the sensor Input Bits Register see Input and Output Flags on page 169 16 bit integer o 156 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 11 6 3 Outputs from iVu Inputs to
151. t integer 142 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Input Coil ACK Bits 16 bit integer see Input and Output Coils on page 153 Status Coil Bits see n 16 bit integer put and Output Coils on page 153 30003 4 32 bit integer 30005 6 32 bit integer 30007 8 32 bit integer 30009 10 32 bit integer 30011 12 32 bit integer 30013 14 32 bit integer 30015 16 Current Inspection Float Time 30017 Sensor Pass Fail Coil 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 32 bit integer 30056 30057 58 30059 30060 30061 171 30172 30173 30174 75 30176 77 30178 79 30180 229 30230 240 en Command Response 16 bit integer Int16 Command Response 32 bit integer Int32 Command Response Command Response 32 bit integer Length Command Response Da 100 Byte Array ta Rev C www bannerengineering com tel 763 544 3164 143 iVu Plus TG User Manual Input Coil ACK Bits see n 16 bit integer put and Output Coils on page 153 Sort Pattern 3 Count 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer Status Coil Bits see Input 16 bit integer and Output Coils on page 153 30003 4 32 bit integer 30005 6 32 bit integer 30007 8 32 bit integer 30009 10 32 bit integer 30011 12 32 bit integer 30013 14 32 bit integer 300
152. t more difficult to make adjustments while setting up the sensor The best practice is as fol lows Go to the Main Menu gt Imager gt Trigger menu and select External thernet Only Make sure there is no external trigger input Use the Trigger icon in the lower right of the screen to manually trigger the sensor to capture an image as you set up and test Capture images of a range of samples to set up from the worst good part to the best bad part 1 Make sure you use good parts for the inspection setup Normally each part will be centered in the field of view with the feature of interest surrounded by the Region of Interest ROI a blue rectangle The ROI can be rotated and resized and is red when selec ted for adjustment For the first part select the ROI by clicking inside it Move it resize it and rotate it by dragging the ROI or its corners Once the feature of interest is within the ROI click the Teach button The feature will be highlighted in green i Tip Use the short cut menu in the upper right of the screen to select an ROI type For better results make sure that the ROI bounds the image of the pattern as tightly as possible ROl Type Saved Pattems Percent Match Rotation Range Pass Criteria Timeout Rev C www bannerengineering com tel 763 544 3164 75 iVu Plus TG User Manual Es NOTE When running a Sort inspection the sensor will look for any possible patterns to match any where w
153. ter is received the iVu sensor will immediately transmit a short error message back to the requesting device for example ERROR 10000_COMMAND_MISSING 2 Verify that the number of bytes sent by the requesting device are the same as the number shown in the lower field of the Port Status screen on the Vu sensor Go to the Main Menu gt System gt Communications gt Serial I O gt Port Status screen 94 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 If the byte count does not match re verify that the settings on both devices match exactly If no bytes are received re check the wiring If the correct response frame is received then basic electrical and port settings are correct Rev C www bannerengineering com tel 763 544 3164 95 iVu Plus TG User Manual 9 Command Channel Primer 9 1 Command Channel Commands All Vu command channel request command frames use the following syntax gt gt command group item value lt Notes EOF gt lt EOF gt is the end of frame delimiter See below for a description All commands are in ASCII and are command case insensitive An action to be performed on a particular Vu group for example get set do login or logout group Identifies the Vu group that the command should act upon for example info system trigger or bcr_input item Further qualifies the action by specifying an item within the identified group f
154. the sensor matches both Pattern_1 AND Pattern_2 Single Saved Pattern Pass condition if the sensor matches either Pattern_1 OR Pattern_2 but NOT both Specific Save Pattern Must also select the saved pattern to match for example select Pattern_2 Pass condition any time the sensor matches Pattern_2 k Use the Manual Trigger located in the lower right corner of the screen to test good and bad parts Adjust settings as nec essary and retest 6 6 Configuring Motion Main Menu gt Inspection gt Motion This Motion menu shows up when Motion is Enabled under the Inspection Properties menu Enable Motion when the part is expected to move or rotate Motion settings involve selecting the number of edges to locate adjusting sensitivity and selecting whether or not rotation is enabled These settings appear on the Inspection Menu after Motion is set to Enabled Motion is enabled only when Area and or Blemish sensors are included in the inspection 76 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual av 6 6 1 Number of Edges Main Menu gt Inspection gt Motion gt Number of Edges On the Number of Edges screen use the radio buttons to select One Edge or Two Edges If One Edge is selected motion is tracked in one direction by default horizontally if Two Edges is selected motion can be tracked horizontally and vertically 6 6 2 Sensitivity Main Menu gt Inspection gt Motion
155. tions like exposure gain and strobe System to select the sensor Type and to manage the device and Logs to configure and view System and Inspection Logs Rev C www bannerengineering com tel 763 544 3164 21 iVu Plus TG User Manual IAA Motion visible when contains Area or Blemish 3 2 Inspection Menu Main Menu gt Inspection The Inspection menu icon is located on the Main Menu and is where settings for inspection can be adjusted Each type of sensor has specific settings that are available It is also where stored inspections can be managed 22 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 3 2 1 Sensors Menu Main Menu gt Inspection gt Sensors This menu shows the list of sensor s that are included in the current inspection Use the Add Sensor button add a new sensor into the current inspection cl Sensor Management SEE Remove Sensors Sensor Setup L ns Rename Sensors Change Execution Order Area Menu Main Menu gt Inspection gt Sensors gt Area When configured as an Area sensor the sensor is used to ensure that one or more features of interest are present on a part To config ure as an Area sensor set four parameters ROI Type Rectangle Elliptical or Circle and size Intensity Range range of gray scale values of a feature of interest Area Range or size of a feature of interest Pass Count To see a working ex
156. to define pass criteria for a Sort sensor inspection which are described below using an example where there are two saved patterns Any Saved Pattern Pass condition if the sensor matches either Pattern_1 Pattern_2 or both All Saved Patterns Pass condition if the sensor matches both Pattern_1 AND Pattern_2 Single Saved Pattern Pass condition if the sensor matches either Pattern_1 OR Pattern_2 but NOT both Specific Saved Pattern requires selecting a saved pattern to match for example Pattern_2 Pass condition when the sensor matches ONLY Pattern_2 Timeout Main Menu gt Inspection gt Sensors gt Sort gt Timeout Rev C www bannerengineering com tel 763 544 3164 27 iVu Plus TG User Manual When the sensor type is set as Match or Sort this screen provides for adjusting the maximum time the inspection is allowed to execute A timeout error is reported in the case inspection runs out of time If this value is set too high the sensor can miss triggers while trying to detect a bad pattern 3 2 2 Motion Menu Main Menu gt Inspection gt Motion Enable Motion when the part is expected to move or rotate Motion settings also involve selecting the number of edges to locate adjust ing sensitivity and selecting whether or not rotation is enabled These settings appear on the Inspection Menu after Motion is set to Enabled Motion is enabled when Area and or Blemish sensor are included in the inspection Ex
157. to your managed switch and verify that the port to which Vu camera is connected is correctly configured Alternatively consult with your IT person to perform this verification Verify that your cable is of the right type and is properly connected to the switch and to the camera 11 10 2 Networking and TCP IP Diagnostics To verify networking and TCP IP connectivity follow these steps Verify that the Ethernet link has been established Visit the System gt Communications gt Ethernet I O page and examine the sensor IP address subnet mask and the Gateway address Ethernet YO IP Address KN 1 Subnet Mask 255 255 255 o Gateway o o o 0 Status Verify with your IT person that these settings are correct If necessary make the required modifications and reboot the sensor Press the Status button on the same page and go to the Ethernet I O Status page On the PC attached to your LAN open the Command window To do this press Start gt Run and then type in cmd and press the OK button A command window will be displayed Rev C www bannerengineering com tel 763 544 3164 177 iVu Plus TG User Manual Microsoft Windows XP Version 5 1 2688 lt C gt Copyright 1985 2861 Microsoft Corp C Documents and Settings gt Type in a ping command specifying the sensor IP address as an argument You should see a series of responses from the camera olx Microsoft
158. tput Sensor 1 I Pulsed Latched Click on the yellow arrow button to Select Sensor screen 50 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual On the Select Sensor screen the left column check box allows adding sensor position to be part of the logic that activates the output One or more sensor positions can be added The right column on the table shows the sensor name s and their respective position from the current inspection for reference The bottom drop list has two settings All Selected All checked sensor positions must meet the setting criteria Pass Fail to activate the output Any Selected Any checked sensor position that meets the setting criteria Pass Fail will activate the output When a selected sensor position is missing on the current inspection the missing sensor s will not be part of the logic to activate the output For example when only 2 sensors are included on the current inspection and the Output gt Select Sensor s has Sensor 1 Sensor 2 and Sensor 3 checked only Sensor 1 and Sensor 2 will be used to determine the output state as Sensor 3 is not defined by the current inspection 3 4 7 Display Settings Main Menu gt System gt Display Settings The Display Settings menu is for setting the Fail Hold Time LCD Timeout and doing a Touch Screen Calibration Display optimization can be enabled in the Advanced menu option Fail Hold Time Mai
159. transmit one or more bytes to the Vu sensor If the data byte values appear correct and the number sent by the requesting device matches the number received by the Vu sensor then the transmit receive functionality is working properly If the connection is incorrect electrically or if the baud rate is mismatched no bytes will appear in the upper field on the Port Status screen If the connection is correct electrically bytes will appear in the upper field of the Port Status screen in the order they were received If the Port Status Errors at the bottom of the Port Status screen highlights red then the connection is correct electrically but there is likely a settings mismatch between the iVu sensor and the requesting device Verify the settings on both devices If the bytes appear with no errors but appear incorrect or there are too many or too few then the port settings for example baud rate are likely mismatched in a way that does not generate serial hardware errors Verify the settings on both devices match exactly Verifying Basic Transmit Functionality The Vu command channel will only send response frames to the requesting device if it receives a valid end of frame delimiter from the requesting device To verify transmit functionality 1 Transmit an end of frame delimiter sequence from the requesting device to the Vu sensor For example in a terminal program simply hit Enter If a valid end of frame delimi
160. try is stalled no new bytes or end of frame delimiter was not re ceived or client is not reading data on ethernet If the response frame contains an error or is dropped the log entry icons for the request and the response frames will be colored red and the displayed error count will increment by one If the command takes a long time to process the last long entry will change to an hourglass for example during trigger of long inspections For Ethernet channels The channel s log will show an Enabled entry that indicates which port is being listened to When a client connects a log entry is added that indicates which IP address connected When a client closes the connection a log entry indicates that the channel is no longer being listened to 92 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual 8 2 Ethernet I O 8 2 1 Ethernet I O Status The Ethernet I O Status screen can be used to verify that the Ethernet wiring has been correctly set up In addition to determining if the link has been established incoming and outgoing traffic can be monitored 8 3 Serial I O 8 3 1 Using the Port Status Screen for Testing RS 232 Communications The Port Status screen can be used to ensure data is entering and exiting the sensor This can be useful for debugging issues such as improper wiring mismatched baud rates or other serial I O issues To access the Port Status screen go to Main Menu gt S
161. u set up and test Capture images of a range of samples to set up from the worst good part to the best bad part The Demo application shows how the sensor when configured as a Blemish sensor can accept or reject parts based on the range of edge pixels the sensor detects in the ROI Start the setup with a good part Normally each part to be tested will be centered in the Field of View FOV 1 Adjust the Region of Interest ROI Resize the ROI so that it surrounds just the feature of interest In the Blemish Demo example the feature of interest includes the two irregular shapes below the Banner logo a i 0 ar aus o ROI Type Sensitivity Edge Length Range Pass Count Adjust the Sensitivity parameter Sensitivity is used to fine tune how sensitive the sensor is to finding blemish or other edges within the ROI The Sensitivity value helps account for light variations that might affect how well the sensor detects edges The 68 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Sensitivity scale is from 0 to 100 where 0 means least sensitive and 100 means most sensitive If set near 0 the sensor will only find very sharp edges with strong contrast If set near 100 the sensor will find very dim or blurry edges and may be unstable Use the slider on the bottom of the screen to adjust the sensitivity watching as the sensor detects more or fewer edges Adj
162. ust the Edge Length Range The sensor counts all the edge pixels it detects in the ROI The bar at the bottom of the Edge Length Range screen shows all the different contiguous edge segments found Edge segments within the two brackets are highlighted in green and those outside the brackets are ignored and colored yellow as in the example You can move each bracket to add or remove more of the edge segments from consideration Ex or 483 3807 a a Move the slider at the bottom of the screen to the to the desired Edge Length Range You can zoom in to refine the range a emmmer Adjust the Pass Count parameter The sensor aggregates all the edge pixels that fall within the Edge Length Range and indi cates the value with a small colored bar at the bottom of the page If within the range brackets the bar is green otherwise it is yellow Rev C www bannerengineering com tel 763 544 3164 69 iVu Plus TG User Manual 0 25 pix C a 5 Use the brackets to set a tolerance for the pass fail OX om Now the inspection for the blemish sensor is set up to be sensitive enough to find blemishes under the logo and fail the inspec tion Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad To complete the Blemish application setup set triggering as appropriate for your application Eu NOTE Remote Teac
163. ut Output 16 bit Configuration 8 bit Eb AB EB Host Name Status Output Open Module Properties PLC Input Assembly 101 PLC Output Assembly 113 ETHERNET MODULE Generic Ethernet Module Vendor Allen Bradley Parent LocalENB Name Vu Plus Connection Parameters Assembly Description Banner Sensor Instance Input 101 16 bit Comm Format Data INT z Address Host Name IP Addres 192 168 0 1 Status Input Output 113 16 bit Configuration 128 8 bit colo ds O Host Name Status Output Open Module Properties Rev C www bannerengineering com tel 763 544 3164 117 iVu Plus TG User Manual PLC Input Assembly 102 PLC Output Assembly 113 Type ETHERNET MODULE Generic Ethernet Module Vendor Allen Bradley Parent LocalENB Hane Mu Plus_BCR Connection Parameters Assembly Description Banner Sensor BCR Instance Input 102 16 bit Comm Format Data INT X Address Host Name 9 IP Address 192 168 0 1 Status Input Output 13240 El ry Configuration 124 Sbit Host Name Status Output Select or deselect Unicast Connection as desired Module Properties LocalENB ETHERNET MODULE 1 1 EJ General Connection Module Info Requested Packet Interval RPI 100 0 ms 1 0 3200 0 ms Inhibit Module E Major Fault O
164. v C 2 Overview of the Sensor The iVu Plus sensor is used to monitor parts for type size orientation shape and location No external PC is required to configure the sensor Instead the sensor has a color touch screen display either integrated with the sensor or available as a remote display that you can use to set up and monitor inspections The following are features of the iVu sensor Totally self contained image sensor no PC required e No PC required to configure change or monitor Easy configuration install connect iVu select sensor type acquire image set inspection parameters Intuitive interface and sophisticated features make powerful inspection capabilities simple Multiple sensor configuration On board language selectable intuitive GUI English French German Italian Spanish Japanese Simplified Chinese Portuguese and Turkish 68 5 mm touch screen LCD display 320 x 240 pixels OR Separate touch screen display mounts remotely from the sensor to allow easy access to the user interface and to view inspection images Four sensor types in one package a match sensor that determines whether a pattern on a label or part matches some reference pattern a sort sensor that can recognize and sort up to ten different patterns within the same inspection an area sensor that detects whether a particular feature or features is present or not and a blemish sensor that detects flaws on parts e Robust IP67 hou
165. word using a reset key that is generated by the Password Reset Utility which is located on the Product CD The following steps will guide you through the specific steps to reset the password DOVE GOIN On your iVu Series sensor click the Forgot button located on the bottom of the Enter Current Password screen Write down the 6 digit Device Key On a Windows PC insert the iVu product CD into the CD ROM drive From the product CD menu started upon inserting the CD launch the Password Reset Utility Enter the Device Key into the text box in the Utility identified as Step 1 in the Password Reset Utility Click the Generate Reset Key button www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Write down the four digit Password Reset Key identified as Step 2 in the Password Reset Utility On the iVu Series sensor check the Next button on the Password Reset screen Enter the 4 digit reset key on the Enter Reset Key screen 10 Click Apply 2 9 The password is now cleared 13 4 How to Use Bitmap Image Files with the iVu Emulator You can use bitmap bmp image files with the iVu Emulator for developing and simulating iVu inspections The iVu Emulator only ac cepts image files in omp format If you have other image file formats use an image viewer editor program such as PhotoShop Gimp or Paint to convert the files to 8 bit grayscale omp format Es NOTE Images smaller than 640 X 480 will be
166. xecute this command TEACH_SENSOR_TYPE_INVALID MULTIPLE_INSPECTIONS_ DISABLED MULTIPLE_INSPECTIONS_EMPTY PRODUCT_CHANGE_WHEN_NOT_READY change PRODUCT_CHANGE_INVALID_INSPECTION tion PRODUCT_CHANGE_TIMEOUT The Product Change operation timed out PRODUCT_CHANGE_TO_SAME_INSPECTION Attempt to product change to the same inspection SENSOR_NAME_NOT_FOUND Attempt to use a command without a sensor name in a mul ti sensor inspection 7 1 7 Setting Up Serial Communications 80401 80402 80403 80404 The general flow for setting up for serial communications 1 Prepare the connection RS 232 wiring Electrically connect the control device and the Vu sensor On the Vu the pins wire colors used for serial communications via RS 232 are shown in the table below 88 www bannerengineering com tel 763 544 3164 Rev C iVu Plus TG User Manual Light Blue 2 Configure port settings baud rate data bits parity and stop bits on the iVu to match the settings on the control device Go to Main Menu gt System gt Communications gt Serial I O 3 To enable the command channel over the serial connection a Go to Main Menu gt System gt Communications gt Command Channel gt Connection and select Serial 1 0 b Configure the field and end of frame delimiters Go to Main Menu gt System gt Communications gt Command Channel gt Delimiters get tool result lt datal gt lt data2 gt Pal Vali
167. you can get online help on any screen by clicking the Help icon in the upper right of the screen PDF Documentation The product documentation is available in a convenient printable format PDF on the installation CD or at www bannerengineering com Banner Website The most current product information documentation and software updates are available on the Banner website www bannerengineer ing com Warranty Service The product is designed for reliability Do not open the housing it contains no field replaceable components If repair is necessary do not attempt to repair the device yourself return the unit to the factory Should it become necessary to return a device to the factory please do the following 1 Contact the Banner Factory Application Engineering group at the address or numbers listed below They will attempt to trouble shoot the system from your description of the problem If they conclude that a component is defective they will issue an RMA Return Merchandise Authorization number for your paperwork and give you the proper shipping address 2 Pack the device carefully Damage which occurs during return shipping is not covered by warranty Rev C www bannerengineering com tel 763 544 3164 5 iVu Plus TG User Manual Factory Support Call e mail fax or write your local Banner representative or a Banner Applications Engineer for support Applications Engineers are available from 8 00 A M to 5 00 P M Central Time
168. ystem gt Communications gt Serial I O and click on the Status button The upper field shows the bytes received request frame on the Vu from the control device The lower field shows the bytes sent response frame from the Vu to the control device Port Errors The Port Errors screen can help to debug communications channel issues Parity Break and Framing indicate mismatched port settings or in the case of Break incorrect cabling 8 3 2 Using the iVu Command Channel Sample Application or a Terminal Program for Test ing The easiest way to test that the Vu command channel is correctly receiving and transmitting data is to use either the Vu Command Channel Sample App available on the installation CD or to use a terminal program running on a PC If using a terminal program in the terminal program s configuration Rev C www bannerengineering com tel 763 544 3164 93 iVu Plus TG User Manual Set new line transmit to lt CR gt lt LF gt and set the end of frame delimiters on the Vu to match Enable local echo Set the Serial port set up so that the PC port number s baud rate data parity and stop bits match those setup on the iVu 8 3 3 Verifying Basic Receive Functionality To verify the iVu can receive request frames from the requesting device 1 On the Vu Sensor go to the Main Menu gt System gt Communications gt Serial I O gt Port Status screen 2 On the requesting device
169. zes Please refer to the appropriate sections of this manual for this information 11 11 Additional Information 11 11 1 Vu Command Channel Commands Vu Command Channel over Industrial Ether Net This section describes how to use the Vu Command Channel over Industrial EtherNet Please see the Vu Plus Communications User s Guide for more information on the Vu Command Channel protocol The following commands need to be executed using the Command ID register and the Command Input bit Input Coil bit Trigger Trigger Mode 1 10001 The sensor s triggering mode This value must match the Int16 modes supported by the sensor Product Change Product Change By This command forces the sensor to switch to the specified in Byte Array Name spection The sensor does not transmit a response until the sensor has completed the action Inspections results immedi ately after a product change will be invalid until a new trigger is received Gain 51 10051 The sensor s value used to electronically brighten all image Int32 pixels Exposure 52 10052 The sensor s value used to control the amount of time the im Int32 ager is allowed to gather light for the image Clear System Error 81 This command clears the system error LED and resets the in N A ternal system error flag to false System Reboot Sensor 101 This command reboots the sensor If sensor configuration data is being currently being saved this command will block until that operat

Download Pdf Manuals

image

Related Search

Related Contents

BOMBA HELICOIDAL Série HF/HX MANUAL DE INSTALAÇÃO E  lm05 serie ii - R&M Materials Handling equipment  ROLLITE™ROLLATORS MARCHETTES ROLLITES  

Copyright © All rights reserved.
Failed to retrieve file