1 / 19

梯形图 LAD ,指令表 IL , 结构文本 ST ,顺序功能图 SFC , Automation Basic , ANSI C

梯形图 LAD ,指令表 IL , 结构文本 ST ,顺序功能图 SFC , Automation Basic , ANSI C. 3.5 Automation Studio编程基础. Automation Studio 提供下列编程语言. 3.5 Automation Studio编程基础. 梯形图 LAD. 梯形图与电路图很类似, 梯形图对于数字量的顺序控制是最简单、最清楚的编程方式。. 是一种低级语言 接近于机器代码. 3.5 Automation Studio编程基础. 指令表 IL ( Instruction List ).

Download Presentation

梯形图 LAD ,指令表 IL , 结构文本 ST ,顺序功能图 SFC , Automation Basic , ANSI C

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. 梯形图LAD,指令表IL, 结构文本ST,顺序功能图SFC, Automation Basic,ANSI C 3.5 Automation Studio编程基础 Automation Studio提供下列编程语言

  2. 3.5 Automation Studio编程基础 梯形图 LAD 梯形图与电路图很类似, 梯形图对于数字量的顺序控制是最简单、最清楚的编程方式。

  3. 是一种低级语言 接近于机器代码 3.5 Automation Studio编程基础 指令表IL(Instruction List)

  4. 3.5 Automation Studio编程基础 结构文本ST(Structured Text) 顺序功能图SFC(Sequential Function Chart) Automation Basic ANSI C

  5. 这几种编程语言的优点: 结构简单 编程快速、有效 适合编制复杂的控制程序 3.5 Automation Studio编程基础

  6. 3.5 Automation Studio编程基础

  7. 必须的分析 软件规范 软件设计 (或软件体系) 编码 (执行) 测试 编写文档 维护 3.5 Automation Studio编程基础 软件开发步骤 规范 分析 设计 编码 测试 编写文档 维护

  8. 3.5.1 基本概念 3.5 Automation Studio编程基础

  9. ☺ 数据类型 ☻ 变量声明表 ☺ 任务属性 ☻ 系统安装 3.5 Automation Studio编程基础

  10. 定义变量的数据类型时,应注意: ① PV的最大值 ② PV是否带符号 ③ PV将执行的操作 ④ PV是否与硬件有关联 3.5 Automation Studio编程基础 ☺ 数据类型

  11. 3.5 Automation Studio编程基础

  12. 变量声明定义了变量和硬件(输入、输出和内部变量)之间的关系。变量声明定义了变量和硬件(输入、输出和内部变量)之间的关系。 3.5 Automation Studio编程基础 ☻ 变量声明表

  13. ① Name:变量的名称。 ② Type:变量的数据类型。 ③ Scope:变量的有效范围。 ④ Attribute:定义变量为外部 I/O变 量, 常量或内部变量。 ⑤ Value:变量的初始化值。 ⑥ Owner:与库函数的关系。 ⑦ Remark:变量注释。 3.5 Automation Studio编程基础

  14. 3.5 Automation Studio编程基础 ☻ 变量初始化与赋值

  15. 3.5 Automation Studio编程基础 变量声明 – 2 种可能: 变量有个固定的值 变量定义成 remanent 任务初始化: 变量可以在初始化子程序中赋值. 所有的初始化子程序在任务循环运行前执行 循环任务部分: 这一部分在变量声明和初始化后执行. 变量知道重新赋值前保持原有的值

  16. 3.5 Automation Studio编程基础 ☻ 安装Automation Studio ☻ Windows 下 使用Automation Studios ☻ 创建带有硬件的新项目

  17. 3.5 Automation Studio编程基础 Demo 演示1 ☻ 安装Automation Studio sdv_01_1_install_msnet.dbd

  18. 3.5 Automation Studio编程基础 Demo 演示2 ☻ Windows 下使用Automation Studios SDV_02~1.DBD

  19. 3.5 Automation Studio编程基础 Demo 演示3 ☻ 创建带有硬件的新项目 SDV_03~1.DBD

More Related