II_IEC61131.pdf

(159 KB) Pobierz
Automation– and Drive Technology- SCE
Training document for the company-wide
automation solution
Totally Integrated Automation (T I A)
Appendix II
IEC 61131
T I A Training document Page 1 of 26 Appendix II
Last revision: 02/2002 IEC 61131
819147056.022.png 819147056.023.png 819147056.024.png 819147056.025.png 819147056.001.png
 
Automation– and Drive Technology- SCE
This document was provided by Siemens A&D SCE (automation and drive technology, Siemens A&D Cooperates
with Education) for training purposes. Siemens does not make any type of guarantee regarding its contents.
The passing on or duplication of this document, including the use and report of its contents, is only permitted
within public and training facilities.
Exceptions require written permission by Siemens A&D SCE (Mr. Knust: E-Mail:
michael.knust@hvr.siemens.de). Offences are subject to possible payment for damages caused. All rights are
reserved for translation and any case of patenting or GM entry.
We thank the company Michael Dziallas Engineering and the instructors of vocational schools as well as further
persons for the support with the production of the document..
T I A Training document Page 2 of 26 Appendix II
Last revision: 02/2002 IEC 61131
819147056.002.png 819147056.003.png 819147056.004.png 819147056.005.png
 
Automation– and Drive Technology- SCE
PAGE:
1.
Forward ........................................................................................................
4
2.
Notes for Norm IEC 61131 ..............................................................................
5
3.
Introduction to the Norm DIN 661131 .............................................................
6
3.1.
DIN EN 661131 Section 1, General Information ..................................................
6
3.2.
DIN EN 661131 Section 2, Equipment requirements ...........................................
6
3.3.
DIN EN 661131 Section 3, Program languages (IEC 61131-3)..............................
6
3.4.
DIN EN 661131 Section 4, User guidelines ........................................................
6
3.5.
DIN EN 661131 Section 5, Communication (by IEC in processing).......................
7
4.
DIN EN 661131 Section 3, Program Languages .............................................
7
4.1.
The IEC 61131-3- Software model .....................................................................
7
4.2.
Programs .......................................................................................................
8
4.3.
Variables ........................................................................................................
9
4.4.
Statement list (STL) ........................................................................................
12
4.5.
Ladder diagram (LAD)......................................................................................
15
4.6.
Function block diagram (FBD) ..........................................................................
16
4.7.
Sequential function chart (SFC) ........................................................................
16
4.8.
Structured text (ST) .........................................................................................
21
4.9.
Documentation................................................................................................
26
T I A Training document Page 3 of 26 Appendix II
Last revision: 02/2002 IEC 61131
819147056.006.png 819147056.007.png 819147056.008.png 819147056.009.png
 
Automation– and Drive Technology- SCE
1.
FORWARD
Appendix II represents a theoretical foundation for the processing of all modules.
Basics of
STEP 7- Programming
2 - 3 days A modules
Additional functions of
STEP 7- Programming
2- 3 days B modules
Industrial
field bus systems
2- 3 days D modules
Sequencer
programming
2- 3 days C modules
Process
visualization
2- 3 days F modules
IT- Communication
with SIMATIC S7
1- 2 days E modules
Learning goal:
The reader obtains information for the international Norm IEC 61131 with this appendix.
Requirements:
Since the theoretical foundation is presented here, no special requirements are necessary.
Vorwort IEC 61131
T I A Training document Page 4 of 26 Appendix II
Last revision: 02/2002 IEC61131
819147056.010.png 819147056.011.png 819147056.012.png 819147056.013.png 819147056.014.png 819147056.015.png 819147056.016.png 819147056.017.png
 
Automation– and Drive Technology- SCE
2.
NOTES FOR NORM IEC 61131
The Norm EN 661131-3 specifies the syntax and semantics of a unique array of program languages for
programmable logic control (PLC).
In this module, the reader should receive an overview in conventions of the Norm. A complete report
about the Norm is not contained here, bur rather only a general description of the most important
elements of the languages.
Statement list (STL)
Function block diagram (FBD)
Ladder diagram (LAD)
Sequential function chart (SFC)
Strukturierter Text (ST)
The document is based on excerpts and interpretations from the norm DIN EN 661131: 1993. An exact
description of the several definitions of the program languages can be gathered from the Norm
documents.
Notes for the Norm compliance
The program languages LAD and FBD comply to the specified languages “Ladder diagram“ and
“Function block diagram“ in the Norm DIN EN 661131-3 (int. IEC 61131-3). You find the exact
propositions in the Norm compliance table “NORM.TAB“. The data is found in the folder “Siemens“
under the directory “STEP 7“.
STL complies to the specified language “Statement list“ in the Norm DIN EN 661131-3 (int. IEC 61131-
3), whereas essential differences exist in terms of operations.
You find the exact propositions in the Norm compliance table “NORM.TAB“. The data is found in the
folder “Siemens“ under the directory “STEP 7“.
The sequencer program S7-GRAPH complies to the specified language “Sequential function chart“ in
the Norm DIN EN 661131-3 (int. IEC 61131-3).
Forward IEC 61131
T I A Training document Page 5 of 26 Appendix II
Last revision: 02/2002 IEC61131
819147056.018.png 819147056.019.png 819147056.020.png 819147056.021.png
 
Zgłoś jeśli naruszono regulamin