- 2
- 0
- 约2.59千字
- 约 9页
- 2023-05-12 发布于重庆
- 举报
DATA TYPES VARIABLES
AGENDADATA TYPESVARIABLES5 - 2 WAGO Kontakttechnik GmbH Co. KG
TypeData widthLower limitUpper limitBOOLBYTEWORDDWORDSINTUSINTINTUINTDINTUDINTREALLREALSTRINGTIMETODDATEDT 1 Bit 8 Bit16 Bit32 Bit 8 Bit 8 Bit16 Bit16 Bit32 Bit32 Bit32 Bit64 BitVariable (255 Byte max.)32 Bit32 Bit32 Bit32 BitFALSE000-1280-327680-2′147′483′6480Ex. 3.141592654Ex. T# 5d4h5m10s123msEx. TOD#15:36:10.340Ex. D#2001-03-28Ex. DT#2001-03-28-11:26:01 TRUE255655354′294′967′29512825532767655352′147′483′6474′294′967′295(TIME_OF_DAY)(DATE_AND_TIME)ELEMENTARY DATA TYPES5 - 3 WAGO Kontakttechnik GmbH Co. KGData Types according to IEC 61131-3
VARIABLES 1Variables stand for memory locations (in the controller), the administration of which is taken on by the programming system. they can be written and read.Variables are declared either locally in the declaration part of a module, and are thus only known in this module, or once in the global declaration folder and then known in all modules in the project.What is a Variable?5 - 4 WAGO Kontakttechnik GmbH Co. KG
VARIABLES 1Local declarationGlobal declaration5 - 5 WAGO Kontakttechnik GmbH Co. KG
VARIABLES 2Class DescriptionVAR Local Variable in a POU (Standard)VAR_INOUT Input VariableVAR_OUTPUT Output VariableVAR_IN_OUT Input/Output VariableVAR_GLOBAL Global Variable, known in all POUs5 - 6 WAGO Kontakttechnik GmbH Co. KGDeclaration of Variables Class
VARIABLES 3NameTypeInitial valueAddressCommentCONSTANT Constants; the value is not changed during a program execution (only read)RETAIN These Variables retain their value after an uncontrolled termination of the control or a resetPERSISTENT In contrast to Retain Variables, these Variables retain their value even after a cold start, i.e. when the control is terminated normally and has been restarted, or after a download. Persistent Variables are not automatically Retain Variables
您可能关注的文档
最近下载
- 推进教育、科技、人才一体化发行动计划.docx
- 24J306国家建筑标准设计图集.docx
- 沟通的力量:护理人文案例集锦.pptx VIP
- 2023-2024学年安徽省宣城市七年级(上)期末语文试卷(含详细答案解析).docx VIP
- 护理人文关怀实践案例与反思.docx VIP
- 《大学物理》2024-2025学年第一学期期末试卷及答案.docx VIP
- 橡胶和塑料制品加工系统粉尘防爆安全规范.docx VIP
- AQ_4232-2013 塑料生产系统粉尘防爆规范.pdf VIP
- 2024年江苏中职职教高考文化统考语文试卷真题(含答案详解).docx VIP
- GB50469-2016 橡胶工厂环境保护设计规范.pdf VIP
原创力文档

文档评论(0)