Introduction to IEC 61131-3 programming
Contents
1
lDDS-IEC61131 EN 2.0
1 Preface and general information 2...........................................
1.1 For further information on IEC 61131-3 programming 2......................................
2 The software model 3.....................................................
2.1 Resources within a configuration 3.....................................................
2.1.1 Tasks 3..................................................................
2.2 Program Organization Units, POUs 4.....................................................
2.2.1 Programs 4...............................................................
2.2.2 Function blocks 5...........................................................
2.2.3 Functions 6...............................................................
2.3 Control restart 7...................................................................
3 The communication model 8...............................................
3.1 Access paths 8....................................................................
3.2 Global variables 8..................................................................
3.3 Call parameters 8..................................................................
3.4 Communication organization units 8....................................................
4 General language elements 9...............................................
4.1 Identifiers 9......................................................................
4.2 Keywords 9......................................................................
4.3 Comments 9......................................................................
4.4 Literals 9........................................................................
4.5 Data types 10......................................................................
4.6 Variables 11.......................................................................
5 Programming languages 12.................................................
5.1 Instruction List (IL) 12................................................................
5.2 Structured Text (ST) 13...............................................................
5.3 Sequential Function Chart (SFC) 14......................................................
5.4 Function Block Diagram (FBD) 16.......................................................
5.5 Ladder Diagram (LD) 16..............................................................
6 Appendix 18.............................................................
6.1 IEC keywords 18....................................................................
6.2 Conventions for Lenze variable identifiers 20...............................................
6.2.1 System block designation 20...................................................
6.2.2 Indication of the variable type 21................................................
6.2.3 Indication of the data type 21...................................................
6.2.4 Identifier 22................................................................
6.2.5 Indication of the signal type 22..................................................
6.2.6 Examples of variable identifiers 22...............................................
6.3 Glossary 23.......................................................................