当前位置:网站首页>Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)

Data type, variable declaration, global variable and i/o mapping of PLC programming basis (CoDeSys)

2022-07-05 22:59:00 RXXW_ Dor

This article gives you a comprehensive introduction CODESYS Basic knowledge of programming ( Data types and variable declaration methods , Including global variables and local variables , Power down hold variable 、I/O Mapping, etc. ),CODESYS Binary data types and identifier naming rules ( Variable naming rule ). The text will give CODESYS Hetu 、 Mitsubishi PLC Comparison of differences in interface declaration , So that you can understand . Limited to my level , There are inevitably mistakes and deficiencies in the text , Welcome criticism . Thank you for your kind attention .

1、CODESYS Suggest naming rules

2、 Binary data type

3、CODESYS How to open the help assistant ?

The input assistant can provide all program elements inserted at the current cursor position . Open method :  " edit " --->   " Entry Helper " Or press F2.

4、 How to open tooltips ?

If when calling a function block or function , by POU Parameter input open brackets ,CODESYS A tool tip will be displayed . Tooltips include relevant parameters in POU The information stated in , If it's accidentally shut down , It can be used "Ctrl+Shift+ Space bar " Reopen the function .

5、 Variable declaration and initial value attached

 6、CODESYS Static change

原网站

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