当前位置:网站首页>PLC编程基础之数据类型、变量声明、全局变量和I/O映射(CODESYS篇 )
PLC编程基础之数据类型、变量声明、全局变量和I/O映射(CODESYS篇 )
2022-07-05 22:46:00 【RXXW_Dor】
这篇文章给大家全面介绍CODESYS编程的基础知识(数据类型和变量声明的方法,包括全局变量和局部变量,掉电保持型变量 、I/O映射等),CODESYS 二进制数据类型和标识符命名规则(变量命名规则)。文中会给出CODESYS和博途、三菱PLC在接口声明方面的区别对比,方便大家理解。限于本人水平,文中难免有错误和不足之处,欢迎大家批评指正。非常感谢大家点赞关注。
1、CODESYS建议命名规则
2、二进制数据类型
3、CODESYS里如何开启帮助助手?
输入助手可以提供在当前游标位置插入的所有程序元素。打开方法: "编辑" ---> "输入助手" 或者按F2。
4、如何开启工具提示?
如果在调用函数块或函数时,为POU参数输入开括号,CODESYS将显示工具提示。工具提示包括有关参数在POU中声明的信息,如果不小心关闭了,可以用"Ctrl+Shift+空格键"重新打开该功能。
5、变量声明和附初值
6、CODESYS静态变
边栏推荐
- Starting from 1.5, build a micro Service Framework -- log tracking traceid
- Nacos 的安装与服务的注册
- Vcomp110.dll download -vcomp110 What if DLL is lost
- [untitled]
- Methods modified by static
- Thinkphp5.1 cross domain problem solving
- 二叉树(二)——堆的代码实现
- opencv 判断点在多边形内外
- Un article traite de la microstructure et des instructions de la classe
- 一文搞定class的微观结构和指令
猜你喜欢
Leetcode weekly The 280 game of the week is still difficult for the special game of the week's beauty team ~ simple simulation + hash parity count + sorting simulation traversal
Lesson 1: serpentine matrix
The difference between MVVM and MVC
一文搞定class的微觀結構和指令
[error record] groovy function parameter dynamic type error (guess: groovy.lang.missingmethodexception: no signature of method)
[groovy] groovy dynamic language features (automatic type inference of function arguments in groovy | precautions for function dynamic parameters)
How to quickly experience oneos
Starting from 1.5, build a micro Service Framework -- log tracking traceid
[untitled]
The countdown to the launch of metaverse ape is hot
随机推荐
How can easycvr cluster deployment solve the massive video access and concurrency requirements in the project?
The code generator has deoptimised the styling of xx/typescript.js as it exceeds the max of 500kb
第一讲:蛇形矩阵
All expansion and collapse of a-tree
我对新中台模型的一些经验思考总结
2022软件测试工程师涨薪攻略,3年如何达到30K
[digital signal denoising] improved wavelet modulus maxima digital signal denoising based on MATLAB [including Matlab source code 1710]
Metaverse ape ape community was invited to attend the 2022 Guangdong Hong Kong Macao Great Bay metauniverse and Web3.0 theme summit to share the evolution of ape community civilization from technology
Google Maps case
Leetcode daily question 1189 The maximum number of "balloons" simple simulation questions~
Opencv judgment points are inside and outside the polygon
點到直線的距離直線的交點及夾角
Double pointeur de liste liée (pointeur rapide et lent, pointeur séquentiel, pointeur de tête et de queue)
请求二进制数据和base64格式数据的预览显示
Leetcode weekly The 280 game of the week is still difficult for the special game of the week's beauty team ~ simple simulation + hash parity count + sorting simulation traversal
Unity Max and min constraint adjustment
344. Reverse String. Sol
航海日答题小程序之航海知识竞赛初赛
Business introduction of Zhengda international futures company
Starting from 1.5, build a micro Service Framework -- log tracking traceid