Home
B_3095133 - Banner Engineering
Contents
1. 167 170 171 172 173 174 175 176 177 178 179 228 229 239 WORD NAME Input Bits ACK Register Output Bits Register Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Customizable Space 112 reg reserved Command Status Command Response Int16 Command Response Int32 Command Response Float Command Response Length Command Response Data reserved 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 50 www bannerengineering com Tel 763 544 3164 Data Type 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 16 bit integer 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array iVu Plus Industrial Ethernet 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 Co
2. 5 Task Complete Toggle the Command bit back to 0 bit 15 in the Input Bits Input Coil Bits register RUNKE Get Set Trigger Mode Get the current Trigger Mode from the iVu Plus 1 Write the number 10001 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 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 Read the current Trigger Mode value in the Command Response Int16 register iVu model Trigger Mode I nt16 value External Internal Free Run Industrial EtherNet Only Command Continuous Scan External Gated Set the desired Trigger Mode for the iVu Plus 1 Write the number 1 as a 16 bit integer into the Command I D 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 n
3. from 192 168 1 1 32 time ins 64 from 192 168 1 1 2 time lt ins 64 from 192 168 1 1 2 time lt ins 64 from 192 168 1 1 37 64 s for 192 168 1 1 Sent 4 Received B lt loss Approximate round trip times i i i Minimum Oms Maximum NDocuments and Settings gt _ 8 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 9 If the output of the ping command shows request timeouts try the following e Verify that the camera is located on the correct subnet has the correct IP address and is connected to the correct switch or router f 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 e f 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 9 3 Industrial Protocols Troubleshooting 9 3 1 Modbus TCP Protocol Modbus TCP protocol relies on the fundamental TCP 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 TCP connection iVu supports one Modbus TCP connection from a single client and will reject additional connection reguests Prior to attempting to establish t
4. Establishing CIP and EtherNet IP I O 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 OG Time 0 0 3 58 Length 65 Ethernet IP CIP session 1 registered from host 192 168 1 100 3812 13 27 A great level of detail is also provided in the log when the I O connection is established www bannerengineering com Tel 763 544 3164 61 iVu Plus Industrial Ethernet 0 0 4 25 D VO Connection ETSO gt JE 0 0 4 25 FO Connection gt o rime 0 0 4 25 Length 62 YO Connection request with T20 instance 101 O2T instance 113 After the CIP and I O connections are established the Industrial Protocols Status page will show the details of the connection Most of the errors in establishing the CIP and I O connections have to do with specifying the proper Input and Output assembly IDs and sizes Please refer to the appropriate sections of this manual for this information 62 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 10 Additional Information 10 1 iVu Command Channel Commands iVu Command Channel over Industrial EtherNet This section describes how to use the iVu Command Channel over Industrial EtherNet Please see the iVu Plus Communications User s Guide for more information on the iVu Com
5. 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 customizable space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space 6 5 Input and Output Flags The Input Bits are used to command execution of basic functions The Output Bits are used to push single bit outputs from the iVu Sensor to the PLC The 32 bits of iVu output can also be accessed using the bits of the first two Output Registers Input Bits ACK Register word 0 and Output Bits Register word1 Input Bits Register Bit Position 14 13 15 12 11 10 9 8 7 6 5 4 3 2 1 0 Set BCR Set BCR Gated Teach Product Input Bits ACK Register Bit Position 45 44 13 12 431 30 9 9 7 6 5 4 T 4 0 Command Set BCR Set BCR Gated Trigger Teach Product ACK Mask ACK String ACK Trigger ACK Latch Change ACK ACK ACK Output Bits Register Bit Position 45 14 1 12 1 J 10 9J 8 7 81 5 4 3 1 22 1 0 Execution System Teach Missed Ready Read Error PER EN j di MER mr Ry 52 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 7 Sample Timing Diagram X Y Z Represent snapshot in time Product Change RPI 0 1 X XY X Y Z Product i Change i i i Ready i Product Change pi
6. 30009 10 Pass Count 30011 12 Fail Count 30013 14 Missed Triggers 30015 16 Current Inspection Time 30017 Sensor Pass Fail Coil 30018 30 reserved 30031 53 Inspection Name 30054 55 Frame Number 30056 Sensor Type ID 30057 58 Area Count 30059 60 Area Range Min 30061 62 Area Range Max 30063 171 reserved 30172 Command Status 30173 Command Response Int16 30174 75 Command Response Int32 30176 77 Command Response 30178 79 Command Response Length 30180 229 Command Response Data 30230 240 reserved 28 www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 16 bit integer 16 bit integer 32 bit integer Float 16 bit integer 100 Byte Array iVu Plus Industrial Ethernet Table 13 Sensor Type Blemish iVu Plus TG REGISTER WORD NAME DATA TYPE 30001 Input Coil ACK Bits see Input and Output Coils on page 38 16 bit integer 30002 Status Coil Bits see Input and Output Coils on page 38 16 bit integer 30003 4 Error Code 32 bit integer 30005 6 Inspection Number 32 bit integer 30007 8 Iteration Count 32 bit integer 30009 10 Pass Count 32 bit integer 30011 12 Fail Count 32 bit integer 30013 14 Missed Triggers 32 bit integer 30015 16 Current Inspection Time Float 30017 Sensor
7. 58 9 2 Networking and TCP IP Diagnostics rarunununenenennnnanenenenennnnnnnnnnnenennnnnnnnenenenenennnnnnevnenennnnunenenenenenen 58 9 3 Industrial Protocols Troubleshooting nnee III ee ese ee emm een 60 9 3 1 Modbus TCP Protocol uunssecoseekasekakeene gegen iiio UD GYG dados YDY ADO YA FA AO DEOR BORGO nde 60 9 3 2 EtherNet IP and PCEC Protocols sausen jmke oO GE RU uda Dad BF FWA A 61 10 Additional Information uussssnunsnnnsnensnsenensnennenennensnensnensneensnensnensnennensnenensnsnsnnnnenenenenene 63 10 1 iVu Command Channel Commands iVu Command Channel over Industrial EtherNet 63 TO I de Ta Gere EEEN 64 10 1 2 Examples Of Operation aee tociens ene De eaa thank A eade e FR 66 iVu Plus Industrial Ethernet 1 Device Setup 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 1 2 Set Industrial Ethernet Protocol EI P Modbus 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 conn
8. 58 107 Command Parameter String 100 Byte Array 108 reserved 16 bit integer 109 110 BCR String Mask Length 32 bit integer 111 120 BCR String Mask 200 Byte Array 211 239 reserved 6 3 Outputs from iVu Inputs to 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 www bannerengineering com Tel 763 544 3164 41 iVu Plus Industrial Ethernet PLC Input Registers Map N7 iVu Outputs Table 22 Sensor Type Area iVu Plus TG WORD NAME DATA TYPE Input Bits ACK Register see Input and Output Flags on page 52 16 bit integer Output Bits Register see Input and Output Flags on page 52 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil reserved Inspection Name 2 Word Length 20 unicode chars Frame Number 32 bit integer Sensor Type ID 16 bit integer Area Count 32 bit integer Area Range Min 32 bit integer Area Range Max 32 bit integer reserved 171 Command Status 16 bit integer 172 Command Response Int16 16 bit integer 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 229 239 reserved 42 www bannerengineering
9. 7 Data Barcode 8 Type Barcode 8 Length Barcode 8 Data Barcode 9 Type Barcode 9 Length Barcode 9 Data Barcode 10 Type Barcode 10 Length Barcode 10 Data 5 3 Multiple Sensors Mapping Options iVu Plus Industrial Ethernet DATA TYPE 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit len 32 byte array 16 bit integer 16 bit integer 32 bit len 32 byte array When using an iVu Plus TG with multiple sensors in an inspection there are two mapping options Default and Custom 5 3 1 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 inspections 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 WORD NAME Data Type 30001 30002 30003 4 30005 6 30007 8 30009 10 30011 12 30013 14 30015 16 30017 30018 30 30031 53 30054 55 Input Coil ACK Bits Status Coil Bits Error Code Inspection Number Iteration Count
10. Command Response Float Float 177 178 Command Response Length 32 bit integer 179 228 Command Response Data 100 Byte Array 229 239 reserved 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 www bannerengineering com Tel 763 544 3164 23 iVu Plus Industrial Ethernet 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 customizable 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 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 cust
11. Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Match Count Match Min Percent Match Match Max Percent Match reserved Command Status Command Response Int16 Command Response Int32 Command Response Command Response Length Command Response Data reserved www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 32 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array iVu Plus Industrial Ethernet Table 25 Sensor Type Sort iVu Plus TG WORD NAME DATA TYPE Input Bits ACK Register see Input and Output Flags on page 52 16 bit integer Output Bits Register see Input and Output Flags on page 52 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil reserved Inspection Name 2 Word Length 20 unicode chars Frame Number 32 bit integer Sensor Type ID 16 bit integer Sort Pattern Map 16 bit integer Sort Pattern Count 16 bit integer Sort Pattern 1 Count 16 b
12. 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 22 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 4 4 2 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 WORD NAME Data Type Input Bits ACK Register 16 bit integer Output Bits Register 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float 16 Sensor Pass Fail Coil 16 bit integer 17 29 reserved 30 52 Inspection Name 2 Word Length 20 unicode chars 53 54 Frame Number 32 bit integer 55 166 Customizable Space 112 reg 167 170 reserved 171 Command Status 16 bit integer 172 Command Response Int16 16 bit integer 173 174 Command Response Int32 32 bit integer 175 176
13. Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number www bannerengineering com Tel 763 544 3164 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 16 bit integer 2 Word Length 20 Unicode chars 32 bit integer 33 iVu Plus Industrial Ethernet WORD NAME Data Type 30056 Sensor Type ID Sensor 1 16 bit integer 30057 30075 Sensor 1 Specific Data 16 bit integer 30076 Sensor Type ID Sensor 2 16 bit integer 30077 90 Sensor 2 Specific Data 16 bit integer 30096 Sensor Type ID Sensor 3 16 bit integer 30097 30115 Sensor 3 Specific Data 16 bit integer 30116 Sensor Type ID Sensor 4 16 bit integer 30117 135 Sensor 4 Specific Data 16 bit integer 30136 Sensor Type ID Sensor 5 16 bit integer 30137 155 Sensor 5 Specific Data 16 bit integer 30156 171 reserved 30172 Command Status 16 bit integer 30173 Command Response Int16 16 bit integer 30174 175 Command Response Int32 32 bit integer 30176 177 Command Response Float Float 30178 179 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array 30230 240 reserved If the inspection contains more than 5 sensors the sensor s after the 5th one will not be on the map Table 17 Area Sensor Type ID 2 Sensor Specific Data Data Size Area Count 32 bit integer Area Range Min 32 bit integer
14. Pass Fail Coil 30018 30 reserved 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 Frame Number 32 bit integer 30056 Sensor Type ID 16 bit integer 30057 58 Blemish Count 32 bit integer 30059 60 Blemish Min Edge Length 32 bit integer 30061 62 Blemish Max Edge Length 32 bit integer 30063 171 reserved 30172 Command Status 16 bit integer 30173 Command Response Int16 16 bit integer 30174 75 Command Response Int32 32 bit integer 30176 77 Command Response Float 30178 79 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array 30230 240 reserved www bannerengineering com Tel 763 544 3164 29 iVu Plus Industrial Ethernet Table 14 Sensor Type Match iVu Plus TG REGISTER WORD NAME DATA TYPE 30001 Input Coil ACK Bits see Input and Output Coils on page 38 16 bit integer 30002 Status Coil Bits see Input and Output Coils on page 38 16 bit integer 30003 4 Error Code 32 bit integer 30005 6 Inspection Number 32 bit integer 30007 8 Iteration Count 32 bit integer 30009 10 Pass Count 32 bit integer 30011 12 Fail Count 32 bit integer 30013 14 Missed Triggers 32 bit integer 30015 16 Current Inspection Time Float 30017 Sensor Pass Fail Coil 30018 30 reserved 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 Frame Number 32 bit integer 30056 Sensor Type ID 16 bit integer 30057 58 Match Count 32 bit integer 30059 Match Min Percent Match 16 bit integer 30060 Match Max Percent M
15. Program Tags 22 Unscheduled Programs Motion Groups 221 Ungrouped Axes Add On Instructions C Configuration not used I Inputs to PLC outputs from iVu Plus O Outputs from PLC inputs to iVu Plus www bannerengineering com Tel 763 544 3164 11 iVu Plus Industrial Ethernet 12 Ur RSLog K Testi P ACI L32 19 1 File Edit View Search Logic Communications Tools Window Help EZS ecc 34 E Y amp amp secnm 9 Rem Run DB E Run Mode Pu Path AB ETHIP4192 188 0 301Backplanev0 es Enric p M Controller OK No Edits a a 4 H mH tel Gt 4 4 1 4D gt B IA Favorites K Add On Safety Alarms Bi Timerc Controller Organizer AX C TY y o Fete Controller Test E Controller Tags Scope ffu Test v Show All Tags vv MM bn Name zg e END gvuret tee eee AB ETHERNET wupuslDaa tee tee Decimal INTE240 Wu Psat E Decimal MainP gore L ebd Dein Eh MainRoutine m Decimal SW mamie Decima Mace Gw mappa Decima Ungrouped Axes uPiusiDatal Decimal Add On Instructions L wupusloaa Decimal Data Types Wu Pusba Decimal uPuslDaa 0 Decimal MuPusiDaa Decimal ER Add On Defined E Decimal E Predefined mrsa Dec
16. When multiple output bits are set Output Flags simultaneously the Execution Error input bit is set and an Error Code value is reported on the input register Y The Execution Error input bit is cleared when all Optional ACK bits get cleared or a new valid command is If using Command received ID set it and its Parameter value as required y Set Command Output Flag No ACK Flag set Yes Read Error Code Yes j Handle error condition Is Execution Error flag set No Y Command execution successful Read value and input status flags as required 6 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 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 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 Add a generic Ethernet module to the PLC s Ethernet card File Edit View Search Logic Communications Tools Window Help RWB amp ono 44 IB Path AB_ETHIP 2 192 168 0 30Backp K ee 1 Hi tol ld dk v 8 lt gt N Favorites EEKE 2 Sel
17. bit integer Float 32 bit integer 100 Byte Array Table 3 Sensor Type Match iVu Plus TG 173 174 175 176 177 178 179 228 229 239 WORD NAME Input Bits ACK Register see Input and Output Flags Bits on page 25 Output Bits Register see Input and Output Flags Bits on page 25 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Match Count Match Min Percent Match Match Max Percent Match reserved Command Status Command Response Int16 Command Response Int32 Command Response Float Command Response Length Command Response Data reserved www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 32 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array 17 iVu Plus Industrial Ethernet Table 4 Sensor Type Sort iVu Plus TG WORD NAME DATA TYPE Input Bits ACK Register see Input and Output Flags Bits on page 25 16 bit integer Output Bits Register see Input and Output Flags Bits on page 25 16 bit integer Error Code 32 bit integer Inspection Number 32 bit in
18. com Tel 763 544 3164 Table 23 Sensor Type Blemish iVu Plus TG 171 172 173 174 175 176 177 178 179 228 229 239 WORD NAME Input Bits ACK Register see Input and Output Flags on page 52 Output Bits Register see Input and Output Flags on page 52 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Blemish Count Blemish Min Edge Length Blemish Max Edge Length reserved Command Status Command Response Int16 Command Response Int32 Command Response Command Response Length Command Response Data reserved www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array 43 iVu Plus Industrial Ethernet Table 24 Sensor Type Match iVu Plus TG 171 172 173 174 175 176 177 178 179 228 229 239 44 WORD NAME Input Bits ACK Register see Input and Output Flags on page 52 Output Bits Register see Input and Output Flags on page 52 Error Code Inspection Number Iteration
19. 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 WORD NAME Data Type 30001 Inputs Bits ACK Register 16 bit integer 30002 Output Bits Register 16 bit integer 30003 4 Error Code 32 bit integer 30005 6 Inspection Number 32 bit integer 30007 8 Iteration Count 32 bit integer 30009 10 Pass Count 32 bit integer 30011 12 Fail Count 32 bit integer 30013 14 Missed Triggers 32 bit integer 30015 16 Current Inspection Time Float 30017 Sensor Pass Fail Coil 16 bit integer 30018 30 reserved 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 Frame Number 32 bit integer 30056 67 Customizable Space 112 reg 30168 171 reserved 30172 Command Status 16 bit integer 30173 30174 175 30176 177 30178 179 30180 229 30230 240 Command Response Int16 Command Response Int32 Command Response Float Command Response Length Command Response Data reserved 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 36 www bannerengineering com Tel 763 544 3164 16 bit integer 32 bit integer F
20. nennen evenaren venen nerven nene 33 5 3 1 DefaultiMap crm 33 5 3 2 Customi Map ardain A ey GCA Gw tata nie SYR A aon DA do acram d tien d inneke DDR AE AN fn TWF Ty un 36 5 4 Inputiand Output CollS iesciseenceco eese ner ametis Fa CA i YRU e IB WB O OO AWR CYRN e EI YAR ata GYRU 38 6 PLC5 and SLC 5 PCCC munennnnvunnnnnnnnnnnvnnvnnnnnnnnnvnennrnevnnnnnnnvnvnevnvnnnnnnnvneunnnnnnnnnnnnnnnnnnnnnnnnnnr 39 6 L COnfiguratlon UULTUS 39 6 2 Inputs to Vu Outputs from PEG sunnet ded Res AM RR RR ERO Uere nde 41 6 3 Outputs from iVu Inputs to PEC uei iY RYN ese RW RW EROR RR ADO GY YA WG WR armata IR RN 41 6 4 Multiple Sensors Mapping Options es Gi id na niente deedeetee 48 6 4 1 Default Map assen SRRE NAR EROR URDU reU aia MAR RR Da ia bonkte amended 48 64 2 Custom Map sumarmedmame nternet eer DURER E Ra RN POE RE TR HI Doa dn RR M M RUE EVE QUAE 49 6 5 Inp t and Output Flags sexsssscwssesisesebes dede eet euet DW FA DU PA dede Gas iv CP P OUO p eR AA VERTU QUE 52 7 Sample Timing Diagram a srususnnnnnnnnnnnunnnnnnnnnnnnnnnnunvevevevannnnnnnvnvevnvanannnnnnnvnnnnnnnvannnnnnnvnnnner 53 8 Command Channel Command Status Register xsrarnrnsnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnununner 57 9 Diagnostic Guide ssssssunsnunsnensneneneeneneneneneneneenenenenensnenennenenenenenenennnnenenenenenenennnnnnenenenenene 58 9 1 Ethernet Diagnostics teaser ceu uu iA rennen hat ba YC id md Ff Y Ud udo exa id du nw A bee a ddnde
21. reserved Barcode Count Barcode 1 Type Barcode 1 Length Barcode 1 Data Barcode 2 Type Barcode 2 Length Barcode 2 Data Barcode 3 Type Barcode 3 Length Barcode 3 Data Barcode 4 Type Barcode 4 Length Barcode 4 Data Barcode 5 Type Barcode 5 Length Barcode 5 Data Barcode 6 Type Barcode 6 Length Barcode 6 Data Barcode 7 Type Barcode 7 Length Barcode 7 Data Barcode 8 Type Barcode 8 Length Barcode 8 Data Barcode 9 Type Barcode 9 Length Barcode 9 Data Barcode 10 Type Barcode 10 Length Barcode 10 Data reserved www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 16 bit integer 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array iVu Plus Industrial Ethernet 4 4 Multiple Senso
22. sensor does not have Remote Display capability The Trigger Mode must be set to Command perform this operation The command timed out before finishing Access to the specified data requires a triggered inspection The command timed out before finishing The System Error must be active to execute this command Teach requires Match Sensor type Requires multiple inspections to be enabled No inspections are available in multiple inspection mode Sensor must be in the READY state to perform a product change Attempt to product change to a unknown or invalid inspection The Product Change operation timed out Attempt to product change to the same inspection Attempt to use a command without a sensor name in a multi sensor inspection www bannerengineering com Tel 763 544 3164 65 iVu Plus Industrial Ethernet 10 1 2 Examples of Operation The following examples show how the iVu Command Channel can be utilized via the Industrial Ethernet connection Clear System Error Write the number 81 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
23. 111 210 Barcode String Mask 200 Byte Array 211 239 reserved www bannerengineering com Tel 763 544 3164 13 iVu Plus Industrial Ethernet 4 3 Outputs from the iVu Inputs to the PLC 4 3 1 PLC Assembly Instance 0x64 100 30 Registers iVu Outputs PLC Inputs WORD NAME DATA TYPE Input Bits ACK Register see Input and Output Flags Bits on page 25 16 bit integer Output Bits Register see Input and Output Flags Bits on page 25 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor P F Coil reserved 14 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 4 3 2 PLC Assembly Instance 0x65 101 240 Registers iVu Outputs PLC Inputs Table 1 Sensor Type Area iVu Plus TG WORD NAME DATA TYPE Input Bits ACK Register see Input and Output Flags Bits on page 25 16 bit integer Output Bits Register see Input and Output Flags Bits on page 25 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil reserved Inspection Name 2 Word Length 20 unicode chars Frame Number 32 bit integer Sensor Type ID 16 bit intege
24. 55 170 reserved 171 Command Status 16 bit integer 172 Command Response 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 Array 229 239 reserved If the inspection contains more than 5 sensors the sensor s after the 5th one will not be on the map www bannerengineering com Tel 763 544 3164 21 iVu Plus Industrial Ethernet Table 7 Area Sensor Type ID 2 Sensor Specific Data Data Size Area Count 32 bit integer Area Range Min 32 bit integer Area Range Max 32 bit integer Table 8 Blemish Sensor Type ID 3 Sensor Specific Data Sensor Location Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Table 9 Match Sensor Type ID 4 Sensor Specific Data Sensor Location Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer Table 10 Sort Sensor Type ID 5 Sensor Specific Data Sensor Location Sort Pattern Map 16 bit integer Sort Pattern Count 16 bit integer Sort Pattern 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 integer Sort Pattern 7 Count 16 bit integer Sort Pattern 8 Count 16 bit integer Sort Pattern 9
25. ASCII ES Wu Plus l Data 63 ASCII z er Wu Plus l Data B4 Vu Plus l Data B5 Vu Plus l Data B5 asci Wu_Plus l Data 67 Vu Plus 1 Data 68 Mu Plus 1 Data 59 S 9 99 95 Mu Plus l Data 70 ANE 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 4 2 Inputs to iVu Outputs from PLC Figure 6 Memory Map Style changed to ASCII 4 2 1 PLC Assembly Instance Ox70 112 6 Registers iVu Inputs PLC Outputs WORD NAME Input Bits Register see Input and Output Flags Bits on page 25 DATA TYPE 16 bit integer Product Change Number reserved 4 2 2 PLC Assembly Instance 0x71 113 240 Registers iVu Inputs PLC Outputs WORD WORD NAME DATA TYPE Inputs Bit Register see Input and Output Flags Bits on page 25 16 bit integer Product Change Number reserved 32 bit integer 32 bit integer 50 Command ID 16 bit integer 51 Command Parameter Int16 16 bit 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 Barcode String Mask Length 32 bit integer
26. Area Range Max 32 bit integer 34 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Table 18 Blemish Sensor Type ID 3 Sensor Specific Data Sensor Location Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Table 19 Match Sensor Type ID 4 Sensor Specific Data Sensor Location Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer Table 20 Sort Sensor Type ID 5 Sensor Specific Data Sensor Location Sort Pattern Map 16 bit integer Sort Pattern Count 16 bit integer Sort Pattern 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 integer Sort Pattern 7 Count 16 bit integer 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 www bannerengineering com Tel 763 544 3164 35 iVu Plus Industrial Ethernet 5 3 2 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
27. I i i i ack 4 i i Set Sa i ProductChange i ProductChange i A 0 i ProductChange ACK 1 New inspection Verify Ready 1 Verify Ready 1 ProductChange ACK 0 ProductChange ACK 0 is loaded www bannerengineering com Tel 763 544 3164 53 iVu Plus Industrial Ethernet Teach Latch RPI 0 1 X X Y X Y Z Teach i Latch i i LM EE EE NC Ready i Teach i i Latch ACK i i i i i i Set i Set i i TeachLatch 1 i TeachLatch 0 i TeachLatch ACK Verify erify oh Ready 1 Verify Ready 1 TeachLatch ACK Teach will TeachLatchACK execute on next trigger 54 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Trigger A Y X V Z X RPI TriggerACK Read Results 55 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Gated Trigger RPI 0 1 X X Y X Y Z M N Gated i i Trigger i i Ready Gated Trigger ACK Set Set GatedTrigger GatedTrigger 1 0 Abort Set GatedTrigger 0 Set GatedTrigger 21 Inspection could not be completed Verify GatedTriggerACK Ready 1 1 GatedTriggerACK 0 Read Results 56 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 8 Command Channel Command Status Register The command status is a verification of the command type Command Status Value 16 bit integer Unknown R
28. PLC use Function Code 03 Read Holding Registers Table 11 Modbus TCP iVu Input Registers Map REGI STER WORD NAME DATA TYPE 40001 Input Coil Bits see Input and Output Coils on page 38 16 bit integer 40002 Product Change Number 32 bit integer 40004 reserved 32 bit integer 40051 Command ID 16 bit integer 40052 Command Parameter Int16 16 bit integer 40053 Command Parameter Int 32 32 bit integer 40055 Command Parameter Float 40057 Command Parameter String Length 32 bit integer 40059 Command Parameter String 100 Byte Array 40109 reserved 16 bit integer 40110 BCR String Mask Length 32 bit integer 40112 BCR String Mask 200 Byte Array 40212 240 reserved 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 www bannerengineering com Tel 763 544 3164 27 iVu Plus Industrial Ethernet Output Registers Map Table 12 Sensor Type Area iVu Plus TG REGISTER WORD NAME 30001 Input Coil ACK Bits see Input and Output Coils on page 38 30002 Status Coil Bits see Input and Output Coils on page 38 30003 4 Error Code 30005 6 Inspection Number 30007 8 Iteration Count
29. RODUCT CHANGE INVALID INSPECTION PRODUCT CHANGE TIMEOUT PRODUCT CHANGE TO SAME INSPECTIO N SENSOR NAME NOT FOUND iVu Plus Industrial Ethernet Description Method ID specified is not a method Total method arguments specified do not match method Attempt to issue command when a previous command has not finished Item ID specified must be a item not a group or method Command missing item s data value New item value is below the minimum New items value is above the maximum Get command received with unneeded arguments Item ID specified must be a item not a group or method Data export operation returned no results Command specified requires sensor to be in the READY state Command specified belongs to a different sensor type Command refers to a inactive sensor type Command not supported on this device type Text value is invalid unknown Text value is invalid expecting True or False String value specified exceeds maximum allowable length Operation requires Barcode compare to be enabled Compare mask invalid Expecting string of 1 s and O s with length equal to compare data string Barcode number to find must be set to one for this operation Operation requires Barcode compare mask to be enabled Attempt to obtain value when no areas were found Attempt to obtain value when no matches were found Attempt to obtain value when no sort patterns were found Remote Display must be connected to obtain this value This
30. Read i eten dd kele er id EER ral Re 38 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 6 PLC5 and SLC 5 PCCC Allen Bradley s PLC5 and SLC 500 family of devices use PCCC communications protocol iVu 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 Assembly Objects section The terms Input and Output are from the point of view of the PLC 6 1 Configuration The images below represent a typical configuration 1 Read Message command reading from N7 tabe on iVu Plus MuliHop This Controller Control Bits 4 Communication Command Ignore if timed out TO 0 Data Table Address To be retried NR o Size in Elements Awaiting Execution EW 0 Channel Continuous Run CO 0 Error ER o Message done DN o Message Timeout Message Transmitting ST i Data Table Address Message Enabled EN Waiting for Queue Space Local Remote MultiH op r Target Device Error Error Code Hes 0 Error Description No errors www bannerengineering com Tel 763 544 3164 39 iVu Plus Industrial Ethernet 2 Read IP Address of the iVu Plus is entered here General Ins Add Hop Del Remove Hop To Address Type 192 168 0 1 3 Write Message command writing to N14 table on iVu P
31. a Length Barcode 1 Data Array Len Barcode 1 Data Array reserved Command Status Command Response Int16 Command Response Int32 Command Response Command Response Len Command Response Data reserved Barcode Count Barcode 1 Type Barcode 1 Length Barcode 1 Data Barcode 2 Type Barcode 2 Length Barcode 2 Data Barcode 3 Type Barcode 3 Length Barcode 3 Data Barcode 4 Type Barcode 4 Length Barcode 4 Data www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 32 bit integer 100 Byte Array 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array 16 bit integer 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array REGISTER 30322 30323 30324 41 30342 30343 30344 61 30362 30363 30364 81 30382 30383 30384 401 30402 30403 30404 21 304022 30423 30424 41 WORD NAME Barcode 5 Type Barcode 5 Length Barcode 5 Data Barcode 6 Type Barcode 6 Length Barcode 6 Data Barcode 7 Type Barcode 7 Length Barcode
32. atch 16 bit integer 30061 171 reserved 30172 Command Status 16 bit integer 30173 Command Response Int16 16 bit integer 30174 75 Command Response Int32 32 bit integer 30176 77 Command Response Float 30178 79 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array 30230 240 reserved 30 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Table 15 Sensor Type Sort iVu Plus TG REGISTER WORD NAME DATA TYPE 30001 Input Coil ACK Bits see Input and Output Coils on page 38 16 bit integer 30002 Status Coil Bits see Input and Output Coils on page 38 16 bit integer 30003 4 Error Code 32 bit integer 30005 6 Inspection Number 32 bit integer 30007 8 Iteration Count 32 bit integer 30009 10 Pass Count 32 bit integer 30011 12 Fail Count 32 bit integer 30013 14 Missed Triggers 32 bit integer 30015 16 Current Inspection Time Float 30017 Sensor Pass Fail Coil 30018 30 reserved 30031 53 Inspection Name 2 Word Length 20 unicode chars 30054 55 Frame Number 32 bit integer 30056 Sensor Type ID 16 bit integer 30057 Sort Pattern Map 16 bit integer 30058 Sort Pattern Count 16 bit integer 30059 Sort Pattern 1 Count 16 bit integer 30060 Sort Pattern 2 Count 16 bit integer 30061 Sort Pattern 3 Count 16 bit integer 30062 Sort Pattern 4 Count 16 bit integer 30063 Sort Pattern 5 Count 16 bit integer 30064 Sort Pattern 6 Count 16 bit integer 30065 Sort Pattern 7 Count 16 bit integer 30066 Sort Pat
33. ber 10153 Sensor serial number Byte Array Firmware Version 10154 Sensor firmware software version Byte Array Hour Counter 10155 The total number of hours the sensor has been Byte Array energized History Clear History 301 This command clears all history fields for the active N A inspection History values include pass count fail count execution times and sensor specific history values I nspection Inspection Name 10501 The name of the active inspection Byte Array BCR inputs Compare String 11001 The Barcode inspection compare data string This string Byte Array must start and end with the double guote character www bannerengineering com Tel 763 544 3164 63 iVu Plus Industrial Ethernet Command Command ID Do Set Get Compare Mask Description The Barcode inspection compare string mask in binary Data Type Byte Array format that is masked characters are indicated by a 1 and unmasked characters are 0 Note that the mask character string must match the length of the compare string Trigger Mode 1000 Description External Internal are ignored FreeRun ExternalGated wire ContinuousScan IndustrialEtherNet Command 10 1 1 Error Codes Inspections will be initiated via the electrical trigger wire Inspections will run continuously at the specified period electrical trigger inputs Inspections will run continuously electrical trigger inputs are ignored Gated barcode inspectio
34. ble is of the right type and is properly connected to the switch and to the camera 9 2 Networking and TCP I P Diagnostics To verify networking and TCP IP connectivity follow these steps 1 Verify that the Ethernet link has been established 2 Visit the System gt Communications gt Ethernet I O page and examine the sensor IP address subnet mask and the Gateway address 58 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 3 Verify with your IT person that these settings are correct e If necessary make the required modifications and reboot the sensor 4 Press the Status button on the same page and go to the Ethernet I O Status page 5 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 6 A command window will display C WINDOWS system32 cmd exe lol icrosoft Windows XP Version 5 1 2600 lt C gt Copyright 1985 2001 Microsoft Corp NDocuments and Settings gt 7 Type in a ping command specifying the sensor IP address as an argument You should see a series of responses from the camera www bannerengineering com Tel 763 544 3164 59 iVu Plus Industrial Ethernet cv C WINDOWS system32 cmd exe Microsoft Windows XP Version 5 1 2600 lt C gt Copyright 1985 2 1 Microsoft Corp NDocuments and Settings gt ping 192 168 1 1 Pinging 192 168 1 1 with 32 bytes of data
35. e Size iVu Plus Industrial Ethernet Input 100 30 16 bit Output 112 6 Configuration 124 0 Status Input Status Output 16 bit 8 bit ETHERNET MODULE Generic Ethernet Module Vendor Parent Allen Bradley LocalENB Wu Plus Name Description Banner Sensor T Comm Format Data INT v Address Host Name IPAddress 192 168 0 Host Name Open Module Properties Connection Parameters Assembly Instance Input 101 16 bit Output 113 16 bit Configuration 128 en Status Input Status Qutput Figure 2 PLC Input Assembly 101 PLC Output Assembly 113 www bannerengineering com Tel 763 544 3164 GE bit iVu Plus Industrial Ethernet Type ETHERNET MODULE Generic Ethernet Module Vendor Allen Bradley Parent LocalENB Connection Parameters Name Wu Plus BCR rne Description Banner Sensor BCR Instance Input 102 16 bit T Output 113 16 bit Comm Format Data INT m nod 5 Configuration 124 8 bit Address Host Name IP Address 192 168 0 1 Seul J Host Name Status Output p pen Module Properties Module Properties LocalENB ETHERNET MODULE 1 1 Connection Requested Packet Inte
36. ead Write Execute www bannerengineering com Tel 763 544 3164 57 iVu Plus Industrial Ethernet 9 Diagnostic Guide iVu Plus sensors provide several methods to help diagnose communication issues when using Ethernet communications 9 1 Ethernet Diagnostics To verify Ethernet connectivity follow these steps 1 Verify that all the cables are connected and properly seated 2 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 3 Goto the System gt Logs gt System Log page and verify that the log entry indicates that the Ethernet link is up 2003 Ethernet status 100Mb s F D 1702 Remote Display initialization successful 4 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 5 If the Link Status indicates that there is no link please inspect the wiring and verify that your Ethernet switch is powered up 6 If the link parameters 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 consult with your IT person to perform this verification b Verify that your ca
37. ect Module www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Add Favorite By Category By Vendor Favorites 3 Port Ethernet Tap 2 Fiber 1 Twisted Pair Media Allen Bradle 1788 Ethernet to DeviceNet Linking Device Allen Bradle 1788 10 100 Mbps Ethernet Bridge Twisted Pair Med Allen Bradle 1788 10 100 Mbps Ethernet Bridge w Enhanced Web Allen Bradle 1794 10 100 Mbps Ethernet Adapter Twisted Pair M Allen Bradle 10 100 Mbps Ethernet Port on DriveLogixS730 Allen Bradle Generic EtherNet IP CIP Bridge Alen Bad Generic Ethernet Module Allen Bradla SoftLogix5800 EtherNet IP Allen Bradle Ethernet Adapter Twisted Pair Media Parker Hann 26 Port Managed Switch Allen Bradle All Dune qr t By Category By Vendor Favorites L 3 Configure Module Properties NOTE The data type in the Comm Format must be changed to an INT See Inputs to iVu Outputs from PLC on page 13 and Outputs from the iVu Inputs to the PLC on page 14 for more information on each specific assembly instance 8 www bannerengineering com Tel 763 544 3164 Type Vendor Parent Allen Bradley LocalENB Mu Plus Name Description Banner Sensor T Comm Format Data INT Zi Address Host Name IP Address 192 1688 0 1 Host Name Open Module Properties ETHERNET MODULE Generic Ethernet Module Connection Parameters Assembly Instanc
38. ection 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 I ndustrial Ethernet 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 I mager gt Trigger and select I ndustrial EtherNet Only from the drop down menu www bannerengineering com Tel 763 544 3164 3 iVu Plus Industrial Ethernet 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 the Sensor operations that can be performed using input and output values e 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 iVu sensor results On Barcode change compare string and its mask 2 1 iVu Input Values The o
39. gister 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 Configuration task is completed Save iVu Configuration This command saves all modified inspection and configuration parameters to the iVu Plus including Command Channel changes to exposure time and gain trigger mode barcode compare string and or mask and Remote Teach sessions RUNKE 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 67
40. h Sensor Type ID 4 Sensor Specific Data Sensor Location Match Count 32 bit integer Match Min Percent 16 bit integer Match Max Percent 16 bit integer Table 30 Sort Sensor Type ID 5 Sensor Specific Data Sensor Location Sort Pattern Map 16 bit integer Sort Pattern Count 16 bit integer Sort Pattern 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 integer Sort Pattern 7 Count 16 bit integer 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 6 4 2 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 PCCC registers The following is a table of PCCC PLC Input Registers Map N7 when using Custom Map setting www bannerengineering com Tel 763 544 3164 49 iVu Plus Industrial Ethernet 16 17 29 30 52 53 54 55 166
41. he 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 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 TCP 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 TCP connection you can verify that iVu has accepted it by going to the System gt Communications gt I ndustrial Ethernet gt Status page and viewing the connection status 60 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet If you experience issues accessing data please consult the relevant sections of the manual for the Modbus TCP 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 9 3 2 EtherNet IP and PCCC Protocols EtherNet IP and PCCC protocols rely on CIP protocol to establish communications and exchange data CIP protocol in turn utilizes TCP IP In addition EtherNet IP implements I O messaging 1 O messaging allows two devices iVu sensor and the PLC to continuously synchronize data sets between each other These data sets are called Input and Out
42. iVu Inputs PLC Outputs sees 13 4 2 2 PLC Assembly Instance 0x71 113 240 Registers iVu Inputs PLC Outputs sese 13 4 3 Outputs from the iVu Inputs to the PLC oo IH ARAE AELE L EL LEL meses ee ene nene 14 4 3 1 PLC Assembly Instance 0x64 100 30 Registers iVu Outputs PLC Inputs nnen 14 4 3 2 PLC Assembly Instance 0x65 101 240 Registers iVu Outputs PLC Inputs 15 4 3 3 PLC Assembly Instance 0x66 102 iVu Outputs PLC Inputs nennen eeen 20 4 4 Multiple Sensors Mapping Options oo cece HH e mmm memes eese emen een 21 4 4 1 Default Map iuiossceniceneteeen re O OO PR HF HR RT TRO rea ir wa dd ocn diede be IF dn un wendden 21 44 2 Custom Map tumoren wikart nekhernia 23 4 5 Input and Output Flags Bits acest tale WR uo Seek enne re e din oso Oe eene Hex Puta ea rated qu d Ede 25 4 6 Configuration Assembly Object ooo EL RAA AELE AREA LAURA se esee sess he ste senses enn 26 4 Data Formats c EE 26 4 8 Minimum Requested Packet Inverval RPI Value nennen Imm nemen 26 5 Modbus TCP uvusnnnannnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnvnvnvnvnnnnnnnnnnvnnnnnvnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnnner 27 S A Holding Registers sv mmende hagen sjenerende nede dekan dedain re teen neteldieren here wedde FANNA 27 D2 Output Registers nn nndrdnrnnanmsetn nantes ntt 27 5 3 Multiple Sensors Mapping Options sssssss IH
43. iVu Plus Industrial Ethernet Instruction Manual Original Instructi B 3095133 Rev 26 January 2 iVu Plus Industrial Ethernet Contents 1 Device Setup M 3 LO 20200 0 SEE EE EE Ue Ro oer Ra Rd eind 3 1 2 Set Industrial Ethernet Protocol EIP Modbus TCP PCCC nennen nennen ELE LEL UR ELE vennen 3 13 Set Trigger Mode atan fwy nd tir denedeeiad dace va eid dad UG RW aa TC acad Ue tim itd OTO TOR aii Yd DD od 3 2 Supported Functions s araravnnnnnnnnnnnnnnnnnnnunnnnnnnnnnnnnnununnnnnnnnnnnnnnununnnnnnnnnnnnnnununnnnnnnnnnnnnnunnnnnr 4 PX Bi IV Input V ldes E 4 2 2 VU Output Valles si dad dk taster immane a OY yy Bg Ca gw og DF Ga Ca URN UR aaa ds 4 ZEN ACK bl s ae nu A i Y eelde O elan 4 222 Command RESPONSES uu gnn nant an dad AG Gyd fo GT Nu FO BO 5 3 Sensor Operation ussssnnssnnsnensneneneneneenenensnensnennsnenenensnennsnnnsnenenensnennsnrnenenenenenennnnenenenenenenen 6 3 1 General Command Ex cuton unsters atra et eternet inertie det brevene venen 6 4 EtherNet IP xnrnnvnvnnnnnnnvnnnnennnnnnnvnrvnvnnvnvnnnnrnnvnvvnvnnnnvnnnnnnnvnnnnnnnnnnnevnnnnnnnnnnnnnnnnnnnnnnnnnunnnnnnnn 7 4 1 RSLogix5000 Configuration evas RR ER RAN WN trt RIO va tle sas de ene eee edere EA Ra RW C e eee toe ar i is 7 4 2 Inputs to iVu Outputs from PLC WYRYF ee eene memet NN RA e pd CO Cen nee een ee UUN AR added eden 13 4 2 1 PLC Assembly Instance 0x70 112 6 Registers
44. iggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil 16 bit integer reserved Inspection Name 2 Word Length 20 Unicode chars Frame Number 32 bit integer Sensor Type ID Sensor 1 16 bit integer Sensor 1 Specific Data 16 bit integer Sensor Type ID Sensor 2 16 bit integer Sensor 2 Specific Data 16 bit integer 95 Sensor Type ID Sensor 3 16 bit integer 95 114 Sensor 3 Specific Data 16 bit integer 115 Sensor Type ID Sensor 4 16 bit integer 116 134 Sensor 4 Specific Data 16 bit integer 135 Sensor Type ID Sensor 5 16 bit integer 136 154 Sensor 5 Specific Data 16 bit integer 155 170 reserved 171 Command Status 16 bit integer 172 Command Response 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 Array 229 239 reserved If the inspection contains more than 5 sensors the sensor s after the 5th one will not be on the map 48 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Table 27 Area Sensor Type ID 2 Sensor Specific Data Data Size Area Count 32 bit integer Area Range Min 32 bit integer Area Range Max 32 bit integer Table 28 Blemish Sensor Type ID 3 Sensor Specific Data Sensor Location Blemish Count 32 bit integer Blemish Min Edge Length 32 bit integer Blemish Min Edge Length 32 bit integer Table 29 Matc
45. ima ER Module Defined L Decimal ap Wu Pusba Decimal L MuPuslDatald 0 Decimal wuruslDaas Decimal wupuslDale 0 Decimal INT wupusloaaflg 0 Decimal INT Wu Pusba 0 Decimal INT WuPusiDae 9 o Decimal INT BS TE Als Phil Natal20 al FETU IMT lt gt Monitor Tags 1 m f The iVu Plus memory map expanded I Inputs to PLC outputs from iVu Plus Sample map demonstrating string values Mu Plusi Data 55 Decimal Mu Plusi Data 56 Decimal Mu Plusl Data 57 1 Decimal INT Mu Plusil Data 58 20 Decimal Mu Plusi Data 59 20 Decimal Mu Plus l Data 60 0 Decimal Mu Plus l Data 61 22121 Decimal v INT Wu Plusl Data 62 Decimal INT Mu Plusi Data 63 Decimal Mu Plusi Data 54 Decimal Mu Plusl Data B5 27977 Decimal Wu Plus l Data amp 6 26465 Decimal INT Mu Plusl Data 87 2293 Decimal Mu Plusil Data 58 25939 Decimal Mu Plusi Data 69 29550 Decimal Mu Plus l Data 70 29295 Decimal INT Figure 5 Memory Map Default NOTE ControlLogix string format iVu Plus Image Sensor www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Mu Plus 1 Data 55 Decimal Mu Plus 1 Data 56 Vu Plus 1 Data 57 Vu Plus l Data 58 Wu Plus l Data 53 i e Decimal Decimal Decimal li S ZZZ 3 3 35 iVu Plus l Data B0 Decimal Vu Plus l Data B1 ASCII z zi Wu Plus l Data b2
46. it 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 integer Sort Pattern 7 Count 16 bit integer 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 reserved 171 Command Status 16 bit integer 172 Command Response Int16 16 bit integer 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 229 239 reserved www bannerengineering com Tel 763 544 3164 45 iVu Plus Industrial Ethernet Table 26 Sensor Type Barcode 1 iVu Plus BCR 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 29 30 52 53 54 55 56 57 58 59 60 61 162 163 170 171 172 173 174 175 176 177 178 179 228 229 239 240 241 242 243 260 263 280 281 282 283 300 301 302 303 320 46 WORD NAME Input Bits ACK Register see Input and Output Flags on page 52 Output Bits Register see Input and Output Flags on page 52 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sen
47. loat 32 bit integer 100 Byte Array iVu Plus Industrial Ethernet 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 customizable 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 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 www bannerengineering com Tel 763 544 3164 37 iVu Plus Industrial Ethernet 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 rese
48. lus ultiHop This Controller r Control Bits 4 Communication Command PLC5 write Ignore if timed out TO o Data Table Address N14 0 To be retried NR 0 Size in Elements Awaiting Execution EW o Channel Continuous Run CO o Error ER o m Target Device Message done DN o Message Timeout Message Transmitting ST 1 Data Table Address Message Enabled EN Waiting for Queue Space o Local Remote MultiHop Error Error Code Hex 0 Error Description No errors 40 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 4 Write IP Address of the iVu Plus is entered here Ins Add Hop Del Remove Hop To Address Type This SLC 5 05 Channel 1 EtherNet IP Device str 192 168 0 1 6 2 Inputs to iVu Outputs from PLC The Input registers are used by the PLC to push values to the iVu Plus sensor MSG message commands are used to Read N7 and Write N14 to the sensor Table 21 PLC Output Registers Map N14 iVu Inputs WORD NAME DATA TYPE Input Bits Register see Input and Output Flags on page 52 16 bit integer Product Change Number 32 bit integer reserved 32 bit integer 50 Command ID 16 bit integer 51 Command Parameter Int16 16 bit integer 52 53 Command Parameter Int 32 32 bit integer 54 55 Command Parameter Float 56 57 Command Parameter String Length 32 bit integer
49. mand Channel protocol The following commands need to be executed using the Command ID register and the Command Input bit Input Coil bit Command Command ID Data Type Description Do Set Get Trigger Trigger Mode 1 10001 The sensor s triggering mode This value must match Int16 the modes supported by the sensor Product Change Product Change By 21 This command forces the sensor to switch to the Byte Array Name specified inspection The sensor does not transmit a response until the sensor has completed the action Inspections results immediately after a product change will be invalid until a new trigger is received I mager Gain 51 10051 The sensor s value used to electronically brighten all Int32 image pixels Exposure 52 10052 The sensor s value used to control the amount of time Int32 the imager is allowed to gather light for the image Status Clear System Error 81 This command clears the system error LED and resets N A the internal system error flag to false System Reboot Sensor 101 This command reboots the sensor If sensor N A configuration data is being currently being saved this command will block until that operation completes Save Configuration 102 This command saves all modified inspection and N A configuration parameters This command blocks until all values have been persisted Info Sensor Name 10151 Sensor user assignable name Byte Array Model Number 10152 Sensor model number Byte Array Serial Num
50. n will be started and or aborted via the electrical trigger Inspections will run continuously electrical trigger inputs are ignored Inspections will only be trigged by Industrial EtherNet coils and commands Inspections will only be trigged by the Command Channel trigger commands 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 Below is the list of error codes Numeric ID Text ID 0 SUCCESS 500 IE TRIGGER MODE EXPECTED 510 IE COMMAND NOT FOUND 520 IE COIL ACTION FAILED 521 IE COIL ALREADY BUSY 522 IE COIL NOT FINISHED 523 IE COIL ANOTHER ACTION PENDING 524 IE COIL MULTIPLES DETECTED 525 IE COIL ACK INHIBITED 00000 SUCCESS 10000 EMPTY FRAME RECEIVED 10001 COMMAND NOT RECOGNIZED 10100 GROUP MISSING 10101 GROUP NOT FOUND 10102 GROUP ITEM MISSING 10103 GROUP ITEM NOT FOUND 10152 NOT READABLE 10153 NOT WRITEABLE Description Command processed successfully The Trigger Mode must be set to Industrial Ethernet to perform this operation The numeric Command ID specified was not found The coil action resulted in a failure The coil was asserted before previous execution completed The coil was de asserted prior to execution completing The coil was asserted prior to another coil execution completing M
51. ng ACH Trigger ACK Latch Change ACK ACK ACK Output Bits Register iVu Status Flag Bits Bit Position 45 14 143 92 31 30 9 1 8 T 1 E I 5 4131 2J 1 1 0 Execution System Teach Missed Ready Read www bannerengineering com Tel 763 544 3164 25 iVu Plus Industrial Ethernet 4 6 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 Its size is zero 4 7 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 Plus EE EN VE a ee eee SE ae Word tenghiw lengh MSW bytet beo bytes bye byes byes 4 8 Minimum Requested Packet I nverval RPI Value iVuPlus devices can operate with input and output Reguested Packet Intervals RPIs as low as 50 milliseconds The device may not operate reliably if a lower RPI value is selected 26 w
52. om map summary screen 24 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 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 lt Areal 1st Area2 Blemish1 2nd Area3 3rd Blemish1 Area3 4th Blemish2 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 customizable space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space 4 5 Input and Output Flags Bits I nputs Bits Register Command Flag Bits Bit Position 15 44 143 12 M 4340 9 8 T 7 1 6 5 1 4 31 2 1 TET Set BCR Set BCR Gated i Teach Product I nput Bits ACK Register ACK Flag Bits Bit Position 45 44 43 12 M 1 10 1 9 8 J 7 TJ 6 5 41 31 2 1f 0 Command SetBCR Set BCR Gated Trigger Teach Product ACK Mask ACK Stri
53. ot 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 US WN 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 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 66 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet Get Set Ex
54. peration 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 Input Coil Bit Command Description Product Change Execute a product change inspection number specified in the Product Change Number 32 bit integer register Teach Latch Latch a teach flag Teach is executed on next trigger Trigger Causes system to trigger an inspection if ready Gated Trigger Causes system to start looking for requested barcodes BCR products only Set BCR String Sets barcode compare string BCR products only Set BCR Mask Sets masks for barcode compare string BCR products only Command Set this bit to 1 to execute the command entered in the Command ID Register 2 2 iVu Output Values Using output values the following information can be obtained e ACK bits acknowledgement bits for input commands including error codes System indicators Ready Pass Fail Read No Read Output signals Command Error etc 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 the sections on protocols for more information 2 2 1 ACK Flags For each of the Command Flags there is a corresponding ACK flag The Vision Sensor sets the ACK flag when the corresponding action is complete Command flags cause actions to occur on the lo
55. posure Time Get the current Exposure Time from the iVu Plus 1 5 Write the number 10052 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 3 4 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 Read the current Exposure Time value in microseconds in the Command Response Int32 register Set the desired Exposure Time for the iVu Plus 1 2 gt 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 I nt32 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 re
56. put Assemblies iVu device consumes PLC output assemblies and produces PLC input assemblies This exchange occurs continuously and the rate specified by the RPI requested Packet Interval value 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 I O messaging uses IDP IP and Multicast it requires special managed switches and customized switch configuration Managed 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 multicast 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 Please consult your IT person to verify that your network is configured correctly Also consult Rockwell publications ENET APOO1D EN P EtherNet IP Performance and ENET SO001A EN E EtherNet Design Considerations for Control System Networks for further information on how to configure your EtherNet network for EtherNet IP
57. r Area Count 32 bit integer Area Range Min 32 bit integer Area Range Max 32 bit integer reserved Command Status 16 bit integer Command Response 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 Array 229 239 reserved www bannerengineering com Tel 763 544 3164 15 iVu Plus Industrial Ethernet Table 2 Sensor Type Blemish iVu Plus TG 173 174 175 176 177 178 179 228 229 239 16 WORD NAME Input Bits ACK Register see Input and Output Flags Bits on page 25 Output Bits Register see Input and Output Flags Bits on page 25 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Blemish Count Blemish Min Edge Length Blemish Max Edge Length reserved Command Status Command Response Int16 Command Response Int32 Command Response Float Command Response Length Command Response Data reserved www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 16 bit integer 16 bit integer 32
58. rs Mapping Options When using an iVu Plus TG with multiple sensors in an inspection there are two mapping options Default and Custom 4 4 1 Default Map Main Menu gt System gt Communications gt Industrial EtherNet gt Map gt Default Automatically maps sensor data for each inspection Recommended when the execution order of sensor types is the same across inspections When an inspection has multiple sensors the first 5 sensor results are shown starting at offset 55 Each sensor result occupies 20 words The following is a table of EIP assembly 0x65 when using Default Map setting WORD NAME Data Type Input Bits ACK Register 16 bit integer Output Bits Register 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil 16 bit integer reserved Inspection Name 2 Word Length 20 Unicode chars Frame Number 32 bit integer Sensor Type ID Sensor 1 16 bit integer Sensor 1 Specific Data 16 bit integer Sensor Type ID Sensor 2 16 bit integer Sensor 2 Specific Data 16 bit integer 95 Sensor Type ID Sensor 3 16 bit integer 96 114 Sensor 3 Specific Data 16 bit integer 115 Sensor Type ID Sensor 4 16 bit integer 116 134 Sensor 4 Specific Data 16 bit integer 135 Sensor Type ID Sensor 5 16 bit integer 136 154 Sensor 5 Specific Data 16 bit integer 1
59. rval RPI 100 04 ms 1 0 3200 0 ms Inhibit Module Major Fault On Controller If Connection Fails While in Run Mode 4 Use Unicast Connection over EtherNet IP Module Fault Figure 4 Select or deselect Unicast Connection as desired NOTE The minimum allowed RPI is 50 ms 4 If the module configuration was successful the following information should be displayed 1769 L32E Ethernet Port LocalENB 9 ET HERNET MODULE iVu Plus 10 www bannerengineering com Tel 763 544 3164 If the module configuration was not successful the RSLogix 5000 software will indicate errors similar to the ones displayed below iVu Plus Industrial Ethernet ERROR Assembly Instance number and or size incorrect oge ruere i MP 1769 L32E Ethernet Port LocalENB i ETHERNET MODULE iVu_Plus E ff CompactBus Local ERROR iVu Plus not powered up or EtherNet cable not attached dp 1769 L32E Ethernet Port LocalENB ETHERNET MODUL CompactBus Local 5 Locate the memory map setup from Banner module to PLC memory map A RSLoc Test File Edit View Search Logic Communications Tools Window Help Hom hun Og E Run Mode Path AB_ETHIP 1 192 168 0 30 Backplar No Forces y _ amp Controller OK M 7 7 Battery OK i 1 0 OK LISP ded et cR oke 300 SM abe HEIS 2 Controller Fault Handler 22 Power Up Handler Tasks Cel MainTask i
60. rvation 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 Area 1st Area2 Blemish1 2nd NW ar Gd Blemish1 Area3 4th Blemish2 a 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 customizable space had not reserved a Match sensor Match1 from the inspection will not be outputted on the customizable space 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 133 12 1 W 9 8 7 L Bl wee 3 1 2 1f 0 C d Set BCR Set BCR Gated Ti Teach Product omman Mask _ String Trigger 99 Latch Change Input Coil ACK Bits Bit Position 15 14 1 33 4 32 GJER TN 8 5 x m 2 1 0 Command SetBCR Set BCR Gated Trigger Teach Product ACK Mask ACK String ACK Trigger ACK Latch Change ACK ACK ACK Status Coil Bits Bit Position 45 14 733 12 1 1 RENE NE NE NE EE 0 Execution System Teach Missed Ready
61. sor Type ID Barcode Count Barcode 1 Type Barcode 1 Actual Decoded Data Length Barcode 1 Data Array Length Barcode 1 Data Array reserved Command Status Command Response Int16 Command Response Int32 Comand Response Command Response Length Command Response Data reserved Barcode Count Barcode 1 Type Barcode 1 Length Barcode 1 Data Barcode 2 Type Barcode 2 Length Barcode 2 Data Barcode 3 Type Barcode 3 Length Barcode 3 Data Barcode 4 Type Barcode 4 Length Barcode 4 Data www bannerengineering com Tel 763 544 3164 DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 32 bit integer 100 Byte Array 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array 16 bit integer 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array 16 bit integer 16 bit integer 32 bit length 32 byte array iVu Plus Industrial Ethernet WORD NAME DATA TYPE Barcode 5 Type 16 bit integer Barcode 5 Length 16 bit integer 323 340 Barcode 5 Data 32 bit length 32 byte array 341 Barcode 6 Type 16 bit integer 342 Barcode 6 Length 16 bit integer 343 360 Barcode 6 Data 32 bi
62. t length 32 byte array Barcode 7 Type 16 bit integer Barcode 7 Length 16 bit integer Barcode 7 Data 32 bit length 32 byte array Barcode 8 Type 16 bit integer Barcode 8 Length 16 bit integer Barcode 8 Data 32 bit length 32 byte array Barcode 9 Type 16 bit integer Barcode 9 Length 16 bit integer 403 420 Barcode 9 Data 32 bit length 32 byte array 421 Barcode 10 Type 16 bit integer 422 Barcode 10 Length 16 bit integer 423 440 Barcode 10 Data 32 bit length 32 byte array www bannerengineering com Tel 763 544 3164 47 iVu Plus Industrial Ethernet 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 6 4 1 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 inspections 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 WORD NAME Data Type Input Bits ACK Register 16 bit integer Output Bits Register 16 bit integer Error Code 32 bit integer Inspection Number 32 bit integer Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Tr
63. teger Iteration Count 32 bit integer Pass Count 32 bit integer Fail Count 32 bit integer Missed Triggers 32 bit integer Current Inspection Time Float Sensor Pass Fail Coil reserved Inspection Name 2 Word Length 20 unicode chars Frame Number 32 bit integer Sensor Type ID 16 bit integer Sort Pattern Map 16 bit integer Sort Pattern Count 16 bit integer Sort Pattern 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 integer Sort Pattern 7 Count 16 bit integer 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 reserved Command Status 16 bit integer Command Response 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 Array 229 239 reserved 18 www bannerengineering com Tel 763 544 3164 Table 5 Sensor Type Barcode iVu Plus BCR 55 55 56 57 58 59 60 61 162 163 170 173 174 175 176 177 178 179 228 229 239 WORD NAME Input Bits ACK Register see Input and Output Flags Bits on page 25 Output Bits Register see Input and Output Flags Bits on page 25 Error Code Inspection Number Iteration Co
64. tern 8 Count 16 bit integer 30067 Sort Pattern 9 Count 16 bit integer 30068 Sort Pattern 10 Count 16 bit integer 30069 Sort Min Percent Match 16 bit integer 30070 Sort Max Percent Match 16 bit integer 30071 171 reserved 30172 Command Status 16 bit integer 30173 Command Response Int16 16 bit integer 30174 75 Command Response Int32 32 bit integer 30176 77 Command Response Float 30178 79 Command Response Length 32 bit integer 30180 229 Command Response Data 100 Byte Array 30230 240 reserved www bannerengineering com Tel 763 544 3164 31 iVu Plus Industrial Ethernet Table 16 Sensor Type Barcode 1 iVu Plus BCR REGISTER 30001 30002 3003 4 30005 6 30007 8 30009 10 30011 12 30013 14 30015 16 30017 30018 30 30031 53 30054 55 30056 30057 30058 30059 30060 61 30062 163 30164 171 30172 30173 30174 75 30176 77 30178 79 30180 229 30230 240 30241 30242 30243 30244 61 30262 30263 30264 81 30282 30283 30284 301 30302 30303 30304 21 32 WORD NAME Input Coil ACK Bits see Input and Output Coils on page 38 Status Coil Bits see Input and Output Coils on page 38 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Barcode Count Barcode 1 Type Barcode 1 Actual Decoded Dat
65. ultiple coils were asserted simultaneously The coil action s output ACK was inhibited because the input coil was no longer set Command processed successfully Indicates that the request was empty The command channel requires a command any arguments and an end of frame delimiter The command specified is not recognized A Group ID must be specified immediately after the command The specified Group ID is invalid unknown A Group Item ID must be specified immediately after the Group ID The specified Group Item ID is invalid unknown Attempt to get a value that is not readable Attempt to set a value that is not writeable 64 www bannerengineering com Tel 763 544 3164 Numeric ID Text ID NOT A METHOD WRONG ARGUMENT COUNT COMMAND NOT FINISHED INVALID ARGUMENT TYPE DATA VALUE MISSING MINIMUM VALUE EXCEEDED MAXIMUM VALUE EXCEEDED ARGUMENTS DETECTED INVALID ARGUMENT TYPE DATA SET EMPTY SENSOR NOT READY SENSOR TYPE NOT ACTIVE DEVICE TYPE INVALID VALUE INVALID VALUE INVALID STRING TOO LONG COMPARE DATA DISABLED COMPARE MASK INVALID NUMBER TO FIND NOT ONE COMPARE MASK DISABLED NO AREAS FOUND NO MATCHES FOUND NO MATCHES FOUND REMOTE DISPLAY NOT CONNECTED REMOTE DISPLAY NOT SUPPORTED COMMAND MODE EXPECTED COMMAND TIMED OUT TRIGGER REQUIRED COMMAND TIMED OUT SYSTEM ERROR NOT ACTIVE TEACH SENSOR TYPE INVALID MULTIPLE INSPECTIONS DISABLED MULTIPLE INSPECTIONS EMPTY PRODUCT CHANGE WHEN NOT READY P
66. unt Area Range Min and Area Range Max are available to add into the customizable 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 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 www bannerengineering com Tel 763 544 3164 51 iVu Plus Industrial Ethernet 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 Areal Ist Area2 Blemish1 2nd Area3 wc loe 3rd Blemish1 Area3 4th Blemish2 lt Blemish2 5th Blemish3
67. unt Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil reserved Inspection Name Frame Number Sensor Type ID Sensor Type ID Barcode Count Barcode 1 Type Barcode 1 Actual Decoded Data Length Barcode 1 Data Array Length Barcode 1 Data Array reserved Command Status Command Response Int16 Command Response Int32 Command Response Float Command Response Length Command Response Data reserved www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet DATA TYPE 16 bit integer 16 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer 32 bit integer Float 2 Word Length 20 unicode chars 32 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 16 bit integer 32 bit integer 100 Byte Array 16 bit integer 16 bit integer 32 bit integer Float 32 bit integer 100 Byte Array 19 iVu Plus Industrial Ethernet 4 3 3 PLC Assembly Instance 0x66 102 iVu Outputs PLC Inputs Table 6 Sensor Type iVu Plus BCR 133 150 151 152 153 170 171 172 173 190 191 192 193 210 211 212 213 230 231 239 20 WORD NAME Input Bits ACK Register see Input and Output Flags Bits on page 25 Output Bits Register see Input and Output Flags Bits on page 25 Error Code Inspection Number Iteration Count Pass Count Fail Count Missed Triggers Current Inspection Time Sensor Pass Fail Coil
68. w to high transition of that flag You must clear the command 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 command flag to 1 3 Wait for Trigger ACK to go to 1 4 Set Trigger command flag to 0 4 www bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 2 2 2 Command Responses iVu Plus Series Command Channel commands executed using command IDs may have a response value Depending on the Data Type the response value will be contained in one or multiple registers Refer to iVu Command Channel Commands section of this document and the iVu Plus Communication s Users Guide for more information about the iVu Command Channel www bannerengineering com Tel 763 544 3164 5 iVu Plus Industrial Ethernet 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 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 Start N 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 Clear all
69. ww bannerengineering com Tel 763 544 3164 iVu Plus Industrial Ethernet 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 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
Download Pdf Manuals
Related Search
Related Contents
PT-DZ6700E PT-DW6300E PT-D6000E PT Mode d`emploi utilisation portail usager 風の国水道施設改良工事(受水槽増設、遠方監視システム設置) Installation and operating instructions NUMERISATION DES REGISTRES MODE D`EMPLOI here in pdf form (Rev Preliminary, July 2014) Philips Forecast Sparkle 31-369型 31-298型 取扱説明書 全自動タイプ ガス風呂給湯器 PTS 2000 Copyright © All rights reserved.
Failed to retrieve file