- 1、本文档共22页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
System 800xA Training
Chapter 9 Variables and Data Types
TABLE OF CONTENTS
Chapter 9 Variables and Data Types 1
9.1 General Information 2
9.1.1 Objectives 2
9.1.2 Legend 2
9.1.3 Reference Documentation 2
9.2 Variables 3
9.2.1 Declaration and Scope of Variables3
9.2.2 External Variables 6
9.2.3 Variable Scope 6
9.2.4 Variable Naming Rules 7
9.2.5 Variable Sorting and Filtering 7
9.3 Data Types 9
9.3.1 Simple Data Types9
9.3.2 Initial Values for a Variable 10
9.3.3 Variable Attributes 10
9.3.4 Further Information 11
9.4 Declaration of Variables 12
9.4.1 Declaring Variables in a Program 12
9.4.2 Declaring Variables in an Application 13
9.4.3 Declaring Variables in a Function Block Type 14
9.4.4 Declaring Variables in a Control Module Type 14
9.5 Structured Data Types 15
9.5.1 Overview 15
9.5.2 Data Types in Libraries and Applications 16
9.5.3 Defining a User Data Type 17
9.5.4 Reference to Components in a Structured Variable 18
9.6 Allocating Variables to I/O Channels 19
9.6.1 System defined I/O Data Types 19
9.6.2 Allocation in the Hardware Editor 20
9.7 Project Constants 21
9.7.1 Purpose and Usage21
9.7.2 Defining Project Constants 21
9.7.3 Dot Notation used with Project Constants 22
Chapter 9 - 1
9.1 General Information
9.1.1 Objectives
On completion of this chapter you will be able to:
• Describe the sc
文档评论(0)