PROFINETCOMMUNICATIONSFromSiemensS7toIn-Sight,DataManandCheckerUsingPortalPage|2TheinformationcontainedinthisdocumenthasbeendevelopedsolelyforthepurposeofprovidinggeneralguidancetoCognexcustomerswhoneedtoconfigurecommunicationsbetweenCognexproductsandaSIMATICS7-seriesPLCviaPROFINETprotocolusingPortalsoftware.Thedatacontainedinthisdocumentservesinformationalpurposesonly.TheinformationinthisdocumentisproprietarytoCognex.Nopartofthisdocumentmaybereproducedortransmittedinanyformorbyanymeans,electronicormechanical,includingphotocopying,withoutthewrittenpermissionofCognex.InformationinthisdocumentdoesnotrepresentacommitmentonthepartofCognexandinespeciallyisnotintendedtobebindinguponCognextoanyparticularcourseofbusiness.Cognexassumesnoresponsibilityforerrorsoromissionsinthisdocument.Cognexdoesnotmakeanyexpressorimpliedrepresentationorwarrantyastotheaccuracyorcompletenessoftheinformationforaparticularpurpose.Cognexshallhavenoliabilityfordamagesofanykindincludingwithoutlimitationdirect,special,indirect,orconsequentialdamagesthatmayresultfromtheuseofthisdocument.Page|3TableofContentsRevisionHistory............................................................................................................................................5Introduction..................................................................................................................................................6CreateaNewPLCProgram...........................................................................................................................7ConnectingtoIn-SightCameras..................................................................................................................11In-SightConfiguration.............................................................................................................................11PLCandSpreadsheetProgramming........................................................................................................14AddIn-SightCameratoNetwork........................................................................................................14DeviceI/O............................................................................................................................................20DeviceOperation................................................................................................................................24AddPLCTags.......................................................................................................................................26AddIn-SightFunctionBlock................................................................................................................27AddFunctionBlockTags.....................................................................................................................28AddCameraOnline/OfflineControl....................................................................................................29AddCameraTrigger............................................................................................................................30AddCameraResults............................................................................................................................31AddCameraData................................................................................................................................34ConnectingtoDataMan..............................................................................................................................37DataManConfiguration..........................................................................................................................37PLCProgramming....................................................................................................................................40AddDataMantoNetwork...................................................................................................................40DeviceI/O............................................................................................................................................47DeviceOperation................................................................................................................................52AddPLCTags.......................................................................................................................................56AddDataManFunctionBlock.............................................................................................................57AddFunctionBlockTags.....................................................................................................................58AddTrigger..........................................................................................................................................59AddResults.........................................................................................................................................60AddDMCCCommand...........