全集成自动化概要课件
合集下载
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Information and Training Center Knowledge for Automation
利用S7-SFC配置顺序控制系统
S7-SFC: 顺序控制的编程工具
为过程自动化的需要而设计 兼容IEC 1131-3 步序在CFC的块中分配数值 转换器检测条件以切换到下一步 生成过程中的语法检查
优点
及早发现并排除错误 在没有硬件时也能测试程序
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.11
Information and Training Center Knowledge for Automation
配置
概述
工具
PID 控制器
无
用于S7/C7/M7的STEP 7软件
标准工具 工程工具 实时控制软件
ST EP 7 Micro
LAD / STL S7-200 Support
S7-200
SIMATIC S7
Siemens AG 2000. All rights reserved.
Neuro Systems Fuzzy Control PID Control
2023/10/21 SSP2_A3C.7
Information and Training Center Knowledge for Automation
SIMATIC S7和 SIMATIC M7的CFC语言
CFC (Continuous Function Chart): 用图形生成PLC程序的工具
高中性能系列
SIMATIC S7/C7/M7 和 WinAC 控制器
模块化
模块化
SIMATIC S7 - 400
较低性能系列
模块化
SIMATIC M7 - 400
模块化
一体化
SIMATIC WinAC Pro
SIMATIC S7 - 300 SIMATIC M7 - 300 SIMATIC C7 - 620 SIMATIC WinAC Basic
ST EP 7 Min i
LAD / STL
Manager
S7-300 Support
TeleService DOCPRO CFC S7-SCL S7-Graph S7-HiGraph S7-PLCSIM S7-PDIAG
STL LAD
S7-300 Support
S7-300
S7-300 C7
FBD
Date: File:
2023/10/12 SSP2_A3C.1
Information and Training Center Knowledge for Automation
利用SIMATIC S7实现自动化
WIN CC
SIMATIC HMI
OP...OS
SIMATIC NET
PCS 7
SIMATIC Controller
olim : REAL; // Output value upper limit
ulim : REAL; // Output value lower limit
END_VAR
VAR_OUTPUT y : REAL:= 0.0;
END_VAR
// Initialize output value with 0
IF y > olim THEN y := olim; END_IF; IF y < ulim THEN y := ulim; END_IF; END_IF;
END_FUNCTION_BLOCK
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
减少停机时间
Message
I1.0
I1.1
Q1.0
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.10
Information and Training Center Knowledge for Automation
利用S7- PLCSIM测试用户程序
S7-PLCSIM: 离线测试PLC程序的仿真软件
程序功能的测试 ▪ 在一个仿真的CPU上 ▪ 可以强制/修改 I/O
在下列方式下测试用户块 ▪ LAD, FBD, STL, S7-SCL, ▪ S7-GRAPH, S7-HiGraph, CFC ▪ S7-PDIAG, WinCC
S1
T1
S2
S5
T2 S4
T3
T4 S6
T5
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.5
Information and Training Center Knowledge for Automation
BEGIN IF TIME_TO_DINT(Ti) = 0 THEN // Division by ? OK := FALSE; y := 0.0;
RETURN; END_IF; IF Init THEN
y:= 0.0; ELSE
y := y+TIME_TO_DINT(Ta)*x/TIME_TO_DINT(Ti);
用高级语言S7- SCL编程
S7-SCL: 生成PLC程序的高级语言
兼容IEC 1131-3结构文本 符合PLC公开的基本标准 包括所有典型的高级语言元件,例
如操作数、术语和控制语句 集成了PLC的特性,例如 I/O访问、
定时器、计数器...
优点:
良好的结构,使得程序容易理解 适合于熟悉高级语言的用户 适合于复杂的计算
S7/M7-300
S7/M7-400
WinAC
PROFIBUS-DP
ASI
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/12 SSP2_A3C.2
Information and Training Center Knowledge for Automation
利用TeleService进行远程维护和诊断
TeleService: 可与SIMATIC S7/C7 或 M7建立在线连接
通过电话/无线电网络来扩展MPI
STEP 7 的功能 标准的调制解调器和TS适配器
从一个中心地点进行故障检测、排除 和试车
优点:
降低维护费用 提高系统升级的速度
12 4
左转 工件
电机
电机
指示
指示
右转
计数齿轮 锁住/释放
计数齿轮
协调
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.6
Information and Training Center Knowledge for Automation
FUNCTION_BLOCK Integrator
VAR_INPUT
Init : BOOL; // Reset output value
x
: REAL; // Input value
Ta
: TIME; // Sampling interval in ms
Ti
: TIME; // Integration time in ms
块放在功能图上 并且互相连接
互相连接的种类: - I/O区域之间 - 连接到其它图的块上
源和目标在边缘处被处理
优点
为专家提供的 程序生成器 快速生成、测试和试车
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.8
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.13
Information and Training Center Knowledge for Automation
用于闭环控制任务的实时控制软件
微型 PLC
模块化
SIMATIC S7 - 200
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/12 SSP2_A3C.3
Information and Training Center Knowledge for Automation
利用S7- PDIAG实现过程诊断
过程诊断: 检测PLC以外的故障
传感器/执行器失效,运动故障 ...
S7- PDIAG: 在STL, LAD, FBD中 定义故障的配置工具
集成在开发环境中 简洁地表达故障信息 自动进行故障检测和判据分析 给操作员提供深入的信息:
▪ 故障类型 ▪ 故障位置 ▪ 故障原因
CPU I/O ...
CPU
MPI 总线
TS 适配器
系统 modem
有STEP7和TeleService 的控制室
PG/PC modem
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.12
Information and Training Center Knowledge for Automation
直接连接到CFC
用鼠标的“拖拉”来接收数值 选择交叉参考
可在WinCC中显示
SIMATIC S7
Siemens AG 2000. All rights reserved.
Date: File:
2023/10/21 SSP2_A3C.9
Information and Training Center Knowledge for Automation
附录3: 全集成自动化
SIMATIC PCS 7
SIMATIC Software
SIMATIC NET
SIMATIC PC
SIMATIC
SIMATIC HMI
SIMATIC WinCC
SIMATIC DP
SIMATIC Controller
SIMATIC S7
Siemens AG 2000. All rights reserved.
Manager
S7-400 Support
S7-400 C7
Date: File:
2023/10/21 SSP2_A3C.4
Borland C/C++ M7-ProC/C++
STEP 7
M7-SYS
M7-300 M7-400
Information and Training Center Knowledge for Automation
S7-200
SIMATIC DP
FM SV
ET200
SIMATIC PG SIMATIC PC
SIMATIC SOFTWARE
Standard Tools
Engineering Tools
Runtime Software
MPI Network Industrial Ethernet PROFIBUS
采用S7- HiGraph的状态图编程方法
S7-HiGraph: 状态图编程工具
将机器分成若干功能单元 为每个功能单元生成状态图 状态中包含要执行的动作 状态图利用信息来通讯
采用S7-HiGraph 可优化下列工作:
计划,配置 编程和调试 试车 维护和诊断 支持重复使用性
指示位置的凸轮开关
用S7- GRAPH 编程顺序控制系统
S7-GRAPH: 顺序控制的编程工具
兼容IEC 1131-3 为生产需要而设计 用图形将过程分解成步骤和转换条件 步骤中包含要执行的动作 转换器用于检查转换为下一步的条件
S7-GRAPH可以优化下列工作:
计划,配置 编程 调试 维护 诊断
利用DOCPRO 生成设备文件
DOCPRO: 为设备生成接线手册
标准化的版面模板,可根据需要修改 生成参考号码和索引 一次打印所有文件
优点:
可方便地建立文档
Layout template ..................... ............................ ......................... ................................. ........................ ........... Reference number Project