Siemens E12 Reset, Triggering, Transmitting Delay Time, Reading and transmitting result data

Page 28

Industry Automation and Drive Technologies - SCE

4.6Operating FB1 Model Selection

To select a model, the DISA bit has to be set to 1.

The desired model number is set up at FB1 input MODEL.

The model change is completed when the TRD and RDY bit changes from FALSE to TRUE. The model number that was set up is placed on output MODEL_OUT.

As long as no model was transmitted, 0 is read out at output MODEL_OUT.

The output MODEL_OUT changes to 0 as soon as the DISA bit is reset.

If MODEL = 0, the model that was selected last is retained. 0 is read out at output MODEL_OUT.

Reset

When errors are reset, SIMATIC VS120 module errors (IN_OP = 0) and the FB1 transmission errors are reset.

Triggering

With the trigger input at FB1, image evaluation with the SIMATIC VS120 can be activated.

For mixed operation "Controlling by means of PROFIBUS DP and triggering by means of DI/DO“ the trigger signal can be connected directly to the evaluation device VS120. The FB1 parameter TRG remains free in this case.

Transmitting Delay Time

The time delay for hardware oriented trigger delays is set up at the FB1 parameter DELAY. With the delay time parameter, the value for the hardware oriented trigger supply can be specified.

Reading and transmitting result data

The FB1 is always ready to receive.

After an OK or N_OK evaluation, the result data is read out.

The data is valid when bit NDR changes from 0 to 1.

With the setup support under "Connections - Register Output" we are setting how many Sub-ROIs (regions of interest) are transmitted.

TIA Training Document

Page 28 of 47

Module

E12

 

 

Status: 01/2010

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

Image 28
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 OK to get to the main menu Press ESCMain 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