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


边栏推荐
- Use Baidu map API to set an overlay (infowindow) in the map to customize the window content
- Today's 61 Fu
- 格式化编号,不够位数的补0,例如1:0001,25:0025
- 手工制作 pl-2303hx 的USB轉TTL電平串口的電路_過路老熊_新浪博客
- 关于二分和双指针的使用
- Wireshark对IMAP抓包分析
- Run the dronekit flight control application on Shumei faction under px4-jmavsim software simulation environment
- keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客
- Backup restore of xtrabackup
- mongodb
猜你喜欢
随机推荐
SSL/TLS、对称加密和非对称加密和TLSv1.3
详细讲解局部变量、全局变量、静态变量三种类型
php进程间传递文件描述符
Summary of c++ references and pointers
常用的几款富文本编辑器
【微信公众号H5】 生成带参数进入公众号关注页的二维码 监听用户关注公众号事件 自定义菜单栏 (服务端)
如何配置SQL Server 2008管理器_过路老熊_新浪博客
Uniapp -- the use of document collation and push of unipush
OpenResty篇01-入门简介和安装配置
iomanip头文件在实战中的作用
Unable to start debugging. Unexpected GDB output from command “-environment -cd xxx“ No such file or
sqlServer2008中float类型数据与datetime类型数据互转
MySQL version upgrade + data migration
keil编译运行错误,缺少error:#5:#includecore_cm3.h_过路老熊_新浪博客
WINCC与STEP7的仿真连接_过路老熊_新浪博客
IDEA中如何生成get/set方法
P3052 [USACO12MAR]Cows in a Skyscraper G
网络协议之:redis protocol详解
SSM整合学习笔记(主要是思路)
支付宝支付接口沙箱环境测试以及整合到一个ssm电商项目中





![寻找翻转数组的最小值[抽象二分]](/img/b9/1e0c6196e6dc51ae2c48f6c5e83289.png)



