3 s7培训教材24 通过mpi的通讯_第1页
3 s7培训教材24 通过mpi的通讯_第2页
3 s7培训教材24 通过mpi的通讯_第3页
3 s7培训教材24 通过mpi的通讯_第4页
3 s7培训教材24 通过mpi的通讯_第5页
已阅读5页,还剩16页未读 继续免费阅读

下载本文档

版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领

文档简介

1、SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.1通过MPI的通讯PG 720SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.2SIMATIC的网络PG 720OPsP

2、Cs, OSPGsMPI network Industrial EthernetPROFIBUSPoint-to-Point单元层-SINUMERIK, RCMSIMATIC S5S7-400M7-400S7-300-TI 505-Other PLCPROFIBUS-DPDP/AS-I link 现场层ET 200B/LAS-I层AS-IAS-I power supplysubmodulesField device with AS-I ASICSensors and ActuatorsET 200CASI (Actuator Sensor Interface)SIMATIC S7Siemens

3、 AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.3S7 的通讯S7 通讯同源通讯非同源通讯S7 协议非西门子的协议(MPI)如 FDL, FMS 和 MAPSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C

4、.4作为系统功能的通讯PG 功能(如装载, 监视/修改变量)WinCC 功能PG 连接总是可行的通讯所占用的循环时间可以限制(CPU 参数)S7 通讯的方法通过MPI的循环或驱动通过MPI, Profibus 或通过MPI或K总线的驱动Industrial Ethernet的驱动SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.5SFBSFBSFCSFC扩展通讯(配置的通讯 )基本通

5、讯( 非配置的连接 )CPU的操作系统CPU的操作系统全局数据SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.6通过MPI组成的网络S7-300 或 S7- 400S7-300 或 S7- 400CPU 1CPU 22通过MPI连接PG通过MPI的PLC连接0通过MPI连接OP1PG 720n缺省的 MPI 地址MPI连接器的选择终端电阻开关SIMATIC S7Siemens AG

6、 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.7接CPU的MPI接口连接PG/HMI接CPU的MPI接口总线连接器终端电阻带有Profibus-DP 接口的CPU需要终端电阻N= Profibus-DP节点NNN带有Profibus-DP 接口的CPU需要终端电阻需要终端电阻N=Profibus-DP节点NNSIMATIC S7Siemens AG 2000. All rights reserved.Informati

7、on and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.8NNNNSIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.9全局数据综述CPU 1CPU 2CPU 3MW 10MW 20MW 30全局数据SIMATIC S7Siemens AG 2000. All rights reserved

8、.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.10全局数据组全局数据组S=发送; R=接收; GD x.y=全局数据包y 位于全局数据组 x中CPU5CPU4CPU3CPU2CPU11S GD 1.1R GD 1.1R GD 1.2S GD 1.22R GD 2.1S GD 2.1R GD 2.1R GD 2.1R GD 2.13S GD 3.1R GD 3.2R GD 3.1S GD 3.24R GD 4.1S GD 4.1R GD 4.15S GD 5.1R GD

9、5.1R GD 5.16R GD 6.1S GD 6.1R GD 6.1全局数据:配置步骤SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.11q 在项目中生成硬件站 使用“SIMATIC 管理器q 为每个CPU指定MPI地址并下装组态 使用“硬件组态” 工具q 配置全局数据表 使用“定义全局数据表” 工具SIMATIC S7Siemens AG 2000. All rights r

10、eserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.12全局数据: 配置硬件Accessible NodesCPU所连的网络设定 MPI 地址生成站SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.13编辑全局数据表重复系数定义全局数据选择CPU打开全

11、局数据表SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.14编译全局数据表定义扫描率和状态信息编译全局数据表SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.15下装全局

12、通讯的配置数据下装全局通讯的配置数据SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.16全局数据通讯的状态信息发送方长度错误发送方的DB不存在全局数据包丢失在全局数据包里语法错误在全局数据包中对象缺少接收方和发送方的全局数据长度不一致接收方长度错误接收方的DB不存在接收方已收到新的数据发送方执行了一次重启动MD 120MB 120MB 121MB 122MB 12376545432

13、107654321076543210SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.17练习12.1: 通讯的准备培训设备1培训设备2站 2SIEMENS节点号:.CPU-MPI 地址:.PG 740站 1SIEMENS节点号:.CPU-MPI 地址:.PG 740SIMATIC S7Siemens AG 2000. All rights reserved.Information

14、and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.18练习12.2: 配置全局数据通讯0815471108154711PLC2 站PLC1 站SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge for AutomationDate: File:2018/9/30SSP2_12C.19练习12.3: 在几个站中监视变量SIMATIC S7Siemens AG 2000. All rights reserved.Information and Training Center Knowledge

温馨提示

  • 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
  • 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
  • 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
  • 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
  • 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
  • 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
  • 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。

评论

0/150

提交评论