Date,2009-7-30
File,SSP1_05C.1
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
硬件组态和存储器概念
Date,2009-7-30
File,SSP1_05C.2
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
S7-300 的存储器概念注释符号块,
逻辑块
(OB,FC,FB)
数据块
(DB)
PG中的 Flash
EPROM 存储器卡
(随后插入 CPU)
块,
逻辑块
(OB,FC,FB)
数据块
(DB)
附加信息系统存储器,
PII,PIQ
M,T,C
保持的
M,T,C
保持的数据块保持存储器,
当系统断电时,不用电池做后备
n,reten,reten.
当系统有电时,不用电池做后备
RAM
块:
逻辑块
(OB,FC,FB)
数据块
(DB)
附加信息装载存储器:
Flash-
EPROM
工作存储器,
OB,FC,FB
DB
n,reten,reten.
Date,2009-7-30
File,SSP1_05C.3
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
S7-400的存储器概念注释符号块,
逻辑块
(OB,FC,FB)
数据块
(DB)
PG中的 Flash
EPROM 存储器卡
(随后插入 CPU)
块,
逻辑块
(OB,FC,FB)
数据块
(DB)
附加信息,
RAM
块,
逻辑块
(OB,FC,FB)
数据块
(DB)
附加信息装载存储器,
Flash-
EPROM
系统存储器,
PII,PIQ
M,T,C
工作存储器,
OB,FC,FB
DB
通过电池后备
Date,2009-7-30
File,SSP1_05C.4
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
Flash EPROM存储器卡中块的读出和写入内部装载存储器
RAM
“装入”
装载
Flash EPROM“装入 EPROM”
工作存储器
RAM
插入存储器卡后,
申请存储器复位并拷贝到工作存储器可执行的部分
“装到 PG”
Date,2009-7-30
File,SSP1_05C.5
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
硬件组态和参数分配实际组态 已存在硬件的实际组态和参数分配。
参数分配 建立可分配参数模块的特性,例如:启动特性、
保持区等。
设定组态 设定好的硬件组态和参数分配。
组态 在硬件组态的站窗口中分配机架、块可分布式
I/O,可以从硬件目录中选择部件。
Date,2009-7-30
File,SSP1_05C.6
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
插入一个站
Date,2009-7-30
File,SSP1_05C.7
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
启动硬件组态
Date,2009-7-30
File,SSP1_05C.8
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
产生硬件设定组态
Date,2009-7-30
File,SSP1_05C.9
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
模块地址概况
“地址概况”
Date,2009-7-30
File,SSP1_05C.10
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性
2x
Date,2009-7-30
File,SSP1_05C.11
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:概述
Date,2009-7-30
File,SSP1_05C.12
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:启动
Date,2009-7-30
File,SSP1_05C.13
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:保持仅当 如果 CPU 没有后备电池时有效
Date,2009-7-30
File,SSP1_05C.14
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:循环 /时钟存储器时钟存储器位 7 6 5 4 3 2 1 0
频率 (Hz) 0.5 0.62 1 1.25 2 2.5 5 10
周期 (s) 2 1.6 1 0.8 0.5 0.4 0.2 0.1
Date,2009-7-30
File,SSP1_05C.15
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:保护
Date,2009-7-30
File,SSP1_05C.16
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
CPU 属性:诊断 /时钟
Date,2009-7-30
File,SSP1_05C.17
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
保存硬件设定组态与下载到模块下载
(只有 CPU在
STOP 模式 )
Date,2009-7-30
File,SSP1_05C.18
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
上载硬件实际组态到编程器
Date,2009-7-30
File,SSP1_05C.19
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
SIMATIC 管理器中显示硬件诊断
2x
Date,2009-7-30
File,SSP1_05C.20
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
组态的可能问题组态不能编译在 S7-300中,组态中有空位置情况 结果 / 补救因为参数分配错误,CPU 进入 Stop 模式模拟量模块分配到不正确的槽位置由于不正确的参数分配,模拟量模块组态错误模拟量模块不正确的测量范围重新装载组态存储器复位后,分配不相同的参数建立硬件站或“上载站”不能打开硬件组态离线打开站模块参数不能修改组态不能下载不正确的 CPU (例如:是 CPU 315-2DP 不是 CPU 314)
Date,2009-7-30
File,SSP1_05C.21
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
可变寻址
2x
Date,2009-7-30
File,SSP1_05C.22
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
访问符号表一次右击
Date,2009-7-30
File,SSP1_05C.23
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 5.1,上载并修改实际组态启动 SIMATIC 管理器步 做什麽 结果
1 工具启动
2 打开项目,My Project” 显示项目结构
3 用 PLC -> Upload上载实际的组态 建立一个新站
4
检查是否插入正确的模块(定货号)
5 给模块输入正确的定货号 CPU的参数块显示出来
6
用,My Station”保存组态,再下载组态
7 如果有 S7-400 培训单元,配置地址 地址和 S7-300 B版培训单元相同
Date,2009-7-30
File,SSP1_05C.24
SIMATIC S7
Siemens AG 2000,All rights reserved.
Information and Training Center
Know ledge for Automation
练习 5.2,时钟存储器参数分配和测试在 CPU中,为时钟存储器分配 MB 10
步 做什麽 结果
1
3 编写 OB1程序 L MB 10,T QB 5测试它的功能模拟器上的 QB5 应闪烁保存并下载组态到 CPU2 MB 10 闪烁