当前位置:网站首页>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】

JZGKCHINA
Industrial control technology sharing platform
DALSA Smart cameras BOA Spot With Siemens S7-1200 Profinet Communications

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

2. open Discover BOA Cameras Software

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 .


BOASpot Smart camera language configuration

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

Click on iNspect Enter the camera configuration interface .

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

Connecting ......

New project process


1. newly build Solution

Select the new scheme ID

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 .

Select Internal clock touch Send photos .

Sensor exposure and brightness adjustment .

Monitor photo quality .


Adjust focal length , Finally get a clear image .


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

3.Tool Setup Tool settings

Get images .

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

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

Right click the tool name .

Match score settings , You can adjust , Click lock .

Click to lock the learning template .

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 .

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

Image preprocessing , Increase according to demand .

Click application 、 confirm .

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

4.Connect Setup Network connection settings .

Support communication types :

choice Profinet RT IO.

choice Dint type .

Click to increase .

Picture storage settings , Set as required .

5. Edit script

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

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 .

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


preservation

After the save , Smart cameras Power off and then power on .
TIA Botu configuration
1.GSD File import



add to BOA Smart cameras .


Connect CPU and BOA Smart cameras .

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 )



modify IO Scan cycle .

The configuration status is normal :

The device address corresponds to :


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


边栏推荐
- .NET开发云原生应用,你只差给自己加个油
- XSS labs customs collection
- 深度讲解CAS,面试实践必备
- uva1467
- The concept and method of white box test
- PostgreSQL and Navicat: the backbone of the database industry
- 基于JSP实现OA办公系统
- 没有需求文档,拒绝开发?
- The most detailed explanation of the output of three numbers from large to small
- No requirement document, reject development?
猜你喜欢

以后面试官问你 为啥不建议使用Select *,请你大声回答他!

PostgreSQL and Navicat: the backbone of the database industry

BGP federal experiment

After planning job hopping for nearly half a year, there were finally four interviews and three interviews

Pagoda installation hyperf

How do test / development programmers break through? All roads lead to Rome

Idea export jar package to JMeter

How many of the 50 classic computer network interview questions can you answer? (III)

BGP实验

亲情诈骗盛行,搜狗号码通筑安全防火墙
随机推荐
IDM下载器免费高质量的Win下载工具无使用限制
国债逆回购安全吗 如何网上开户?
[ctfshow-web入门]SSRF
xss-labs 通关合集
What is the experience of writing concurrent tool classes (semaphore, cyclicbarrier, countdownlatch) by yourself in line 30?
Is qiniu a safe securities company? Is it safe to open an account?
基于共轭梯度法的对抗攻击
Arduino框架下合宙ESP32C3 +1.8“TFT液晶屏通过TFT_eSPI库驱动显示
UGUI源码解析——StencilMaterial
[openvx] VX for basic use of objects_ context
[zero based BLDC series] brushless DC motor control principle based on Hall sensor
全新 IDEA 2022.2 正式发布,新特性很NICE
BGP federal experiment
Talking about -- network security architecture design (II)
讲一讲HART协议
No requirement document, reject development?
启牛是不是安全的证券公司啊开户安全吗?
Common CMD commands summarize the conversion between binary and decimal
没有需求文档,拒绝开发?
Svg+js mouse hover parallax JS effect