当前位置:网站首页>TIA botu - basic operation
TIA botu - basic operation
2022-04-23 15:55:00 【Qingyuan warm song】
Catalog
2.3 Function block (FB: Function block )
3、 ... and 、 Basic instructions
(7) The rising edge of the scanning signal
(8) The falling edge of the scanning signal
One 、 Personal attention
appear HMI The picture “ Unable to start running system emulation ” problem , Bloggers have two problems , First summer vacation last year , It hasn't been solved at that time , You have to reload the system , Then there's no problem reinstalling the software , Because it's no problem to install all the software you need at the beginning , This problem occurred after using it for a period of time , So I don't know the cause of the problem . My is win10 pro , Berto v15.1.
The second time this problem occurred last week , It scared me directly , Because the front can still use , That day I installed plcsim adv The problem that emerged after , I'll try to delete plcsim, It's not solved , After reinstalling all the software of botu, it's OK again , So it may be a compatibility problem , If you don't need to use plc It's better not to install the simulation plcsim Well .....
Two 、 Add a new block

2.1 Tissue block (OB)
Tissue block (OrganizationBlocks, abbreviation OB) Provides PLC Inside CPU Interface between operating system and user program , It is from CPU A logical block called directly by the operating system , Used to manage PLC The calling and execution of each component in the program are interrupted .OB To determine the PLC The structure of the user program and the calling order of the blocks , Play a “ management ” The role of user programs .
OB The call condition of the block is called “ Triggering event ”, according to “ Triggering event ” Different ,OB Blocks can be divided into several levels , Each level has different priorities , High priority OB Low priority can be interrupted OB Implementation . if necessary ,S7 series PLC except OB1 Outside , You can also use multiple OB block .
2.2 Block (FC: function )
Block (Function, abbreviation FC) Is written by the user 、 Common logical blocks that do not require special data blocks .
FC Blocks can not be called repeatedly in programs , On most occasions ,FC Blocks should be used directly PLC Of “ Absolute address ” or “ Symbolic address ” Programming , But as needed , Some program variables can be defined .
2.3 Function block (FB: Function block )
Function block (FunctionBlocks, abbreviation FB block ) Is written by the user 、 A dedicated data block is required (InstanceDataBlocks, be called “ Real time data block ” or “ Background data block ”, abbreviation DI) Common logical blocks supported .
FB Block and FC The function of blocks is basically the same , but FB In addition, you can use “ Absolute address ” or “ Symbolic address ” Outside of programming , Must be used in structured programming “ Program variables ” Programming , therefore ,FB Must be matched 、 Independent data storage area ——“ Real time data block DI”.DI- Aspects can be called FB Provide what is needed to execute the program “ Program variables ” Assignment and other data , On the other hand , Function block FB Can also pass through DI Return the required data to the logical block calling it .
2.4 Data blocks (DB)
Data blocks (DataBlocks, abbreviation DB) It is a data storage area used to store the data required for the execution of user programs and the results of program execution , Its function is similar to that of flag register , But more . Data blocks DB It can be divided into real-time data blocks according to different purposes (InstanceDataBlocks, Also known as background data block , abbreviation DI) And common data blocks (DataBlocks, Also known as shared data block , abbreviation DB) Two types of .
Real time data block (DI) Used to pass the parameters of the function block , Only function blocks that can be specified FB visit . Call function block FB when , The real-time data block for this function block must also be specified DI, The data in the real-time data block can be automatically generated , They could be FB Data in variable declaration table ( No temporary variables ).
Common data block (DB) Used to store PLC The global data of , be-all FB、FC or OB Can read and write general data blocks , therefore , Also known as shared data blocks . The data in the general data block will not be deleted due to the end of the user program .
3、 ... and 、 Basic instructions
3.1 Bit logic operations
(1) Normally open
Power on and close , The operand of the query is 1 When closed

(2) Normally closed
Power on and close , The operand of the query is 0 When closed

(3) coil ( assignment )
Sets the bits of the specified operand

(4) The assignment is negated
Negates the result of a logical operation and returns the operand

(5) Set output
Specifies that the operand output is set to 1

(6) Reset output
Specifies that the operand output is reset to 0

(7) The rising edge of the scanning signal
The signal of the operand is represented by “0” To “1” when , return 1

(8) The falling edge of the scanning signal
The signal of the operand is represented by “1” To “0” when , return 1

(9) Move value
take IN The input operand at is assigned to OUTx Output

It may not be over ....
版权声明
本文为[Qingyuan warm song]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231550119854.html
边栏推荐
猜你喜欢

Website pressure measurement tools Apache AB, webbench, Apache jemeter

Spark 算子之partitionBy

5 minutes, turn your excel into an online database, the magic cube net table Excel database

实现缺省页面

Read the meaning of serial port and various level signals

Config组件学习笔记

Do we media make money now? After reading this article, you will understand

Redis master-slave replication process

Spark 算子之distinct使用

Pgpool II 4.3 Chinese Manual - introductory tutorial
随机推荐
Redis主从复制过程
Deletes the least frequently occurring character in the string
捡起MATLAB的第(10)天
Codejock Suite Pro v20. three
幂等性的处理
Merging of Shanzhai version [i]
贫困的无网地区怎么有钱建设网络?
Calculate the number of occurrences of a character
mysql乐观锁解决并发冲突
Fastjon2 here he is, the performance is significantly improved, and he can fight for another ten years
MySQL - execution process of MySQL query statement
MySQL集群模式與應用場景
捡起MATLAB的第(2)天
R语言中实现作图对象排列的函数总结
Why is IP direct connection prohibited in large-scale Internet
Neodynamic Barcode Professional for WPF V11.0
Load Balancer
Go language, array, pointer, structure
JVM - Chapter 2 - class loader subsystem
PHP classes and objects