Date,2009-7-30
File,SSP1_07C.1
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
块的编辑
Date,2009-7-30
File,SSP1_07C.2
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
STEP7 编程语言
A I0.0
A I0.1
= Q8.0
STL
&
Q8.0
=
I0.0
I0.1
FBD
I0.0 I0.1 Q8.0
LAD
Date,2009-7-30
File,SSP1_07C.3
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
启动 LAD/STL/FBD 编辑器
2x
Date,2009-7-30
File,SSP1_07C.4
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
LAD/STL/FBD 编辑器的组成
Browser
声明表代码区
Date,2009-7-30
File,SSP1_07C.5
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
选择编程语言
Date,2009-7-30
File,SSP1_07C.6
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
用 LAD/FBD 编程
Date,2009-7-30
File,SSP1_07C.7
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
用 STL 编程
Date,2009-7-30
File,SSP1_07C.8
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
块的保存带有块名称的当前项目路径
Date,2009-7-30
File,SSP1_07C.9
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
在 OB1中调用块
Date,2009-7-30
File,SSP1_07C.10
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
下载块到 PLC
Date,2009-7-30
File,SSP1_07C.11
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
简单程序的调试
Date,2009-7-30
File,SSP1_07C.12
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
下载和保存修改的块打开离线打开在线保存下载
(Q8.0)
Date,2009-7-30
File,SSP1_07C.13
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
助记符 德语英语 (国际 )
… 选择编辑语言
LAD/STL/FBD
在打开程序块或程序前,.,
练习 7.1:选择助记符
Date,2009-7-30
File,SSP1_07C.14
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.2,打开并编辑 FC 1
Date,2009-7-30
File,SSP1_07C.15
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
在打开一个块后,.,
选择需要使用的编程语言练习 7.3,变换 编程语言
梯形图 (LAD)
语句表 (STL)
功能块图 (FBD)
Date,2009-7-30
File,SSP1_07C.16
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
选择菜单选项 File -> Save
不修改名称保存块或文件,,
… 或点击练习 7.4:保存 FC 1
利用 File -> Save As
以不同的名字保存块或存放在不同的地方
Date,2009-7-30
File,SSP1_07C.17
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.5:下载块到 PLC
或点击下载图标把一个块传到 CPU..,
Date,2009-7-30
File,SSP1_07C.18
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.6:在 OB 1中调用 FC 1
Date,2009-7-30
File,SSP1_07C.19
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.7:测试 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,2009-7-30
File,SSP1_07C.20
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.8:在 FC 1块中扩展程序
Date,2009-7-30
File,SSP1_07C.21
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,Editor”标签
Date,2009-7-30
File,SSP1_07C.22
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,STL”标签
Date,2009-7-30
File,SSP1_07C.23
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,LAD/FBD”标签
Date,2009-7-30
File,SSP1_07C.24
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,Create Block”标签
Date,2009-7-30
File,SSP1_07C.25
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置,,Source Files”标签
Date,2009-7-30
File,SSP1_07C.26
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置,,Symbol Selection”标签
File,SSP1_07C.1
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
块的编辑
Date,2009-7-30
File,SSP1_07C.2
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
STEP7 编程语言
A I0.0
A I0.1
= Q8.0
STL
&
Q8.0
=
I0.0
I0.1
FBD
I0.0 I0.1 Q8.0
LAD
Date,2009-7-30
File,SSP1_07C.3
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
启动 LAD/STL/FBD 编辑器
2x
Date,2009-7-30
File,SSP1_07C.4
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
LAD/STL/FBD 编辑器的组成
Browser
声明表代码区
Date,2009-7-30
File,SSP1_07C.5
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
选择编程语言
Date,2009-7-30
File,SSP1_07C.6
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
用 LAD/FBD 编程
Date,2009-7-30
File,SSP1_07C.7
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
用 STL 编程
Date,2009-7-30
File,SSP1_07C.8
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
块的保存带有块名称的当前项目路径
Date,2009-7-30
File,SSP1_07C.9
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
在 OB1中调用块
Date,2009-7-30
File,SSP1_07C.10
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
下载块到 PLC
Date,2009-7-30
File,SSP1_07C.11
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
简单程序的调试
Date,2009-7-30
File,SSP1_07C.12
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
下载和保存修改的块打开离线打开在线保存下载
(Q8.0)
Date,2009-7-30
File,SSP1_07C.13
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
助记符 德语英语 (国际 )
… 选择编辑语言
LAD/STL/FBD
在打开程序块或程序前,.,
练习 7.1:选择助记符
Date,2009-7-30
File,SSP1_07C.14
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.2,打开并编辑 FC 1
Date,2009-7-30
File,SSP1_07C.15
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
在打开一个块后,.,
选择需要使用的编程语言练习 7.3,变换 编程语言
梯形图 (LAD)
语句表 (STL)
功能块图 (FBD)
Date,2009-7-30
File,SSP1_07C.16
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
选择菜单选项 File -> Save
不修改名称保存块或文件,,
… 或点击练习 7.4:保存 FC 1
利用 File -> Save As
以不同的名字保存块或存放在不同的地方
Date,2009-7-30
File,SSP1_07C.17
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.5:下载块到 PLC
或点击下载图标把一个块传到 CPU..,
Date,2009-7-30
File,SSP1_07C.18
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.6:在 OB 1中调用 FC 1
Date,2009-7-30
File,SSP1_07C.19
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.7:测试 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,2009-7-30
File,SSP1_07C.20
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 7.8:在 FC 1块中扩展程序
Date,2009-7-30
File,SSP1_07C.21
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,Editor”标签
Date,2009-7-30
File,SSP1_07C.22
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,STL”标签
Date,2009-7-30
File,SSP1_07C.23
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,LAD/FBD”标签
Date,2009-7-30
File,SSP1_07C.24
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置:,Create Block”标签
Date,2009-7-30
File,SSP1_07C.25
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置,,Source Files”标签
Date,2009-7-30
File,SSP1_07C.26
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
编辑器用户设置,,Symbol Selection”标签