当前位置:网站首页>Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog
Establishment of multiple background blocks in botu software_ Old bear passing by_ Sina blog
2022-06-25 23:55:00 【wenroudelang8888】
Used to Step7 All technicians know , In function block FB In the process of using, it needs to cooperate with the background data block DB To use , When a formal parameter is established for FB When making repeated calls , How many calls , A corresponding number of background data blocks must be provided . So when FB The number of calls to is , It will occupy more data blocks , Therefore, the number of data blocks can be effectively reduced when using multiple background data blocks .
stay Step7 The establishment method of using multiple background data blocks in our software is somewhat different from that in botu software . Next, we take a simple star delta step-down startup as an example to illustrate the establishment of multiple background data blocks in botu software :
One 、 The establishment of variable table

Two 、 Create a new one FB block , Name the star triangle startup control block

3、 ... and 、 Open the new FB block , First establish the interface parameters as shown in the figure :

Four 、 Use the established interface parameters to write the star triangle control program

5、 ... and 、 Create a for the startup block FB block , In this FB Create two... In the interface parameters of the block static Variable , Respectively motor1 and motor2, The data type of the variable is the previously established “ Star delta start control ”

6、 ... and 、 Starting FB The star triangle start control block is called in the block , Select multiple backgrounds in the call selection , Interface parameter name: select the name of the established static variable

7、 ... and 、 Assign the corresponding pins to the control block


8、 ... and 、 stay OB1 Call the established startup in FB block , And assign a data block DB block

Nine 、 Download to PLC Debugging and running in


边栏推荐
- Blob
- keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客
- oracle写一个先插入一条数据,在将该数据中一个字段更新的触发器的坑
- Wireshark对IMAP抓包分析
- Oracle writes a trigger that inserts a piece of data first and updates a field in the data
- 别再吃各种维生素C片了,这6种维生素C含量最高的水果
- MySQL version upgrade + data migration
- The role of iomanip header file in actual combat
- xtrabackup的备份还原
- C# IO Stream 流(二)扩展类_封装器
猜你喜欢
随机推荐
手工制作 pl-2303hx 的USB转TTL电平串口的电路_过路老熊_新浪博客
Apache Doris1.0版本集群搭建、负载均衡与参数调优
Uniapp -- the use of document collation and push of unipush
记录一些cf的题
Stream in PHP socket communication_ Understanding of select method
权限设计=功能权限+数据权限
mysql版本升级+数据迁移
Record a simple question with ideas at the moment of brushing leetcode - Sword finger offer 09 Implementing queues with two stacks
C# IO Stream 流(二)扩展类_封装器
Gradle的环境安装与配置
Raspberry pie sends hotspot for remote login
P3052 [USACO12MAR]Cows in a Skyscraper G
Leetcode 513. 找树左下角的值
两种块级元素居中的方式
Analyse des cinq causes profondes de l'échec du développement de produits
mysql
Using Google protobuf protocol environment configuration in PHP
WordPress
php中使用google protobuf协议环境配置
Uniapp -- list page of multi header tabs









