5.5.3 Communication Logs ......................................................................................................54
6 Setting up an Inspection
...............................................................................................56
6.1 Acquiring a Good Image ...........................................................................................................56
6.1.1 Adjust the Focus on a Micro Video Lens Model .................................................................. 57
6.1.2 Adjust the Focus on a C-Mount Lens Model .......................................................................57
6.2 Using iVu Gen1 and Gen2 Devices in the Same Application ........................................................... 58
7 Configuring Sensors .....................................................................................................59
7.1 Sensor Configuration Shortcut Menu ......................................................................................... 59
7.2 Configuring an Area Sensor ...................................................................................................... 61
7.3 Configuring a Blemish Sensor ....................................................................................................64
7.4 Configuring a Match Sensor ...................................................................................................... 67
7.4.1 Remote Teach ...............................................................................................................70
7.5 Configuring a Sort Application ...................................................................................................71
7.6 Configuring Motion ................................................................................................................. 72
7.6.1 Number of Edges ...........................................................................................................73
7.6.2 Sensitivity .................................................................................................................... 73
7.6.3 Rotation ....................................................................................................................... 73
7.7 Configuring Multiple Sensors in the Inspection ............................................................................73
7.8 Configuring a Mask .................................................................................................................75
8 Communications Guide ................................................................................................ 76
8.1 iVu Plus Communication Summary of Ethernet and Serial ............................................................ 76
8.1.1 Communication Channels ...............................................................................................76
8.1.2 Industrial Ethernet ........................................................................................................76
8.1.3 Command Channel .........................................................................................................76
8.1.4 Data Export .................................................................................................................. 77
8.1.5 Image Export ...............................................................................................................78
8.2 Enabling Communications ........................................................................................................79
8.2.1 Setting Up Ethernet Communications ...............................................................................79
8.2.2 Setting Up Serial Communications ................................................................................... 83
8.3 Testing and Troubleshooting iVu Plus Communications ................................................................. 86
8.3.1 Understanding the Communication Log .............................................................................86
8.3.2 Ethernet I/O ................................................................................................................ 87
8.3.3 Serial I/O .................................................................................................................... 87
8.4 Command Channel Primer ....................................................................................................... 89
8.4.1 Command Channel Commands ........................................................................................89
8.4.2 Conventions Used for Examples .......................................................................................90
8.4.3 Examples .....................................................................................................................90
8.4.4 Command Channel Reference .........................................................................................91
8.4.5 Multiple Sensors Inspection ............................................................................................97
8.4.6 Command Channel Command Status Register ................................................................... 98
8.4.7 Command Channel Error Codes ....................................................................................... 98
8.5 iVu Discovery Protocol ............................................................................................................. 99
8.5.1 Overview .....................................................................................................................99
8.5.2 UDP Usage ...................................................................................................................99
8.5.3 Packet Format ..............................................................................................................99
8.5.4 Message Flow .............................................................................................................103
9 Industrial Ethernet Overview .....................................................................................107
9.1 Device Setup ....................................................................................................................... 107
9.1.1 Set IP Address ............................................................................................................107
9.1.2 Set Industrial Ethernet Protocol (EIP/Modbus/TCP/PCCC/PROFINET
®
) ................................107
9.1.3 Set Trigger Mode ........................................................................................................ 107
9.2 Supported Functions .............................................................................................................. 107
9.2.1 iVu Input Values .......................................................................................................... 107
9.2.2 iVu Output Values ........................................................................................................108
9.3 Sensor Operation ...................................................................................................................108
9.3.1 General Command Execution ........................................................................................109
9.4 EtherNet/IP .......................................................................................................................... 109
9.4.1 Inputs to iVu (Outputs from PLC) ...................................................................................110
9.4.2 Outputs from the iVu (Inputs to the PLC) ........................................................................ 110
9.4.3 Multiple Sensors Mapping Options .................................................................................. 111
9.4.4 Input and Output Flags Bits ...........................................................................................115
9.4.5 Configuration Assembly Object ...................................................................................... 116
9.4.6 Data Formats .............................................................................................................. 116
9.4.7 Minimum Requested Packet Inverval (RPI) Value .............................................................116
9.4.8 iVu Plus EDS File Installation in ControlLogix Software ...................................................... 116
9.4.9 RSLogix5000 Configuration ........................................................................................... 123
9.5 Modbus/TCP ..........................................................................................................................129
9.5.1 iVu Plus Input Values ....................................................................................................131
9.5.2 iVu Plus Output Values ..................................................................................................131
9.5.3 Multiple Sensors Mapping Options .................................................................................. 131
iVu Plus TG Gen2 Image Sensor