西门子PLC中文编程手册
声明:您必须遵守我们的协议,如果您下载了该资源行为将被视为对《电天下账号管理规范》全部内容的认可,本网站资源来自原创,仅供用于学习和交流,请勿用于商业用途。如有侵权、不妥之处,请举报本资源,我们将及时审核处理!
西门子PLC中文编程手册
文本预览
Standard print
manual template
Siemens Energy & Automation, Inc.Contents I
Table of Contents
Foreword 1
Part I 入门指南 4
1 目录 ................................................................................................................................... 4
2 第1章 有关STE...P.. .7..-.M...i.c..r..o../.W...I.N...和....S..7..-.2..0..0.. .C...P...U..的....基....本...信....息.... ............................................................. 6
1.1 步骤7-Micro./.W...I.N... .W...i.n..d...o..w...元...件.... ........................................................................................................................... 6
1.2 快捷键 .......................................................................................................................................................... 7
1.3 如何使用联机..帮....助.... ................................................................................................................................................ 11
1.4 如何定制STE.P.. .7..-..M...i.c..r.o../.W....I.N..的....外...观.... ...................................................................................................................... 12
1.5 安装S7-200设...备....指...南.... ............................................................................................................................................ 12
1.6 安装和移除S.7..-.2..0..0..模....块... ......................................................................................................................................... 13
1.7 接地和布线指..南.... .................................................................................................................................................... 15
3 第2章 编程概.念.... .............................................................................................................................. 17
2.1 如何控制程序..作....业.... ................................................................................................................................................ 17
2.2 编址概述 .......................................................................................................................................................... 18
2.3 如何组织程序.. ........................................................................................................................................................ 19
2.4 项目元件及其..工....作....原...理.... ......................................................................................................................................... 20
2.5 编辑器比较:L..A..D...、....F..B..D...、....S..T..L... . ............................................................................................................................ 20
2.6 编程模式比较..:....S..I.M...A...T..I.C...、...I.E...C.. . ........................................................................................................................... 23
2.7 如何使用向导..帮....助....您...编....程... ...................................................................................................................................... 24
4 第3章 如何输.入....阶....梯...逻....辑....程...序.... ........................................................................................................ 24
3.1 如何建立项目.. ........................................................................................................................................................ 24
3.2 阶梯逻辑元素..及....其....工...作....原...理.... .................................................................................................................................. 24
3.3 在LAD中建立..简....单....、...串....行...和....并....行...网....络....的...规....则.... ........................................................................................................ 25
3.4 如何在LAD中..输....入....指...令.... ......................................................................................................................................... 26
3.5 如何在LAD中..输....入....地...址.... ......................................................................................................................................... 29
3.6 如何在LAD中..输....入....程...序....注...解.... .................................................................................................................................. 32
3.7 如何在LAD程..序....中....编...辑....元...素.... .................................................................................................................................. 35
3.8 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 38
3.9 程序编辑器如..何....在....L..A..D...中...显....示....输...入....错....误... ................................................................................................................ 40
3.10 如何在LAD.中...编....译.... .............................................................................................................................................. 40
3.11 如何保存作.业... ...................................................................................................................................................... 41
5 第4章 如何输.入....功....能...块....图....程...序.... ........................................................................................................ 41
4.1 如何建立项目.. ........................................................................................................................................................ 41
4.2 功能块图元素..及....其....工...作....原...理.... .................................................................................................................................. 42
4.3 在FBD中建立..网....络....的...规....则.... ..................................................................................................................................... 44
4.4 如何在FBD中..输....入....指...令.... ......................................................................................................................................... 44
4.5 如何在FBD中..输....入....地...址.... ......................................................................................................................................... 47
4.6 如何在FBD中..输....入....程...序....注....释... .................................................................................................................................. 51
4.7 如何在FBD中..编....辑....程...序....元....素... .................................................................................................................................. 54
4.8 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 58
4.9 程序编辑器如..何....在....F..B..D...中....显...示....输....入...错....误... ................................................................................................................ 60
4.10 如何在FBD.中...编....译.... .............................................................................................................................................. 60
4.11 如何保存作.业... ...................................................................................................................................................... 60
6 第5章 如何输.入....语....句...列....表....程...序.... ........................................................................................................ 61
5.1 如何建立项目.. ........................................................................................................................................................ 61
5.2 如何在STL中..输...入....语....句... .......................................................................................................................................... 61
Siemens Energy & Automation, Inc.II STEP 7 - Micro/WIN 帮助窗口
5.3 如何在STL中..输...入....程....序...注....解.... .................................................................................................................................. 62
5.4 语句列表程序..举....例.... ................................................................................................................................................ 66
5.5 如何编辑STL..程...序.... ................................................................................................................................................. 67
5.6 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 69
5.7 程序编辑器如..何....在....S..T..L..中....显....示...输....入....错...误.... ................................................................................................................ 70
5.8 如何在STL中..编...译.... ................................................................................................................................................. 71
5.9 如何保存作业.. ........................................................................................................................................................ 71
7 第6章 如何建.立....通....讯...和....下....载...程....序.... .................................................................................................... 72
6.1 通讯概述 .......................................................................................................................................................... 72
6.2 如何测试通讯..网....络.... ................................................................................................................................................ 72
6.3 如何下载程序.. ........................................................................................................................................................ 73
6.4 如何纠正编译..错....误....和...下....载...错....误.... .............................................................................................................................. 73
8 第7章 如何监.控....和....调...试....程....序... ............................................................................................................ 74
7.1 调试和监控特..征....概....述... ............................................................................................................................................. 74
7.2 如何在程序编..辑....器....中...显....示...状....态.... .............................................................................................................................. 83
7.3 如何在状态图..中....显....示...状....态... ...................................................................................................................................... 92
7.4 如何执行有.限...数....目....的...扫....描... .................................................................................................................................... 100
9 第8章 如何管...理....项....目... ..................................................................................................................... 101
8.1 如何打印 .......................................................................................................................................................... 101
8.2 如何移动、.复...制....、....重...新....命...名....和....邮...寄....项....目... .............................................................................................................. 102
8.3 如何从PLC上....载.... .................................................................................................................................................. 102
8.4 如何复制程.序...段.... .................................................................................................................................................. 103
8.5 较早版本的.S..T..E...P.. .7..-.M...i.c..r..o../.W...I.N...、... .M...i.c..r..o../.D...O..S...项...目.... ............................................................................................ 104
Part II 应用程序用户参考手册 108
1 窗口元件 ................................................................................................................................... 108
2 主菜单 ................................................................................................................................... 0
3 工具条 ................................................................................................................................... 0
4 快捷键 ................................................................................................................................... 112
5 编程向导 ................................................................................................................................... 116
HSC指令向导 .......................................................................................................................................................... 116
NETR/NETW指令....向....导... ............................................................................................................................................... 118
PID指令向导 .......................................................................................................................................................... 120
PID调谐控制板 .......................................................................................................................................................... 122
TD 200 文字显示...功...能.... ................................................................................................................................................ 128
TD 200向导 (TD. .2..0..0.. .v..2....1..版....或....之...前....版....本...). ................................................................................................................... 128
TD 200向导 (TD. .2..0..0.. .v..3....0..版....或....T..D.. .2..0..0..C... .v..1....0..版....). ....................................................................................................... 134
EM241调制解调.器....模....块...性....能.... ...................................................................................................................................... 144
EM241调制解调.器....向....导...概....述.... ...................................................................................................................................... 148
EM253位置模块.性....能.... ................................................................................................................................................. 148
EM253位置PTO./.P...W...M...向....导....概...述.... ................................................................................................................................ 149
EM253控制板 .......................................................................................................................................................... 151
CP243-1以太网模....块....性...能.... ........................................................................................................................................... 154
CP243-1以太网向....导....概...述.... ........................................................................................................................................... 155
CP243-1 IT互联.网....模...块....性....能... ....................................................................................................................................... 156
CP243-1 IT互联.网....向...导....概....述... ....................................................................................................................................... 157
CP243-2 AS-i模.块....性....能... .............................................................................................................................................. 162
CP243-2 AS-i向.导....概....述... .............................................................................................................................................. 162
菜谱向导 .......................................................................................................................................................... 163
数据日志向导 .......................................................................................................................................................... 167
manual template
Siemens Energy & Automation, Inc.Contents I
Table of Contents
Foreword 1
Part I 入门指南 4
1 目录 ................................................................................................................................... 4
2 第1章 有关STE...P.. .7..-.M...i.c..r..o../.W...I.N...和....S..7..-.2..0..0.. .C...P...U..的....基....本...信....息.... ............................................................. 6
1.1 步骤7-Micro./.W...I.N... .W...i.n..d...o..w...元...件.... ........................................................................................................................... 6
1.2 快捷键 .......................................................................................................................................................... 7
1.3 如何使用联机..帮....助.... ................................................................................................................................................ 11
1.4 如何定制STE.P.. .7..-..M...i.c..r.o../.W....I.N..的....外...观.... ...................................................................................................................... 12
1.5 安装S7-200设...备....指...南.... ............................................................................................................................................ 12
1.6 安装和移除S.7..-.2..0..0..模....块... ......................................................................................................................................... 13
1.7 接地和布线指..南.... .................................................................................................................................................... 15
3 第2章 编程概.念.... .............................................................................................................................. 17
2.1 如何控制程序..作....业.... ................................................................................................................................................ 17
2.2 编址概述 .......................................................................................................................................................... 18
2.3 如何组织程序.. ........................................................................................................................................................ 19
2.4 项目元件及其..工....作....原...理.... ......................................................................................................................................... 20
2.5 编辑器比较:L..A..D...、....F..B..D...、....S..T..L... . ............................................................................................................................ 20
2.6 编程模式比较..:....S..I.M...A...T..I.C...、...I.E...C.. . ........................................................................................................................... 23
2.7 如何使用向导..帮....助....您...编....程... ...................................................................................................................................... 24
4 第3章 如何输.入....阶....梯...逻....辑....程...序.... ........................................................................................................ 24
3.1 如何建立项目.. ........................................................................................................................................................ 24
3.2 阶梯逻辑元素..及....其....工...作....原...理.... .................................................................................................................................. 24
3.3 在LAD中建立..简....单....、...串....行...和....并....行...网....络....的...规....则.... ........................................................................................................ 25
3.4 如何在LAD中..输....入....指...令.... ......................................................................................................................................... 26
3.5 如何在LAD中..输....入....地...址.... ......................................................................................................................................... 29
3.6 如何在LAD中..输....入....程...序....注...解.... .................................................................................................................................. 32
3.7 如何在LAD程..序....中....编...辑....元...素.... .................................................................................................................................. 35
3.8 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 38
3.9 程序编辑器如..何....在....L..A..D...中...显....示....输...入....错....误... ................................................................................................................ 40
3.10 如何在LAD.中...编....译.... .............................................................................................................................................. 40
3.11 如何保存作.业... ...................................................................................................................................................... 41
5 第4章 如何输.入....功....能...块....图....程...序.... ........................................................................................................ 41
4.1 如何建立项目.. ........................................................................................................................................................ 41
4.2 功能块图元素..及....其....工...作....原...理.... .................................................................................................................................. 42
4.3 在FBD中建立..网....络....的...规....则.... ..................................................................................................................................... 44
4.4 如何在FBD中..输....入....指...令.... ......................................................................................................................................... 44
4.5 如何在FBD中..输....入....地...址.... ......................................................................................................................................... 47
4.6 如何在FBD中..输....入....程...序....注....释... .................................................................................................................................. 51
4.7 如何在FBD中..编....辑....程...序....元....素... .................................................................................................................................. 54
4.8 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 58
4.9 程序编辑器如..何....在....F..B..D...中....显...示....输....入...错....误... ................................................................................................................ 60
4.10 如何在FBD.中...编....译.... .............................................................................................................................................. 60
4.11 如何保存作.业... ...................................................................................................................................................... 60
6 第5章 如何输.入....语....句...列....表....程...序.... ........................................................................................................ 61
5.1 如何建立项目.. ........................................................................................................................................................ 61
5.2 如何在STL中..输...入....语....句... .......................................................................................................................................... 61
Siemens Energy & Automation, Inc.II STEP 7 - Micro/WIN 帮助窗口
5.3 如何在STL中..输...入....程....序...注....解.... .................................................................................................................................. 62
5.4 语句列表程序..举....例.... ................................................................................................................................................ 66
5.5 如何编辑STL..程...序.... ................................................................................................................................................. 67
5.6 如何使用查找..、....替....换...和....转...入....功....能... ........................................................................................................................... 69
5.7 程序编辑器如..何....在....S..T..L..中....显....示...输....入....错...误.... ................................................................................................................ 70
5.8 如何在STL中..编...译.... ................................................................................................................................................. 71
5.9 如何保存作业.. ........................................................................................................................................................ 71
7 第6章 如何建.立....通....讯...和....下....载...程....序.... .................................................................................................... 72
6.1 通讯概述 .......................................................................................................................................................... 72
6.2 如何测试通讯..网....络.... ................................................................................................................................................ 72
6.3 如何下载程序.. ........................................................................................................................................................ 73
6.4 如何纠正编译..错....误....和...下....载...错....误.... .............................................................................................................................. 73
8 第7章 如何监.控....和....调...试....程....序... ............................................................................................................ 74
7.1 调试和监控特..征....概....述... ............................................................................................................................................. 74
7.2 如何在程序编..辑....器....中...显....示...状....态.... .............................................................................................................................. 83
7.3 如何在状态图..中....显....示...状....态... ...................................................................................................................................... 92
7.4 如何执行有.限...数....目....的...扫....描... .................................................................................................................................... 100
9 第8章 如何管...理....项....目... ..................................................................................................................... 101
8.1 如何打印 .......................................................................................................................................................... 101
8.2 如何移动、.复...制....、....重...新....命...名....和....邮...寄....项....目... .............................................................................................................. 102
8.3 如何从PLC上....载.... .................................................................................................................................................. 102
8.4 如何复制程.序...段.... .................................................................................................................................................. 103
8.5 较早版本的.S..T..E...P.. .7..-.M...i.c..r..o../.W...I.N...、... .M...i.c..r..o../.D...O..S...项...目.... ............................................................................................ 104
Part II 应用程序用户参考手册 108
1 窗口元件 ................................................................................................................................... 108
2 主菜单 ................................................................................................................................... 0
3 工具条 ................................................................................................................................... 0
4 快捷键 ................................................................................................................................... 112
5 编程向导 ................................................................................................................................... 116
HSC指令向导 .......................................................................................................................................................... 116
NETR/NETW指令....向....导... ............................................................................................................................................... 118
PID指令向导 .......................................................................................................................................................... 120
PID调谐控制板 .......................................................................................................................................................... 122
TD 200 文字显示...功...能.... ................................................................................................................................................ 128
TD 200向导 (TD. .2..0..0.. .v..2....1..版....或....之...前....版....本...). ................................................................................................................... 128
TD 200向导 (TD. .2..0..0.. .v..3....0..版....或....T..D.. .2..0..0..C... .v..1....0..版....). ....................................................................................................... 134
EM241调制解调.器....模....块...性....能.... ...................................................................................................................................... 144
EM241调制解调.器....向....导...概....述.... ...................................................................................................................................... 148
EM253位置模块.性....能.... ................................................................................................................................................. 148
EM253位置PTO./.P...W...M...向....导....概...述.... ................................................................................................................................ 149
EM253控制板 .......................................................................................................................................................... 151
CP243-1以太网模....块....性...能.... ........................................................................................................................................... 154
CP243-1以太网向....导....概...述.... ........................................................................................................................................... 155
CP243-1 IT互联.网....模...块....性....能... ....................................................................................................................................... 156
CP243-1 IT互联.网....向...导....概....述... ....................................................................................................................................... 157
CP243-2 AS-i模.块....性....能... .............................................................................................................................................. 162
CP243-2 AS-i向.导....概....述... .............................................................................................................................................. 162
菜谱向导 .......................................................................................................................................................... 163
数据日志向导 .......................................................................................................................................................... 167