附录 4: 顺序控制

22
Date: 22/5/7 File: SeqContrl.1 SIMATIC S7 Siemens AG 2000. All rights reserved. Information and Training Center Knowledge for Automation 附附 4: 附附附附 S1 S2 T1 T2 S4 T3 S6 T4 T5 S5

description

S1. S6. S2. S5. S4. 附录 4: 顺序控制. T1. T4. T5. T2. T3. S0. S1. S2. S3. S4. S5. S6. 初始位置 传送带向前 钻 传送带向前 铣 传送带向前 终检. 顺序控制任务. 预备. 钻. 铣. 终检. 自动方式. 单步方式. 键控 方式. 顺控器. 顺控器使能. 初态状态. 故障信号 和 运行信号. 手动控制. 顺序控制的结构. 启动. 停止. 应答. 方式选择. 转换条件. - PowerPoint PPT Presentation

Transcript of 附录 4: 顺序控制

Page 1: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.1

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

附录 4:顺序控制

S1

S2

T1

T2

S4

T3

S6

T4

T5

S5

Page 2: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.2

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺序控制任务

初始位置 传送带向前 钻 传送带向前 铣 传送带向前 终检

S0 S1 S2 S3 S4 S5 S6

预备 钻 铣 终检

Page 3: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.3

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺序控制的结构

启动 停止 自动方式 单步方式 键控方式

方式选择

应答

故障信号和

运行信号

顺控器使能

初态状态

转换条件

命令输出

手动控制

互锁条件

步序标志

驱动执行机构

顺控器

Page 4: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.4

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺控器的原理

-SMx -SM0

-Sequencer ON

-SM1

&

顺控器启动

&

顺控器停止

S

R

R

-SM0

-SM1

-SMx

置 / 复位步序标志 最后一步的标志

-SM0 S

R

-SM1

-SM0

- Transition from S0 to S1

& -SMx

R -SMx

&

-Final inspection

SM.. = Step Marker S.. = Step

R

-Sequencer ON

Page 5: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.5

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

命令输出的原理

>=1

&

&

&

-Output=

-SFx

-Automatic

-Manual

-Jog FORWARD

Safety

interlocks

Page 6: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.6

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺控器的表达和结构 (1)

生产线的控制系统流程图 ( 符合 IEC 848)

Sequencer ON

Step 1

1 NS

NSD

Q 5.5 Conveyor motor

Monitoring time 5 s

I 1.7 START

R

Step 2

2 NS

NSD

Drilling

Waiting time 4 s

I 8.6 Initiator 2

R

Step 0

0

Q 8.1 Initial position

R

>=1Sequencer ON

I8.4 Acknowledge final inspection

Page 7: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.7

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺控器的表达和结构 (2)

Step 4

4 NS

NSD

Milling

Waiting time 4 s

I 8.7 Initiator 3

R

Step 5

5 NS

NSD

Q 5.5 Conv.FORWARD

Monitoring time 5 s

T 109 Waiting time over

R

Step 6

6 NS Enable final inspection

I 8.0 Light barrier obstructed

R

Step 3

3 NS

NSD

Q 5.5 Conv.FORWARD

Monitoring time 5 s

T 108 Waiting time over

R

NSD Reset step6

Page 8: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.8

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺序控制“加工流水线”的设计

OB 1

:JU FC 104

FC 104 选择方式

系统启动手动方式自动方式 ( 启动顺控器 ):::BE

FC 106 顺序控制

检查初始状态

:JU FC 108 命令输出步序指示

:BE

FC 108 顺控器

步序标志步序转换 等待时间监视时间

:BE

:JU FC 106

:BE

Page 9: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.9

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

FC108 中顺控器的结构

S0

S1

S2

S3

S4

S5

S6

T0

T1

T2

T3

T4

T5S = Step

T = TransitionT6

Page 10: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.10

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 1: 编写顺序控制程序

FC108 顺控器 Step 0

&

SEQUENCER OFF

&

S

R

R

Step 1

&

S

R

Step 2

&

S

R

Page 11: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.11

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

练习 2: 程序测试

M 106.1

M 106.3

M 106.5

>=1T 106

S5T#5S

I 1.6

TV BI

BCD

R Q #M 107.0

M 100.0

&

= Q 4.0

S_ODTS

Page 12: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.12

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

S1

用 S7- GRAPH 编程顺序控制系统

S7-GRAPH: 顺序控制的编程工具 兼容 IEC 1131-3 为生产需要而设计 用图形将过程分解成步骤和转换条件 步骤中包含要执行的动作 转换器用于检查转换为下一步的条件

S7-GRAPH 可以优化下列工作: 计划,配置 编程 调试 维护 诊断

S2

T1

T2

S4

T3

S6

T4

T5

S5

Page 13: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.13

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

顺序控制小结

顺序控制的主要组成部分 运行方式部分

顺控器

命令输出

实现顺序控制的两种方法 将顺控器作为标志顺控器编程

用顺序控制软件包 S7-GRAPH

Page 14: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.14

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 15: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.15

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 16: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.16

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 17: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.17

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 18: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.18

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 19: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.19

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 20: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.20

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 21: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.21

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation

Page 22: 附录 4: 顺序控制

Date: 23/4/20File: SeqContrl.22

SIMATIC S7Siemens AG 2000. All rights reserved.

Information and Training CenterKnowledge for Automation