date:2016-3-19 file: ssp1_a1c.1 simatic s7 siemens ag 2000. all rights reserved. information and...

29
Date: 22/6/29 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training Center Knowledge for Automation 案案案案 案案

Upload: roy-day

Post on 20-Jan-2018

213 views

Category:

Documents


0 download

DESCRIPTION

Date: File: SSP1_A1C.3 SIMATIC S7 Siemens AG All rights reserved. Information and Training Center Knowledge for Automation 练习 4.3: 插入一个 S7 程序

TRANSCRIPT

Page 1: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.1

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

案例分析、指导

Page 2: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.2

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 4.2: 生成一个项目

Page 3: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.3

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 4.3: 插入一个 S7 程序

Page 4: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.4

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 4.4: 插入一个 S7 块

Page 5: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.5

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 4.5: CPU 存储器复位

Page 6: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.6

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 5.1: 上载并修改实际组态

Page 7: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.7

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 5.2: 时钟存储器参数分配和测试

Page 8: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.8

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.1: 选择助记符

Page 9: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.9

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.2: 打开并编辑 FC 1

Page 10: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.10

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.3: 改变编程语言

Page 11: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.11

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.4: 保存 FC 1

Page 12: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.12

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.5: 下装块到 PLC 中

Page 13: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.13

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.6: 在 OB1 中调用 FC 1

Page 14: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.14

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.7: 测试 FC1( 用 LAD)

Page 15: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.15

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 7.8: 在 FC1 中扩展程序

Page 16: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.16

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 8.1: 常开和常闭触点任务 : 在所有三个例子中当 S1 动作且 S2 不动作时指示灯亮 !

I 1.0 I 1.1 Q 4.0 I 1.0 I 1.1 Q 4.0

A I 1.0AN I 1.1= Q 4.0

Q 4.0

I 1.0

I 1.1

&

Q 4.0

I 1.0

I 1.1

&

Q 4.0

I 1.0

I 1.1

&

A I1.0A I1.1= Q 4.0

AN I 1.0A I 1.1= Q 4.0

Software

I1.0

S1

I1.1

S2

I1.0

S1

I1.1

S2

I1.0

S1

I1.1

S2

Q 4.0Programmable controller

LightLight Light

Q 4.0Programmable controller

Q 4.0Programmable controller

FDB

STL

LAD

Hardware

I 1.0 I 1.1 Q 4.0

I 1.0 I 1.1 I 1.0 I 1.1 I 1.0 I 1.1

Page 17: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.17

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise8.3: Program for a Bottling Plant (Mode Section)

Page 18: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.18

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 9.1: 测试定时器

T4S_PEXT

STVR

BIBCD

Q

I 0.7S5T#5s

I 0.5 Q 4.0

I 0.7

I 0.5

Q4.0

T4S_PULSE

STVR

BIBCD

Q

I 0.7S5T#5s

I 0.5 Q 4.0

I 0.7

I 0.5

Q4.05s

T4S_ODT

STVR

BIBCD

Q

I 0.7S5T#5s

I 0.5 Q 4.0

I 0.7

I 0.5

Q4.0

T4S_ODTS

STVR

BIBCD

Q

I 0.7S5T#5s

I 0.5 Q 4.0

I 0.7

I 0.5

Q4.0

I 0.7

I 0.5

Q4.0

T4S_OFFDT

STVR

BIBCD

Q

I 0.7S5T#5s

I 0.5 Q 4.0

Page 19: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.19

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise 9.6: Program for a Bottling Plant (Filling Cycle and Bottle Count)

Page 20: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.20

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise 9.8: Program for a Bottling Plant (Production Data)

Page 21: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.21

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 9.9: 瓶子灌装生产线程序(包装单元的数量)

Page 22: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.22

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 10.1: 为 FC15 建立符号表

Page 23: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.23

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 11.1: 监视和修改变量

Page 24: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.24

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 11.2: 在停机状态下监视和修改变量

Page 25: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.25

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 11.3: 设置监视和修改变量工具的触发点

(Q 4.6)

在 S7 程序“ My Program” 的 OB1 中增加一段程序

Page 26: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.26

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 11.4: 强制

Page 27: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.27

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 11.5: 同时显示程序状态和监视变量

Page 28: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.28

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 12.2: 瓶子灌装生产线程序 - 数据存储 (1)

Page 29: Date:2016-3-19 File: SSP1_A1C.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training…

Date: 23/5/14File: SSP1_A1C.29

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Exercise12.2: Program for a Bottling Plant (Data Storage(2))