background image

 

3. To enable the command channel over the serial connection:

a. Go to Main Menu > System > Communications > Command Channel > Connection and select Serial

I/O.

b. Configure the field and end-of-frame delimiters. Go to Main Menu > System > Communications >

Command Channel > Delimiters.

 

 

Valid end-of-frame delimiters are: <comma>, <colon>, <semicolon>, <CR>, <CR><LF>, <LF><CR>, or

<ETX>.

c. Optionally, if you want to trigger the iVu from the control device, set the trigger mode to Command (go to

Main Menu > Imager > 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 > System > Communications > Data Export > Connection and select Serial I/O

from the drop-down.

 

iVu Plus TG Gen2 Image Sensor

 

 

84

www.bannerengineering.com - Tel: 763.544.3164

 

Summary of Contents for iVu Plus TG Gen2

Page 1: ...iVu Plus TG Gen2 Image Sensor Instruction Manual Original Instructions 179042 Rev C 21 April 2015 179042...

Page 2: ...ning Inspections 16 3 5 Imager Resolution 16 3 6 iVu Plus Communication Summary of Ethernet and Serial 16 3 6 1 Communication Channels 17 3 7 Trigger Modes 17 3 8 Mask 18 4 Home Screen 19 4 1 Display...

Page 3: ...O 87 8 3 3 Serial I O 87 8 4 Command Channel Primer 89 8 4 1 Command Channel Commands 89 8 4 2 Conventions Used for Examples 90 8 4 3 Examples 90 8 4 4 Command Channel Reference 91 8 4 5 Multiple Sen...

Page 4: ...ional Information 193 9 11 1 iVu Command Channel Commands iVu Command Channel over Industrial EtherNet 193 10 Debugging Inspections 198 10 1 iVu Emulator 198 10 2 How to Round Trip Debug Using the Emu...

Page 5: ...or separate touch screen display that 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 dete...

Page 6: ...D 4 Focusing Window 5 Focusing Window Locking Clip 6 Integrated Display C A B A 8 pin Euro style M12 female USB Cable Connector B I O Cable Connector C 12 pin Euro style M12 male Power and I O Cable C...

Page 7: ...ws 2 2 Installing and Connecting the Sensor The iVu Plus TG sensor requires a bracket for mounting Three brackets are available from Banner The brackets allow the sensor to be mounted either perpendic...

Page 8: ...k External Trigger Input 7 Blue Common Signal Ground Input 8 Red Ready Output 9 Orange Output 3 Output 10 Light Blue RS 232 TX Output 11 Black RS 232 Signal Ground Output 12 Violet RS 232 Rx Input 2 2...

Page 9: ...cking 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 F...

Page 10: ...osure C Retainer Ring optional D Filter optional E Filter Retainer Ring Tool NOTE Filter Kits are available separately 1 Remove the Lens Enclosure and Lens 2 Install filter behind the retainer ring Ma...

Page 11: ...ired iVu Input Signal Voltage ON OFF PNP 10 to 30 V dc 2 V dc 2 3 2 NPN High to Low Trigger and Remote Teach Input Waveforms Trigger Remote Teach Pink Wire Color Function Gray Power up The sensor trig...

Page 12: ...Enable the Input Pullup in the iVu Plus TG software Main Menu System Discrete I O Input Pullup 2 3 3 iVu Output Waveforms Ready Pass Fail Pass Pass Fail Pass Function Strobe Out Configure as External...

Page 13: ...NOTE Table 4 Expected iVu Output Signal Voltage ON OFF PNP V 0 V NPN 1 V V iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 13...

Page 14: ...ncludes four Sensor Types Area Sensor Blemish Sensor Match Sensor Sort Sensor 3 2 1 Area Sensor An Area type sensor is used to ensure that a feature or multiple features are present on a part When set...

Page 15: ...ications include Date Lot code inspections Label inspections Part etching inspections Part orientation inspections Part shape inspections 3 2 4 Sort Sensor A Sort sensor type that can recognize and so...

Page 16: ...Series Sensor includes an adjustable resolution up to 752 480 pixels 3 6 iVu Plus Communication Summary of Ethernet and Serial The iVu Plus communicates with other devices via Ethernet or a UART seria...

Page 17: ...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 Comm...

Page 18: ...k ROI s to exclude portions of an image from the running sensor It is available on Area and Blemish sensors See Configuring a Mask on page 75 for more information iVu Plus TG Gen2 Image Sensor 18 www...

Page 19: ...s 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 button 4 1 Display Mode Main Menu Home Display Mode...

Page 20: ...or name indicates the reason of its failure History The History screen shows inspection history from sensor reboot or the last time the statistics were reset including Total Frames Total number of obj...

Page 21: ...what inspection input settings were used on the latest inspection Click to expand the inspection information or to collapse the inspection information Use the right arrows as a shortcut go to a sensor...

Page 22: ...sor Type selection determines first menu item under inspection Inspection Name Set Name ID Locked Inspection Logs System Logs Communication Logs Unlock Sensor Logs Inspection Logs System Logs Communic...

Page 23: ...en Click this icon to hide the time stamp for the Logs The Show Log Timestamps icon is one of the icons displayed in the upper left corner of the Logs screen Click this icon to show the time stamp for...

Page 24: ...cated in the Inspection Statistic table it indicates that the sensor failed because there were fewer objects than specified by the test count One of the possible Sensor Failed icons located in the Ins...

Page 25: ...s used to ensure that one or more features of interest are present on a part To configure as an Area sensor set four parameters ROI and Mask Rectangle Elliptical or Circle and enabling the mask functi...

Page 26: ...f 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 Pass Cou...

Page 27: ...ows 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 Use the slider bar to...

Page 28: ...pass or fail result of the inspection Timeout Main Menu Inspection Sensors Match Timeout When the sensor type is set as Match or Sort this screen provides for adjusting the maximum time the inspection...

Page 29: ...ther 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 Men...

Page 30: ...nsor Type and specify an Inspection Name Additionally if the Sensor Type is Match or Sort an option to define a timeout for the inspection Inspection Name Main Menu Inspection Properties Inspection Na...

Page 31: ...the Start Running button that displays Add New Main Menu Inspection Stored Inspections Add New The Add New button is to add a new inspection The sensor can store up to 30 inspections When you add a n...

Page 32: ...ection 5 3 Imager Menu Main Menu 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 E...

Page 33: ...igger default Free Run Industrial Ethernet Only or Command If Internal Trigger is selected triggers are based on timed intervals and you need to select a trigger interval between 10 and 10000 millisec...

Page 34: ...peaks or the image appears sharp then lock the focus ring NOTE For the Focus Number to work the sensor must be triggering and the images must be similar over time 5 3 6 Strobe Main Menu Imager Strobe...

Page 35: ...s on during the time the sensor is capturing an image For UV models the Always ON option is not available 5 3 7 FOV Field of View Main Menu Imager FOV The field of view FOV is the area that the sensor...

Page 36: ...lt for Coarse resolution is 320 240 pixels The maximum FOV is 752 480 for Fine resolution and 376 240 for Coarse resolution To quickly set the FOV to the maximum click Set Max The green box representi...

Page 37: ...nfiguration and other general system level operations 5 4 1 Mode Main Menu System Mode The sensor has two operating modes Live Mode which is the normal operating mode where the sensor captures live im...

Page 38: ...NOTE On the Emulator this option is Save Configuration Load from USB Main Menu System Configuration Load from USB The Load from USB screen allows the sensor Configuration to be restored from a USB fla...

Page 39: ...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 softwar...

Page 40: ...evices Ethernet I O Status Main Menu System Communications 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 de...

Page 41: ...ssembly 0 65 or MODBUS PCCC registers 30001 to 30240 at offset 55 166 Default Map Main Menu System Communications Industrial EtherNet Map Default The default map automatically maps sensor data for eac...

Page 42: ...178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Array 229 239 reserved 16 bit integer NOTE If the inspection contains more than five sensors the sensor after the fif...

Page 43: ...s used in the offset range 55 to 166 on EIP Assembly 101 0x65 registers Table 10 EIP Assembly Instance 101 0x65 CUSTOM MAP WORD WORD NAME Data Type 0 Input Bits ACK Register see Input and Output Flags...

Page 44: ...Logs This screen displays the list of recent events on Industrial Ethernet channel Detailed logging can be selected under Setup when troubleshooting Command Channel Main Menu System Communications Com...

Page 45: ...ll look in the output or input streams Data Export Main Menu System Communications Data Export When the Data Export is enabled the sensor will transmit selected inspection data when triggered Connecti...

Page 46: ...xported from the device or faster than the client is reading the channel export data due to bandwidth limitations This setting affects how the sensor will behave in this situation Select Hold READY to...

Page 47: ...xport 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 or faster than the clie...

Page 48: ...tected 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 scree...

Page 49: ...cs 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 statistic...

Page 50: ...For example when only 2 sensors are included on the current inspection and the Output Select Sensor s has Sensor 1 Sensor 2 and Sensor 3 checked only Sensor 1 and Sensor 2 will be used to determine th...

Page 51: ...ize Display Response option This feature helps to make the display more responsive when the sensor is busy either inspection times are long and or no idle time exists between inspections Disable this...

Page 52: ...ten Inspection Logs can be held in memory on the sensor The next ten overwrite the previous Inspection Logs can be saved to the USB flash drive so that the logs can be imported to the emulator View Lo...

Page 53: ...g Passed Inspections Failed Inspections or All Inspections 5 5 2 System Logs Main Menu Logs System Logs The System Log contains configuration change information other notifications and any errors or w...

Page 54: ...Communication Logs Command Channel 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 disp...

Page 55: ...n 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 addr...

Page 56: ...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 i...

Page 57: ...turning the Focusing Window clockwise focuses on more distant objects 3 After the best image has been acquired lock the focusing window Micro Video Lens Models A Lens B Focusing Window C Locking Clip...

Page 58: ...les such as configuration and log files are not compatible with Gen1 devices In order to have one configuration file that applies to both Gen1 and Gen2 devices configure inspections using a Gen1 devic...

Page 59: ...dotted line that can be resized Area Sensor Blemish Sensor Match Sensor Sort Application The ROI type is the shape of the area of inspection The ROI can be a rectangle circle or ellipse Intensity Rang...

Page 60: ...that the smaller the rotation range the faster the inspection will run The Pass Count establishes the pass fail result of the inspection The Minimum Pass Count is the minimum number of parts labels or...

Page 61: ...y 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 e...

Page 62: ...une the selection to set the intensity range 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...

Page 63: ...set to 6 since the inspection should find six letters The letters turn green to indicate that the inspection passed 5 Test the complete range of good and bad samples to make sure that the sensor acce...

Page 64: ...ples 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...

Page 65: ...nge 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 tw...

Page 66: ...ail the inspection 3 Test the complete range of good and bad samples to make sure that the sensor accepts good parts and rejects bad parts 4 To complete the Blemish application setup set triggering as...

Page 67: ...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 i...

Page 68: ...nt 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 tolera...

Page 69: ...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 th...

Page 70: ...etup set triggering as appropriate for the application NOTE When running a Match inspection the sensor will look for any possible patterns to match anywhere within the Field of View 7 4 1 Remote Teach...

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

Page 72: ...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 st...

Page 73: ...ans 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...

Page 74: ...Move selected sensor down in the execution order Edit name of selected sensor Delete selected sensor After all the sensors are configured as required for the application the inspection Pass Fail crit...

Page 75: ...tton to open the sensor parameters menu 3 Select ROI and Mask 4 Select the Enable Mask checkbox 5 Click to return to the home screen 6 Re select the ROI from step 1 7 Press to insert the mask The mask...

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

Page 77: ...g inspection Command Channel Sample Application The iVu Plus TG installation CD has a Command Channel sample application that provides an easy interface to execute commands In a production environment...

Page 78: ...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 8 1 5 Image Export Image export is only...

Page 79: ...on 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 t...

Page 80: ...ing the Control Panel followed by Network and Internet and clicking Manage network connections 2 Right click the connection you want to change then click Properties If you are prompted for an administ...

Page 81: ...u System Communications Ethernet I O and make sure that the sensor is configured as shown below 2 To enable the command channel over Ethernet a Go to Main Menu System Communications Command Channel Co...

Page 82: ...nu System Communications Data Export Connection and select Serial I O from the drop down b Go to Main Menu System Communications Data Export Data To Export and select the inspection data to export c G...

Page 83: ...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 Communications Chann...

Page 84: ...ma colon semicolon CR CR LF LF CR or ETX c Optionally if you want to trigger the iVu from the control device set the trigger mode to Command go to Main Menu Imager Trigger and select Command from the...

Page 85: ...inspection data to export c Go to Main Menu System Communications Data Export Output Format and select the Start String Delimiter and End String d Go to Main Menu System Communications Data Export Adv...

Page 86: ...Logs 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...

Page 87: ...t frame on the iVu from the control device The lower field shows the bytes sent response frame from the iVu to the control device Port Errors The Port Errors screen can help to debug communications ch...

Page 88: ...y 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...

Page 89: ...R ETX NOTE When data is displayed on iVu screens such as the Port Status screen printable delimiters are displayed as expected Non printable characters such as CR are displayed in hex notation x0D Com...

Page 90: ...s included here and the following are the conventions used in the examples All examples use CR LF for the end of frame delimiter and this delimiter is always denoted in hex x0D x0A since that is what...

Page 91: ...as a string Get Info ModelNumber The sensor model number as a string Get Info FirmwareVersion The sensor firmware version as a string Get Info SerialNumber The sensor serial number as a string Get In...

Page 92: ...order to make the new mask effective Set Ethernet Gateway Set new Gateway IP address A Reboot command is required to be sent from the command channel to make the new address effective Examples do sys...

Page 93: ...me the imager is allowed to gather light for the image This value can be modified using the sensor s touchscreen This remotely modified value is not persisted to the sensors permanent memory The Save...

Page 94: ...Frames The total number of inspections since the history was last cleared Get History MinInspectionTime The minimum elapsed time msec of the inspection Get History MaxInspectionTime The maximum elapse...

Page 95: ...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 si...

Page 96: ...A get blemish_history maxcount x0D x0A OK x0D x0A 6 x0D x0A MATCH_RESULT Command Group Command Group Item Description Get MATCH_RESULT Count The number of detected matches Get MATCH_RESULT MinPercentM...

Page 97: ...Command Group Item Description Get SORT_HISTORY MinCount The minimum number of detected sort patterns since history was last cleared Get SORT_HISTORY MaxCount The maximum number of detected sort patt...

Page 98: ...lid 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 10250 NOT_A_METHOD Method ID specified is not a method 10251...

Page 99: ...UND Attempt to use a command without a sensor name in a multi sensor inspection 8 5 iVu Discovery Protocol The iVu Discovery Protocol is a method by which Banner s iVu Vision sensors can be dynamicall...

Page 100: ...ll other languages this field will be omitted MAC xx xx xx xx xx xx Each x is a hexadecimal character Ethernet MAC address of this sensor IP String in decimal dot notation IP address of the sensor Net...

Page 101: ...nd are an artifact of the application used to test the iVu Discovery Protocol DISCOVER_REPLY Message The DISCOVER_REPLY packet is sent by the sensor in reply to a DISCOVER message For the body portion...

Page 102: ...If the above field s does not match the sensor s equivalent the sensor will discard the packet No reply will be generated 2b If the match is detected The sensor will compare the new values with the cu...

Page 103: ...change may be necessary to enable the passing of broadcast packets 2 Upon receipt of the broadcast message the sensor performs the following Sensor verifies that the message is addressed to it by comp...

Page 104: ...s MAC 00 11 22 33 44 55 IP 192 168 0 1 NetMask 255 255 255 0 Gateway 0 0 0 0 The packet must be sent out using the broadcast address of 255 255 255 255 NOTE Not all the switches are configured to pass...

Page 105: ...tMask 255 255 255 0 Gateway Gateway 0 0 0 0 The body of the message will look like this SerialNumber P01238710163241048 IP 192 168 0 1 NetMask 255 255 255 0 Gateway 0 0 0 0 The packet must be sent out...

Page 106: ...is logged in the System Log A DISCOVER_REPLY RPLY reply with current values is generated and sent please see Sensor Discovery for details If the values do pass the syntax check New values are stored...

Page 107: ...munication channel click on the Main Menu Imager Trigger and select Industrial EtherNet Only from the drop down menu 9 2 Supported Functions The iVu Plus Series sensor is controlled over EtherNet IP a...

Page 108: ...flag after the corresponding 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 1 Wait for ready 2 Set Trigger...

Page 109: ...ts are cleared when the iVu input bit is cleared When multiple iVu input bits are set simultaneously the Execution Error input bit is set and an Error Code value is reported in the Error Code register...

Page 110: ...integer 52 53 Command Parameter Int32 32 bit integer 54 55 Command Parameter Float Float 56 57 String Length 32 bit integer 58 107 String Parameter 100 Byte Array 108 reserved 16 bit integer 109 110 B...

Page 111: ...page 115 16 bit integer 2 3 Error Code 32 bit integer 4 5 Inspection Number 32 bit integer 6 7 Iteration Count 32 bit integer 8 9 Pass Count 32 bit integer 10 11 Fail Count 32 bit integer 12 13 Misse...

Page 112: ...h Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer Table 18 Sort Sensor Type ID 5 Sensor Specific Data Sensor Location Sort Pattern Map 16 bit integer Sort Patter...

Page 113: ...nt 32 bit integer 10 11 Fail Count 32 bit integer 12 13 Missed Triggers 32 bit integer 14 15 Current Inspection Time Float 16 Sensor Pass Fail Coil 16 bit integer 17 29 reserved 16 bit integer 30 52 I...

Page 114: ...ows 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 Since only one Area Sensor s worth of...

Page 115: ...h1 from the inspection will not be outputted on the customizable space 9 4 4 Input and Output Flags Bits Inputs Bits Register Command Flag Bits Command Set BCR Mask Set BCR String Trigger Teach Latch...

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

Page 117: ...2 Click Next 3 Select the Register and EDS file s option iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 117...

Page 118: ...4 Browse to locate the EDS file and click Next 5 Click Next to register the tested file iVu Plus TG Gen2 Image Sensor 118 www bannerengineering com Tel 763 544 3164...

Page 119: ...6 Click Next when you see the icon associated with the EDS file 7 Click Next to register the EDS file iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 119...

Page 120: ...8 Click Finish to close the EDS Wizard window 9 Right click on the PLC s Ethernet adapter and select New Module iVu Plus TG Gen2 Image Sensor 120 www bannerengineering com Tel 763 544 3164...

Page 121: ...Locate iVu Plus from the displayed list and click Create 11 Enter a name optional description and IP address for the iVu Plus iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 1...

Page 122: ...all Assemblies O T PLC Input iVu Plus Output Assembly 112 0x70 T O PLC Output iVu Plus Input Assembly 100 0x64 Large Assemblies O T PLC Input iVu Plus Output Assembly 113 0x71 T O PLC Output iVu Plus...

Page 123: ...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 senso...

Page 124: ...mat must be changed to an INT See Inputs to iVu Outputs from PLC on page 110 and Outputs from the iVu Inputs to the PLC on page 110 for more information on each specific assembly instance iVu Plus TG...

Page 125: ...Figure 3 PLC Input Assembly 100 PLC Output Assembly 112 Figure 4 PLC Input Assembly 101 PLC Output Assembly 113 iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 125...

Page 126: ...information should be displayed If the module configuration was not successful the RSLogix 5000 software will indicate errors similar to the ones displayed below ERROR Assembly Instance number and or...

Page 127: ...p setup from Banner module to PLC memory map C Configuration not used I Inputs to PLC outputs from iVu Plus O Outputs from PLC inputs to iVu Plus iVu Plus TG Gen2 Image Sensor www bannerengineering co...

Page 128: ...Inputs to PLC outputs from iVu Plus Sample map demonstrating string values Figure 6 Memory Map Default NOTE ControlLogix string format iVu Plus Image Sensor iVu Plus TG Gen2 Image Sensor 128 www bann...

Page 129: ...cess data using the 30000 range of registers the same values can also be seen as Holding Registers 40000 using Modbus function code 03 Read Holding Registers The Input Bits can be set as Coils using M...

Page 130: ...r ACK 10005 4 reserved 10006 5 reserved 10007 6 reserved 10008 7 reserved 10009 8 reserved 10010 9 reserved 10011 10 reserved 10012 11 reserved 10013 12 reserved 10014 13 reserved 10015 14 reserved 10...

Page 131: ...I String 100 byte Unicode char array 109 240 reserved 16 bit Integer 9 5 2 iVu Plus Output Values The iVu Plus sends output data to the PLC or HMI via a bank of Input Registers 30000 Some devices like...

Page 132: ...ic Data 16 bit Integer 76 1076 Sensor Type ID Sensor 2 16 bit Integer 77 95 1077 95 Sensor 2 Specific Data 16 bit Integer 96 1096 Sensor Type ID Sensor 3 16 bit Integer 97 115 1097 115 Sensor 3 Specif...

Page 133: ...ern 1 Count 16 bit Integer Sort Pattern 2 Count 16 bit Integer Sort Pattern 3 Count 16 bit Integer Sort Pattern 4 Count 16 bit Integer Sort Pattern 5 Count 16 bit Integer Sort Pattern 6 Count 16 bit I...

Page 134: ...3 1031 53 Inspection Name 2 word Length 20 Unicode chars 54 55 1054 55 Frame Number 32 bit Integer 56 167 1056 167 Customizable Space 112 registers varies by sensor 168 171 1168 71 reserved 16 bit Int...

Page 135: ...ows 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 Since only one Area Sensor s worth of...

Page 136: ...u will change the Trigger ACK bit from a 0 to a 1 in response This information is available as Input Registers or Holding Registers Use either function code 04 Read Input Registers or function code 03...

Page 137: ...s bit definitions are the same as defined in the EIP Assembly Objects section The terms Input and Output are from the point of view of the PLC 9 6 1 Configuration The images below represent a typical...

Page 138: ...f the iVu Plus is entered here 3 Write In the below example message command writing to N14 table on the iVu Plus from the N14 table of the PLC iVu Plus TG Gen2 Image Sensor 138 www bannerengineering c...

Page 139: ...52 53 Command Parameter Int 32 32 bit integer 54 55 Command Parameter Float 56 57 Command Parameter String Length 32 bit integer 58 107 Command Parameter String 100 Byte Array 108 reserved 16 bit int...

Page 140: ...ength 20 Unicode chars 53 54 Frame Number 32 bit integer 55 Sensor Type ID Sensor 1 16 bit integer 56 74 Sensor 1 Specific Data 16 bit integer 75 Sensor Type ID Sensor 2 16 bit integer 76 89 Sensor 2...

Page 141: ...t Match 16 bit integer Sort Max Percent Match 16 bit integer Custom Map Main Menu System Communications Industrial EtherNet Map Custom The custom maps allows customization of fix sensor data on the ma...

Page 142: ...ponse Int16 16 bit integer 173 174 Command Response Int32 32 bit integer 175 176 Command Response Float Float 177 178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Arra...

Page 143: ...f 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 arran...

Page 144: ...rror Teach Error Missed Trigger Output 3 Output 2 Output 1 Read No Read Pass Fail Ready Latch Ready Bit Position 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 0 9 7 PROFINET PROFINET is a data communication pro...

Page 145: ...he type and volume of data that is sent to the controller PLC A submodule is typically designated as input type output type or combined input output type An input submodule is used to send data to the...

Page 146: ...n Industrial Ethernet Click on Connection NOTE The default Industrial Ethernet Connection setting is set to Disabled 5 Click on PROFINET in the drop down menu iVu Plus TG Gen2 Image Sensor 146 www ban...

Page 147: ...le 45 on page 149 NOTE The Inspection Result Submodule does not provide any sensor specific output data The Device Control Submodule allows the user to issue commands to the iVu Plus such as Trigger T...

Page 148: ...lot 1 TG Control and Status Module Slot 2 TG Sensor Output Module Slot 3 Command Channel Module Subslot 1 TG Inspection Result Submodule sensor output submodules Command Channel Command submodules Sub...

Page 149: ...nnel Response Submodule Slot 3 Subslot 2 There are four versions of this submodule supporting command strings of 0 32 64 and 128 bytes Inspection Result Submodule The Inspection Result Submodule conta...

Page 150: ...hange Request Bit 1 Teach Latch Request Bit 2 Trigger Request Sensor Output Submodules The Default Map Submodule contains sensor output data This user enabled submodule is optional and plugged into Sl...

Page 151: ...16 bit Integer Sort Pattern 10 Count 16 bit Integer Sort Minimum Percent Match 8 bit Integer Sort Maximum Percent Match 8 bit Integer The Custom Map Submodule contains a user defined map of sensor out...

Page 152: ...Ethernet IE Map Enable the Custom Map by selecting Custom on the drop down list Click on the yellow arrow button to access the Custom IE Map screen The Custom IE Map screen allows choosing sensor resu...

Page 153: ...on 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...

Page 154: ...command Unsigned16 16 bit integer command argument Unsigned16 32 bit integer command argument Unsigned32 Floating point command argument Float32 Flag indicates when to apply the command Bit Position f...

Page 155: ...igned16 Numeric ID of the command Unsigned16 16 bit integer command argument Unsigned16 32 bit integer command argument Unsigned32 Floating point command argument Float32 Length of Command Response st...

Page 156: ...cable Table 58 32 Character Text Response Submodule Ident 0x00051 PLC Input Data Name Input Data Type Numeric Command Status Unsigned16 16 bit integer command response Unsigned16 32 bit integer comman...

Page 157: ...er command response Unsigned32 Floating point command argument Float32 Length of Command Response string Unsigned32 128 character command response string 128 byte OctetString Numeric Command Status Bi...

Page 158: ...5 Click Devices networks when the project has been uploaded 6 Click Configure networks Network view displays iVu Plus TG Gen2 Image Sensor 158 www bannerengineering com Tel 763 544 3164...

Page 159: ...l station description file window opens 8 Click the browse button to the right of the Source path field 9 Navigate to the location the iVu Plus GSD file was downloaded to 10 Select the downloaded iVu...

Page 160: ...install properly save the log and contact Banner Engineering Corporation Adding a Device to a Project Use these instructions to add an iVu Plus TG device to a Siemens TIA Portal v13 project and to con...

Page 161: ...4 Click Devices networks when the project has been uploaded iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 161...

Page 162: ...5 Click Configure networks Network view displays NOTE For Step 6 through Step 10 Network view must be open iVu Plus TG Gen2 Image Sensor 162 www bannerengineering com Tel 763 544 3164...

Page 163: ...eering Corp Banner Vision Sensors iVu Series 7 Select the device and add it to the configuration Selection Option Description Drag Drag iVu Plus TG from the Hardware catalog directly into the configur...

Page 164: ...device using the Siemens TIA Portal v13 software Use these instructions as a basis if you are using another controller PLC 1 Start the Siemens TIA Portal v13 software 2 Click Open existing project 3...

Page 165: ...ress of the device 11 Enter the IP address 12 Right click on the device icon and select Online diagnostics The Online diagnostics window displays 13 Select Assign IP address under Functions iVu Plus T...

Page 166: ...tions Ethernet IO Status 16 Click Apply The IP address for the device is updated 17 Click Assign IP address to complete the step This step is completed for every device Changing the Device Name Use th...

Page 167: ...f Device view to bring up the Module properties window 4 Click General 5 Select PROFINET interface X1 Ethernet addresses 6 Deselect Generate PROFINET device name automatically 7 Enter a unique name in...

Page 168: ...indow displays 10 Select Assign name under Functions The Assign name window displays The devices in the network are discovered The Name column is blank 11 Select the device that will have a name assig...

Page 169: ...Vu Plus GSD File Use these instructions to install the Banner iVu Plus GSD file in the Siemens SIMATIC STEP 7 v5 5 software 1 Start Siemens SIMATIC Manager 2 Select an existing project and open it 3 S...

Page 170: ...configuration window opens 5 In the Hardware configuration window click Options Install GSD File The Install GSD Files window displays 6 Browse to the location of the saved Banner iVu Plus GSD file iV...

Page 171: ...The location in the Hardware catalog is PROFINET IO Additional Field Devices Sensors Banner Vision Sensors iVu Series Creating a PROFINET Connection Use these instructions to create a PROFINET Connect...

Page 172: ...from the box at the bottom of the Ethernet interface properties window If no suitable network is shown click the New button to add one then click OK 8 Click iVu Plus TG in the Hardware catalog and dra...

Page 173: ...Hierarchy list 4 Double click on the Hardware icon in the Station level window to open the Hardware configuration window 5 Select PLC Ethernet Edit Ethernet Node iVu Plus TG Gen2 Image Sensor www ban...

Page 174: ...nline in the Edit Ethernet Node window This starts a search for all PROFINET devices on the network and shows the found devices 7 Select the device to be modified iVu Plus TG Gen2 Image Sensor 174 www...

Page 175: ...on The parameters are transferred 11 Click OK to acknowledge the message of a successful transfer The IP address adjustment is complete Changing the Device Name Use these instructions for the Siemens...

Page 176: ...Hierarchy list 4 Double click on the Hardware icon in the Station level window to open the Hardware configuration window 5 Select PLC Ethernet Edit Ethernet Node iVu Plus TG Gen2 Image Sensor 176 www...

Page 177: ...nline in the Edit Ethernet Node window This starts a search for all PROFINET devices on the network and shows the found devices 7 Select the device to be modified iVu Plus TG Gen2 Image Sensor www ban...

Page 178: ...ers in the Device name field 10 Click Assign Name The Device name is updated If a failed update message is returned the new name did not meet the naming requirements Reference the Siemens PLC naming c...

Page 179: ...ange ACK 0 Ready Product Change ProductChange ACK 1 New inspection is loaded RPI 0 1 X X Y X Y Z Product Change ACK Set ProductChange 1 Verify Ready 1 ProductChange ACK 0 Set ProductChange 0 Product C...

Page 180: ...tch TeachLatch ACK 1 Teach will execute on next trigger RPI 0 1 X X Y X Y Z Teach Latch ACK Set TeachLatch 1 Verify Ready 1 TeachLatchACK 0 Set TeachLatch 0 Teach Latch iVu Plus TG Gen2 Image Sensor 1...

Page 181: ...erACK 0 Ready Trigger TriggerACK 1 Read Results Set Trigger 0 RPI 0 1 X X Y X Y Z TriggerACK Set Trigger 1 Verify Ready 1 TriggerACK 0 Trigger iVu Plus TG Gen2 Image Sensor www bannerengineering com T...

Page 182: ...ommand Status Register The command status is a verification of the command type Command Status Value 16 bit integer Unknown 0 Read 1 Write 2 Execute 3 9 10 Diagnostic Guide iVu Plus sensors provide se...

Page 183: ...meters are not as expected wrong baud rate or duplex try the following a Log into your managed switch and verify that the port to which iVu camera is connected is correctly configured Alternatively co...

Page 184: ...Command window To do this press Start Run and then type in cmd and press the OK button 6 A command window will display 7 Type in a ping command specifying the sensor IP address as an argument You sho...

Page 185: ...ject additional connection requests Prior to attempting to establish the Modbus TCP connection you will have to configure your device and teach it about the iVu sensor You will have to tell it the IP...

Page 186: ...have the correct switch type and that these switches have IGMP snooping enabled to allow them to manage multicast groups In addition some switches with built in firewalls block UDP traffic by default...

Page 187: ...iemens TIA Portal v13 software 2 Click Open an existing project 3 Select a project and open it 4 Click Devices networks when the project has been uploaded 5 Click Configure networks 6 Click the Access...

Page 188: ...Vu Plus sensor s communication logs Use these instructions to access the sensor s communication logs via the sensor s touch screen 1 Click on the Wrench button on the iVu Plus Home screen The Main Men...

Page 189: ...2 Click on Logs 3 Click on Communication Logs 4 Click on Industrial Ethernet iVu Plus TG Gen2 Image Sensor www bannerengineering com Tel 763 544 3164 189...

Page 190: ...ck on View Logs NOTE Green communication log icons mean flawless communication Red communication icons mean communication errors iVu Plus TG Gen2 Image Sensor 190 www bannerengineering com Tel 763 544...

Page 191: ...log entry in the communication log to access the Communication Log Detail window NOTE An expanded description of the communication supports better diagnostics iVu Plus TG Gen2 Image Sensor www bannere...

Page 192: ...olumn to request detailed information about the device that caused the error All system and device messages are displayed in the Diagnostics buffer window under Events and Details on event 2 Select a...

Page 193: ...used to control the amount of time the imager is allowed to gather light for the image Int32 Status Clear System Error 81 This command clears the system error LED and resets the internal system error...

Page 194: ...register to know the reason of failure Below is the list of error codes Numeric ID Text ID Description 0 SUCCESS Command processed successfully 500 IE_TRIGGER_MODE_EXPECTED The Trigger Mode must be se...

Page 195: ...find must be set to one for this operation 20005 COMPARE_MASK_DISABLED Operation requires Barcode compare mask to be enabled 20200 NO_AREAS_FOUND Attempt to obtain value when no areas were found 20600...

Page 196: ...Write the desired Trigger Mode s Int16 value from the above table into the Command Parameter Int16 register 3 Toggle the Command bit from 0 to 1 bit 15 in the Input Bits Input Coil Bits register 4 Wa...

Page 197: ...Plus including Command Channel changes to exposure time and gain trigger mode barcode compare string and or mask and Remote Teach sessions 1 Write the number 102 as a 16 bit integer into the Command...

Page 198: ...Save the Inspection Logs to the USB flash drive a On the Main Menu Inspection Logs View Logs screen click the Save icon to save the inspection logs b When prompted select Yes to save sensor configura...

Page 199: ...onfiguration File CONFIG CFG path USB BANNER myName Inspection Logs path USB BANNER myName InspLog NOTE If the sensor has no name the folder name is the first 8 characters of the serial number 3 Remov...

Page 200: ...are to the USB flash drive Step 2 Install the firmware on the iVu 1 Remove the USB flash drive from the PC and plug it into the sensor 2 On the sensor select System Firmware Update The name of the fir...

Page 201: ...d on the Product CD The following steps will guide you through the specific steps to reset the password 1 On your iVu Series sensor click the Forgot button located on the bottom of the Enter Current P...

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

Page 203: ...his indicates that no inspections are occurring Reboot the sensor The Power LED is lit steady red These type of errors are reported in the System log and appear highlighted in red Do the following 1 L...

Page 204: ...device Do not attempt any repairs to this Banner device it contains no field replaceable parts or components If the device device part or device component is determined to be defective by a Banner App...

Page 205: ...iente C P 66269 San Pedro Garza Garcia Nuevo Leon Mexico Phone 52 81 8363 2714 or 01 800 BANNERE toll free Website www bannerengineering com mx Email mexico bannerengineering com Brazil Address Banner...

Page 206: ...ESS FOR A PARTICULAR PURPOSE AND WHETHER ARISING UNDER COURSE OF PERFORMANCE COURSE OF DEALING OR TRADE USAGE This Warranty is exclusive and limited to repair or at the discretion of Banner Engineerin...

Page 207: ...78 image export sample application 79 imager auto exposure 32 exposure 32 gain 33 resolution 36 trigger 33 imager menu 32 Industrial Ethernet 17 76 info command group 91 Information 39 inspection comm...

Page 208: ...97 status command group 92 strobe external 35 internal 35 submodule 149 150 152 154 155 system command group 92 System Logs 53 System menu 37 T timeout 28 29 Touchscreen Calibration 51 trigger 33 trig...

Reviews: