Siemens E12 manual Data structure looks like this, DB10

Page 12

Industry Automation and Drive Technologies - SCE

4STARTING UP A PROJECT WITH CPU 315F-2 PN/DP AND VS120

Below, starting up the VS120 in a project is described.

As SIMATIC S7-300 Station, the CPU 315F-2 PN/DP is used.

In the CPU’s control program, a data structure has to be generated by means of a function block call (FB1) with data block (DB10).

The data structure looks like this:

FB1

for VS120

DB10

Result of the form checl

Instance DB1

of FB1

All additional information is provided in Chapter 10 of the operating instructions “Image Processing Systems Vision Sensor SIMATIC VS120“.

TIA Training Document

Page 12 of 47

Module

E12

 

 

Status: 01/2010

Vision Sensor Shape Check with SIMATIC S7-300F 2PN/DP and VS120

Image 12
Contents Module E12 Industry Automation and Drive Technologies SCEIndustry Automation and Drive Technologies SCE Fehler! Textmarke nicht definiert Page Objective PrerequisitesStep Ethernet ConnectionProduct Description Result output by means Recognition principles of edgesRecognizing and localizing parts Checking a model for completenessConveyor Conveying Direction Press ESC Press OK to get to the main menuMain Menu Industry Automation and Drive Technologies SCE Connect Menu Data structure looks like this DB10Page Industry Automation and Drive Technologies SCE Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE MAC address Value range for the IP addressValue range for the subnet screen form Value range for the address of the gateway routerIndustry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Page Industry Automation and Drive Technologies SCE Function Block FB1 Tasks of FB1Page Page Reset Transmitting Delay TimeTriggering Reading and transmitting result dataError information Data Block DB10 Tasks of DB10DB10 has a size of 246 bytes and can accommodate 16 SubROIs 10 FC10 Control Program Industry Automation and Drive Technologies SCE We now can load the program into the CPU Setting Up and Evaluating the Model WEB Server Based Operator Interface of VS120Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Page Page Industry Automation and Drive Technologies SCE Industry Automation and Drive Technologies SCE Results of Image Evaluation in the CPU Web View of the Evaluation DB10 Data View