当前位置:网站首页>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静态变
边栏推荐
- 从 1.5 开始搭建一个微服务框架——日志追踪 traceId
- TCC of distributed solutions
- New 3D particle function in QT 6.3
- Exponential weighted average and its deviation elimination
- d3dx9_ What if 29.dll is missing? System missing d3dx9_ Solution of 29.dll file
- Binary tree (III) -- heap sort optimization, top k problem
- Golang writes the opening chapter of selenium framework
- Vcomp110.dll download -vcomp110 What if DLL is lost
- 119. Pascal‘s Triangle II. Sol
- 50. Pow(x, n). O(logN) Sol
猜你喜欢

d3dx9_ How to repair 31.dll_ d3dx9_ 31. Solution to missing DLL

Post-90s tester: "after joining Ali, this time, I decided not to change jobs."

TCC of distributed solutions

Nanjing: full use of electronic contracts for commercial housing sales

I closed the open source project alinesno cloud service

Vision Transformer (ViT)

一文搞定JVM的内存结构

傅里叶分析概述

Exponential weighted average and its deviation elimination

一文搞定class的微觀結構和指令
随机推荐
傅里叶分析概述
2022.02.13 - SX10-30. Home raiding II
Binary tree (III) -- heap sort optimization, top k problem
一文搞定class的微觀結構和指令
Arduino measures AC current
Go language learning tutorial (XV)
Metasploit (MSF) uses MS17_ 010 (eternal blue) encoding:: undefined conversionerror problem
抖音__ac_signature
Distance from point to line intersection and included angle of line
解决thinkphp启动时“No input file specified”的问题
Tensor attribute statistics
从 1.5 开始搭建一个微服务框架——日志追踪 traceId
Lesson 1: serpentine matrix
How to create a thread
链表之双指针(快慢指针,先后指针,首尾指针)
Metaverse Ape上线倒计时,推荐活动火爆进行
二叉树(三)——堆排序优化、TOP K问题
Qtquick3d real time reflection
Nail error code Encyclopedia
一文搞定class的微观结构和指令