当前位置:网站首页>DALSA smart camera boa spot communicates with Siemens s7-1200 PROFINET

DALSA smart camera boa spot communicates with Siemens s7-1200 PROFINET

2022-07-23 09:01:00 51CTO

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide

JZGKCHINA

Industrial control technology sharing platform



DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _02

Hardware environment :

6ES7214-1AG40-0XB0(1214C)

BVS-SP-0640M-IDE-M12-W  

(Spot 640x480 IDE with 12mm lens and white (-W) light)

Software environment :

TIA V15.1

iNspect


Set up BOASpot Smart cameras IP Address


1. The computer is set to fixed IP, for example 192.168.1.5

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _03


2. open Discover BOA Cameras Software

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _04

Default IP The address is 192.168.0.1, Because it is not in a network segment , So the camera icon is Red , modify IP The address is 192.168.1.1 And click the Apply, The camera color changes to green .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _05

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_06


BOASpot Smart camera language configuration

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _07

Choose IP Click the address Setting, In the pop-up browser ( Test use IE11) Modify the language in to Chinese .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_08

Click on iNspect Enter the camera configuration interface .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _09

The browser will prompt to open the plug-in , Click allow .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _10

Connecting ......

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_11


New project process

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _12

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_13


1. newly build Solution

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_14

Select the new scheme ID

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_15


2. Sensor Setup Sensor configuration

Image acquisition requires a stable light environment , Changes in external light will affect the detection effect , Therefore, it is necessary to add protective covers and other devices to isolate external light sources .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _16

Select Internal clock touch Send photos .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_17

Sensor exposure and brightness adjustment .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _18

Monitor photo quality .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _19

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _20

Adjust focal length , Finally get a clear image .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_21

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _22

Finally revised to Software triggers ( It's very important , Otherwise, the communication connection will be lost )

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _23


3.Tool Setup Tool settings

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _24

Get images .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _25

Select tool , Here we use Pixel matching Way to demonstrate .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _26

After selecting the tool, drag an area on the image .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _27

Right click the tool name .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _28

Match score settings , You can adjust , Click lock .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _29

Click to lock the learning template .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _30

Set the rotation angle , When the object rotates at an angle, it can also be recognized , Default 0 degree , I'm going to set it to 360 degree .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_31

The default matching method is pixels , It can also be modified to match the shape .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _32

Image preprocessing , Increase according to demand .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _33

Click application 、 confirm .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _34

Drag the range of the detection box , Increase the detection range .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _35


4.Connect Setup Network connection settings .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _36

Support communication types :

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_37

choice Profinet RT IO.

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _38

choice Dint type .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _39

Click to increase .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _40

Picture storage settings , Set as required .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _41


5. Edit script

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _42

Task types are divided into :

Post Image Process  Photo Execute the task after processing

Periodic:200ms   Periodic tasks 200ms

Solution Initialize   Initialization task

Pre Image Process Photo Division Carry out tasks before and after management

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _43

Receive the photographing command communication script Put it in Periodic tasks in , Double click the task name to start editing the script , Click to check the grammar and confirm .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _44

MS.Result Image processing results ,0 yes NG、1 yes OK.

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _45

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_46


preservation

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_47

After the save , Smart cameras Power off and then power on .


TIA Botu configuration  

1.GSD File import

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_48

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_49

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _50

add to BOA Smart cameras .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _51

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _52

Connect CPU and BOA Smart cameras .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _53

Double click Modify attribute IP Address , It is amended as follows 192.168.1.1, modify PROFINET Equipment name boaspot( and Nexus In the agreement )

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _54

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _55

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ide_56

modify IO Scan cycle .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _57

The configuration status is normal :

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _58

The device address corresponds to :

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _59

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _60


test result

Use %QD64 PROFIdint[0] Trigger photography , Use %ID88 PROFIdint[5]  Feedback detection status .

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ip Address _61

DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications _ Photo processing _62


原网站

版权声明
本文为[51CTO]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/204/202207230005343837.html