当前位置:网站首页>How PLC constructs shift function block (FC) by itself

How PLC constructs shift function block (FC) by itself

2022-06-12 10:13:00 RXXW_ Dor

Universal PLC Basically, all kinds of shift instructions are provided , It is convenient for us to implement complex process control applications . But most shift instruction monitoring and debugging are not very intuitive . How to construct a shift function block by yourself , Here we show you step by step , This paper mainly uses SMART PLC For example to explain ( Subsequent updates of Mitsubishi and POTU ). The algorithm block diagram is also given at the end of the article .PLC See the following blog post for the application of the built-in shift instruction :

SMART PLC Action flow control algorithm ( Shift instruction application )_RXXW_Dor The blog of -CSDN Blog Non standard machines and multi station detection equipment , There are a lot of process actions in the organization 、 How to write for easy maintenance 、 Multiple processes may be active at the same time , It is difficult to program with finite state machine alone , This paper mainly describes the idea and algorithm , The main code of the program part will give ladder diagram and ST Code Shift instructions : The shift instruction will input the value (IN) Shift the bit value of right or left N position , Then load the results into (OUT Parameters ) The specified storage address unit , Most shift instructions IN and OUT Parameters will be written to the same storage unit , In this way, the shift operation is carried out in a storage unit , 1、 Shift instructions 2、 Process operation action ...https://blog.csdn.net/m0_46143730/article/details/124765096

原网站

版权声明
本文为[RXXW_ Dor]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206121012323398.html

随机推荐