Application Research of Vision Inspection System Based on Siemens S7-1200 PLC
From the structure of Cognex In-Sight 2000 hardware and the composition of its internal communication data,this paper sets up the hardware of Cognex In-Sight 2000 sensor through In-Sight Explorer,and completes the new vision operation setting of In-Sight 2000.It includes the IP address of the camera,setting image,locating parts,checking parts and communication configuration,etc.The S7-1200 PLC and Cognex In-Sight 2000 are configured through the Siemens TIA portal software,so that the two can communicate normally.On this basis,the test programming is carried out,and the output is sent to IW74 and IW76 after the camera took pictures.When IW74 is"1"and IW76 is"0",Q5.0 is"0",the product is unqualified,and when IW76 is"1"and IW74 is"0",the Q5.0 is"1",the product is qualified.After the actual test,the communication connection between Siemens S7-1200 PLC and Cognex In-Sight 2000 vision inspection system is completed.S7-1200 PLC can output Q5.0 status to reflect the material to be tested whether qualified.