5.1 Acquiring a Good Image ..............................................................................................................................................57
5.2 Setting Up a Barcode Application ................................................................................................................................61
5.3 Setting up for Data Compare .......................................................................................................................................62
6 iVu Plus Communications ...................................................................................................................65
6.1 iVu Plus Communications ...........................................................................................................................................65
6.1.1 .........................................................................................................................................................................65
6.1.2 Communication Channels ...............................................................................................................................65
6.1.3 Industrial Ethernet ...........................................................................................................................................65
6.1.4 Command Channel ..........................................................................................................................................65
6.1.5 Data Export ......................................................................................................................................................67
6.1.6 Image Export
...................................................................................................................................................68
6.2 Enabling Communications ...........................................................................................................................................69
6.2.1 Setting Up Ethernet Communications ..............................................................................................................69
6.2.2 Setting Up Serial Communications ..................................................................................................................74
7 Testing and Troubleshooting iVu Plus Communications ................................................................79
7.1 Understanding the Communication Log ......................................................................................................................79
7.2 Ethernet I/O .................................................................................................................................................................80
7.2.1 Ethernet I/O Status .........................................................................................................................................80
7.3 Serial I/O ......................................................................................................................................................................80
7.3.1 Using the Port Status Screen for Testing RS-232 Communications ................................................................80
7.3.2 Using the iVu Command Channel Sample Application or a Terminal Program for Testing .............................81
7.3.3 Verifying Basic Receive Functionality ..............................................................................................................81
8 Command Channel Primer ..................................................................................................................84
8.1 Command Channel Commands ..................................................................................................................................84
8.1.1 Command Flow ...............................................................................................................................................84
8.1.2 String Delimiters and Escaping ........................................................................................................................85
8.1.3 Command Channel Command Synopsis .........................................................................................................85
8.2 Conventions Used for Examples .................................................................................................................................86
8.3 Examples .....................................................................................................................................................................86
8.3.1 Example 1: How to Trigger the Sensor and Retrieve Barcode Data using the Command Channel ................86
8.3.2 Example 2: How to Modify Barcode Compare Data Using the Command Channel ........................................86
8.4 iVu Plus Command Channel Reference .....................................................................................................................87
8.5 Command Channel Error Codes .................................................................................................................................97
9 Industrial Ethernet Overview .............................................................................................................99
9.1 Device Setup ..............................................................................................................................................................99
9.1.1 Set IP Address ................................................................................................................................................99
9.1.2 Set Industrial Ethernet Protocol (EIP/Modbus/TCP/PCCC) ............................................................................99
9.1.3 Set Trigger Mode ............................................................................................................................................99
9.2 Supported Functions ..................................................................................................................................................100
9.2.1 iVu Input Values .............................................................................................................................................100
9.2.2 iVu Output Values ..........................................................................................................................................102
9.3 Sensor Operation .......................................................................................................................................................102
9.3.1 General Command Execution .......................................................................................................................102
9.4 Ethernet/IP .................................................................................................................................................................103
9.4.1 RSLogix5000 Configuration ...........................................................................................................................103
9.4.2 Assembly Objects .........................................................................................................................................112
9.4.3 Configuration Assembly Object ......................................................................................................................119
9.4.4 Data Formats .................................................................................................................................................119
9.4.5 Minimum Requested Packet Inverval (RPI) Value ........................................................................................119
9.4.6 Sample Timing Diagram ...............................................................................................................................120
9.5 Modbus/TCP ..............................................................................................................................................................124
9.5.1 Holding Registers ...........................................................................................................................................125
9.5.2 Output Registers ............................................................................................................................................126
9.5.3 Input and Output Coils ...................................................................................................................................131
9.6 PLC5 and SLC 5 (PCCC) ..........................................................................................................................................132
Contents
3