# Send Data to an In-Sight Vision System

To send data from the ControlLogix PLC A Programmable Logic Controller is a ruggedized computer that you can use for automating processes or even an entire production line. to the EasyBuilder, the data must be pulled from the EtherNet/IP stack by using the Inspect and Communications application steps. These applications steps take the data format created within the EditFloat function Functions are tools that are available in Spreadsheet for processing and analyzing acquisitions or other results. You can add functions to your Spreadsheet job to create tool chains and produce results for specific applications. and reads the data from the data area of the Ethernet/IP Output Assembly (output from the network), and formats this data into the EasyBuilder. This data is received from the PLC every RPI cycle and the corresponding EasyBuilder data is updated only when the EasyBuilder executes.

1. Click on the Inspect application step and insert a Math tool.

2. Insert two EditFloat functions into the spreadsheet.

3. Click the Communication application step, and under Industrial Ethernet, select Ethernet/IP as the Target Protocol, then click Format Data.

4. In the Inputs section, click the Add button and select the cell reference of the first EditFloat function in the Math tool.

5. In the Inputs section, click the Add button and select the cell reference of the second EditFloat function in the Math tool.

6. In the Inputs section, open the Data Type dropdown menu to change the Data Type to 32-bit floating point.

7. In RSLogix, go to Offline mode.

8. Within RSLogix, right-click on the User-Defined >Data Types folder and select New Data Type... from the menu.

9. Give the new data type a descriptive name and add two floating point values to the Members list.

10. Next, add a new tag to the Controller Tags of the project, using the user-defined data type.

11. Add a COP instruction to the MainRoutine ladder logic program.

12. Place the In-Sight vision system Online.

13. In RSLogix, click the dropdown arrow on the Offline button, and click Download.

14. Open the Controller Tags dialog and change the values of the InSight_Top_Output.Data1 and InSight_Top_Output.Data2. After changing the InSight_Top_Out.Data1 and InSight_Top_Out.Data2 values in the PLC, set the SetUserData bit in the PLC and wait for the SetUserDataAck bit to be set and then clear the SetUserData bit. Once the ReadUserDataBuffer cell runs in the spreadsheet, the values are updated in the spreadsheet.