- 1、本文档共34页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 5、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 6、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 7、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 8、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Concept V2.6 Lesson 6 Objectives: After completing this lesson, the learner will be able to: Describe the difference between Located and Unlocated Variables. State the rules for Variable naming Use the Variable Editor to create and or delete Variables. Lesson Overview Concept Software uses the idea of named Variables and Constants in it’s programming structure in order to contain global data that needs to be passed between objects. The use of these named Variables eliminates the need to physically join objects together through the use of links. This lesson will explain Variables and Data Types, the naming of Variables, hardware addressing and the difference between using or not using hardware addresses with Variable names. Concept V2.6 Each Variable has to be declared with the Variable Editor before using it: Either independently with ? Project ? Variable declaration… [F8] Or during programming with a double-click on an input / output assignment. A data type must be assigned to each Variable. CONCEPT software provides elementary and derived data types Concept V2.6 Common Data Types and Ranges BOOL Must be a ON ( 1 ) or OFF ( 0 ) WORD Represents a “bit string 16”, meaning the length of data is 16 bits. INT Represents an integer value. The range of values are -32768 through 32767 UINT Represents an unsigned integer value. The range of values are 0 through 65535 REAL Represents a floating point value. The range of values are 8.43e-37 through 3.36e+38 Concept V2.6 Entering Literal Values Literal values are used to assign values to pins, or to assign constants to variables, and are not meant to be changed by the program. You can enter literal values as base 2 (binary) 2#1111111111111111 base 8 (octal) 8#177777 base 10 (decimal) 65535 (no 10# needed) base 16 ( hex) 16#FFFF All of the above values are equal, they were just entered differently Concept V2.6 Variable names: Max. length 32 characters, may start with number Unlocated: T
您可能关注的文档
- 电工技师申请表.doc
- 电工技术电子技术-清华-3第2章 正弦交流电路.ppt
- 电工技术电子技术-清华-6三相交流电路.ppt
- 电工学(电工技术、电子技术)复习题与答案.doc
- 电工学-第15章 基本放大电路1.ppt
- 电工学选择题.doc
- 电工与电子技术4、正弦交流电路.ppt
- 电工与电子技术7、交流电动机.ppt
- 电工与电子技术(徐秀平、项华珍)课后习题2.doc
- 电工与电子技术(徐秀平、项华珍)课后习题5.doc
- 《概率论》第1章 概率论的基本概念-教学课件(非AI生成).ppt
- 《概率论》第4章 随机变量的数字特征-教学课件(非AI生成) (2).ppt
- 2023年忠县公务员考试行测真题及答案详解(历年真题).docx
- 2023年呼伦贝尔市公务员考试行测真题附答案详解(名师推荐).docx
- 2023年塔城地区公务员考试行测真题及答案详解1套.docx
- 2023年宜昌市公务员考试行测真题附答案详解(黄金题型).docx
- 2023年奉节县公务员考试行测真题附答案详解(黄金题型).docx
- 2023年广州市公务员考试行测真题附答案详解.docx
- 2023年大庆市公务员考试行测真题及一套完整答案详解.docx
- 2023年益阳市公务员考试行测真题完整答案详解.docx
文档评论(0)