AC800M_ST语言编程(工程师培训).pdf

  1. 1、本文档共20页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
System 800xA Training Chapter 13 Structured Text TABLE OF CONTENTS Chapter 13 Structured Text 1 13.1 General Information 2 13.1.1 Objectives2 13.1.2 Legend 2 13.1.3 Reference Documentation 2 13.2 Structured Text 3 13.2.1 Advantages of Using Structured Text3 13.2.2 Structured Text Editor 4 13.3 Basic Language Elements5 13.3.1 Assignment Statements5 13.3.2 Comment Statements5 13.3.3 Operators 6 13.3.4 Precedence7 13.3.5 Conditional Structures 8 13.3.6 Iteration Structures 9 13.3.7 RETURN Statement 10 13.4 Functions and Function Blocks 11 13.4.1 Functions 11 13.4.2 Function Blocks 11 13.4.3 Declaring Function Block Instances 12 13.4.4 Calling a Function Block Instance 12 13.5 Common Mistakes and their Error Messages 15 13.5.1 Identifier, Constant or Opening Parenthesis Expected 15 13.5.2 Variable Name is not Unique 15 13.5.3 Identifier Too Long or Invalid16 13.5.4 Undefined Function Block16 13.5.5 Type Mismatch in Assignment17 13.5.6 Incompatible Types in Expression 17 13.5.7 Declaring Variables from Error Messages 18 13.6 Changing from ST to Function Block in Online mode19 Chapter 13 - 1 13.1 General Information 13.1.1 Objectives On completion of this chapter you will be able to: • Describe the Structured Text language rules • Write simple application code in ST • Use functions an

文档评论(0)

trity_522 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档