# Checking the Application

Check the application in TIA Portal as follows to make sure it writes data to the PLC properly:

1. Place the vision system online. Set a new value in the web page, then click the Write To PLC button created in the Updating the Job in the Adapter topic.

2. Open TIA Portal, and check the monitored variables. The Results Completed Cam0 bit must be inverted each time new data is sent from the In-Sight vision system to the PLC. At the same time, the Results Valid Cam0 bit must be set to TRUE, indicating new data. The data can be seen in the Results row, in hexadecimal format by default.

3. Give a rising edge to the Results Ack Cam0 bit to reset the Results Valid Cam0 bit to FALSE. To do so, first set the Results Ack Cam0 bit to TRUE, and then to FALSE. Make sure to click the Modify all selected values once and now icon each time the value is modified.