date:19.02.2016 file:pro1_05c.1 simatic s7 siemens ag 1999. all rights reserved. information and...
DESCRIPTION
Date: File:PRO1_05C.3 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation 启动 LAD/STL/FBD 编辑器 2x2xTRANSCRIPT
Date: 04.05.23File: PRO1_05C.1
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
块的编辑
Date: 04.05.23File: PRO1_05C.2
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
STEP7 编程语言
A I0.0A I0.1= Q8.0
STL
&Q8.0
=
I0.0
I0.1
FBD
I0.0 I0.1 Q8.0
LAD
Date: 04.05.23File: PRO1_05C.3
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
启动 LAD/STL/FBD 编辑器
2x
Date: 04.05.23File: PRO1_05C.4
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
LAD/STL/FBD 编辑器的组成
Browser
声明表
代码区
Date: 04.05.23File: PRO1_05C.5
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
选择编程语言
Date: 04.05.23File: PRO1_05C.6
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
用 LAD/FBD 编程
Date: 04.05.23File: PRO1_05C.7
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
用 STL 编程
Date: 04.05.23File: PRO1_05C.8
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
块的保存带有块名称的当前项目路径
Date: 04.05.23File: PRO1_05C.9
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
在 OB1 中调用块
Date: 04.05.23File: PRO1_05C.10
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
下载块到 PLC
Date: 04.05.23File: PRO1_05C.11
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
简单程序调试
Date: 04.05.23File: PRO1_05C.12
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
下载和保存修改的块
打开离线
打开在线
保存
下载
(Q8.0)
Date: 04.05.23File: PRO1_05C.13
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
助记符 德语 英语 ( 国际 )
… 选择编辑语言 LAD/STL/FBD
在打开程序块或程序前 ...
练习:选择助记符
Date: 04.05.23File: PRO1_05C.14
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
练习 : 打开并编辑 FC 1
Date: 04.05.23File: PRO1_05C.15
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
在打开一个块后 ...
选择需要使用的编程语言
练习:变换编程语言
• 梯形图 (LAD)• 语句表 (STL)• 功能块图 (FBD)
Date: 04.05.23File: PRO1_05C.16
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
选择菜单选项 File -> Save不修改名称保存块或文件 ..
… 或点击
练习:保存 FC 1
利用 File -> Save As 以不同的名字保存块或存放在不同的地方
Date: 04.05.23File: PRO1_05C.17
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
练习:下载块到 PLC
或点击下载图标
把一个块传到 CPU...
Date: 04.05.23File: PRO1_05C.18
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
练习:在 OB 1 中调用 FC 1
Date: 04.05.23File: PRO1_05C.19
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
练习:测试 FC 1 ( 用 LAD)
信号状态 检查结果输入I 0.0
I 0.1
I 0.0
I 0.1
I 0.0
I 0.1
I 0.0
I 0.1
0
0
1
1
1
0
0
1
0
1
1
0
1
1
0
0
I 0.0 I 0.1 Q 4.0
I 0.0 I 0.1 Q 4.0
I 0.0 I 0.1 Q 4.0
I 0.0 I 0.1 Q 4.0
Date: 04.05.23File: PRO1_05C.20
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
练习:在 FC 1 块中扩展程序
Date: 04.05.23File: PRO1_05C.21
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ Editor” 标签
Date: 04.05.23File: PRO1_05C.22
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ STL” 标签
Date: 04.05.23File: PRO1_05C.23
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ LAD/FBD” 标签
Date: 04.05.23File: PRO1_05C.24
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ Create Block” 标签
Date: 04.05.23File: PRO1_05C.25
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ Source Files” 标签
Date: 04.05.23File: PRO1_05C.26
SIMATIC S7Siemens AG 1999. All rights reserved.
Information and Training CenterKnowledge for Automation
编辑器用户设置:“ Symbol Selection” 标签