Материал: m912201e

Внимание! Если размещение файла нарушает Ваши авторские права, то обязательно сообщите нам

Programming Tool IEC 61131-3

WAGO-I/O-I/O-PRO 32

Manual Part 1

Technical description

Chapter 1 - 14

759-122/000-002 Version 2.0.0

ii General

Copyright 2003 by WAGO Kontakttechnik GmbH

All rights reserved.

WAGO Kontakttechnik GmbH

Hansastraße 27

D-32423 Minden

Phone:

+49 (0)

571/8 87 – 0

Fax:

+49 (0)

571/8 87 – 1 69

E-Mail:

info@wago.com

 

Web:

http://www.wago.com

Technical Support

 

Phone:

+49 (0)

571/8 87

– 5 55

Fax:

+49 (0)

571/8 87

– 85 55

E-Mail:

support@wago.com

Every conceivable measure has been taken to ensure the correctness and completeness of this documentation. However, as errors can never be fully excluded we would appreciate any information or ideas at any time.

E-Mail: documentation@wago.com

We wish to point out that the software and hardware terms as well as the trademarks of companies used and/or mentioned in the present manual are generally trademark or patent protected.

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

Table of Contents iii

TABLE OF CONTENTS

1

Important Comments ................................................................................

1

1.1

Legal Principles ...........................................................................................

1

1.1.1

Copyright ..........................................................................................

1

1.1.2

Personnel Qualification ....................................................................

1

1.1.3

Intended Use .....................................................................................

1

1.2

Symbols........................................................................................................

2

1.3

Font Conventions.........................................................................................

3

1.4

Number Notation .........................................................................................

3

1.5

Scope............................................................................................................

4

1.6

Abbreviations...............................................................................................

4

1.7

Scope of Delivery ........................................................................................

5

1.8

System Configuration ..................................................................................

5

1.9

Installation....................................................................................................

6

1.10

Uninstall.................................................................................................

7

1.11

Start........................................................................................................

8

1.12

Important Informations ..........................................................................

9

2 WAGO-I/O-PRO 32 V2.2 Overview ......................................................

10

2.1 What is WAGO-I/O-PRO 32.....................................................................

10

2.2 Overview of WAGO-I/O-PRO 32 Functions ............................................

10

2.2.1

How is a project structured? ...........................................................

10

2.2.2

How do I set up my project?...........................................................

10

2.2.3

How can I test my project? .............................................................

10

2.2.4

Debugging.......................................................................................

11

2.2.5

Additional Online Functions...........................................................

11

2.2.6

Additional WAGO-I/O-PRO 32 Features ......................................

11

2.2.7

Summary.........................................................................................

11

2.3 Project Components...................................................................................

11

2.3.1

Project.............................................................................................

11

2.3.2

POU (Program Organization Unit).................................................

12

2.3.3

Function ..........................................................................................

12

2.3.4

Function Block................................................................................

14

2.3.5

Function Block Instances................................................................

14

2.3.6

Calling a function block..................................................................

16

2.3.7

Program...........................................................................................

17

2.3.8

PLC_PRG .......................................................................................

19

2.3.9

Action .............................................................................................

19

2.3.10

Resources........................................................................................

21

2.3.11

Libraries..........................................................................................

21

2.3.12

Data types .......................................................................................

21

2.3.13

Visualization...................................................................................

21

2.4 Languages ..................................................................................................

21

2.4.1

Instruction List (IL) ........................................................................

21

2.4.2

Structured Text (ST).......................................................................

24

2.4.3

Sequential Function Chart (SFC)....................................................

32

2.4.4

Function Block Diagram (FBD) .....................................................

39

2.4.5

The Continuous Function Chart Editor (CFC) ...............................

39

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

iv Table of Contents

 

 

2.4.6

Ladder Diagram (LD) .....................................................................

40

2.5 Debugging, Online Functions ....................................................................

42

2.5.1

Sampling Trace...............................................................................

42

2.5.2

Debugging.......................................................................................

42

2.5.3

Breakpoint.......................................................................................

42

2.5.4

Single step.......................................................................................

42

2.5.5

Single Cycle....................................................................................

43

2.5.6

Change values online......................................................................

43

2.5.7

Monitoring ......................................................................................

43

2.5.8

Simulation.......................................................................................

44

2.5.9

Log..................................................................................................

45

2.6 The Standard ..............................................................................................

45

3 Programming Example ...........................................................................

46

3.1 Controlling a Traffic Signal Unit...............................................................

46

3.1.1

Create POU.....................................................................................

46

3.1.2

What does TRAFFICSIGNAL do? ................................................

46

3.1.3

What does WAIT do? .....................................................................

46

3.1.4

What does SEQUENCE do?...........................................................

46

3.1.5

What does PLC_PRG do? ..............................................................

47

3.1.6

"TRAFFICSIGNAL" declaration ...................................................

47

3.1.7

"TRAFFICSIGNAL" body.............................................................

47

3.1.8

Connecting the standard.lib ............................................................

49

3.1.9

"WAIT" declaration........................................................................

50

3.1.10

"WAIT" body..................................................................................

50

3.1.11

"SEQUENCE" first expansion level...............................................

51

3.1.12

Create a SFC diagram.....................................................................

52

3.1.13

Actions and transition conditions ...................................................

53

3.1.14

"SEQUENCE" second expansion level ..........................................

55

3.1.15

The result ........................................................................................

57

3.1.16

PLC_PRG .......................................................................................

57

3.1.17

TRAFFICSIGNAL simulation .......................................................

59

3.2 Visualizing a Traffic Signal Unit...............................................................

59

3.2.1

Creating a new visualization...........................................................

59

3.2.2

Insert element in Visualization .......................................................

60

3.2.3

The other traffic lights ....................................................................

61

3.2.4

The TRAFFICSIGNAL case ..........................................................

61

3.2.5

The second traffic signal.................................................................

62

3.2.6

The ON switch................................................................................

62

3.2.7

Font in the visualization..................................................................

63

4 Components of WAGO-I/O-PRO 32......................................................

64

4.1 The Main Window .....................................................................................

64

4.1.1

Menu bar.........................................................................................

64

4.1.2

Tool bar...........................................................................................

65

4.1.3

Object Organizer.............................................................................

65

4.1.4

Screen divider .................................................................................

66

4.1.5

Work space .....................................................................................

66

4.1.6

Message window ............................................................................

66

4.1.7

Status bar ........................................................................................

66

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32

 

Table of Contents

v

4.1.8

Context Menu .................................................................................

67

4.2 Options.......................................................................................................

67

4.2.1

'Project' 'Options' ............................................................................

68

4.2.2

Options for Load & Save................................................................

68

4.2.3

Options for User information..........................................................

69

4.2.4

Options for Editor...........................................................................

70

4.2.5

Options for the Desktop..................................................................

73

4.2.6

Options for Colors ..........................................................................

74

4.2.7

Options for Directories ...................................................................

75

4.2.8

Options for Log...............................................................................

76

4.2.9

Options for Build ............................................................................

77

4.2.10

Passwords .......................................................................................

79

4.2.11

'Sourcedownload'............................................................................

80

4.2.12

Options for 'Symbol Configuration'................................................

81

4.2.13

Options for 'Macros'........................................................................

83

4.3 Managing Projects .....................................................................................

84

4.3.1

'File' 'New'.......................................................................................

84

4.3.2

'File' 'Open'......................................................................................

84

4.3.3

'File' 'Close' .....................................................................................

85

4.3.4

'File' 'Save' ......................................................................................

85

4.3.5

'File' 'Save as' ..................................................................................

86

4.3.6

'File' 'Save/Mail Archive'................................................................

87

4.3.7

'File' 'Print' ......................................................................................

90

4.3.8

'File' 'Printer setup'..........................................................................

91

4.3.9

'File' 'Exit'........................................................................................

93

4.3.10

'Project' 'Build' ................................................................................

93

4.3.11

'Project' 'Rebuild all' .......................................................................

94

4.3.12

'Project' 'Clean all'...........................................................................

94

4.3.13

'Project' 'Load Download-Information'...........................................

94

4.3.14

'Project' 'Translate into another language'.......................................

94

4.3.15

'Project' 'Document' ......................................................................

100

4.3.16

'Project' 'Export' ............................................................................

101

4.3.17

'Project' 'Import' ............................................................................

101

4.3.18

'Project' 'Merge'.............................................................................

102

4.3.19

'Project' 'Compare' ........................................................................

102

4.3.20

'Project' 'Project info' ....................................................................

107

4.3.21

'Project' 'Global Search' ................................................................

109

4.3.22

'Project' 'Global replace'................................................................

110

4.3.23

'Project' 'Check'.............................................................................

110

4.3.24

'Project' 'Passwords for user groups'.............................................

112

4.4 Managing Objects in a Project.................................................................

113

4.4.1

Object............................................................................................

113

4.4.2

Folder............................................................................................

113

4.4.3

'New Folder'..................................................................................

114

4.4.4

'Expand nodes' 'Collapse nodes'....................................................

114

4.4.5

'Project' 'Object Delete'.................................................................

115

4.4.6

'Project' 'Object Add'.....................................................................

115

4.4.7

'Project' 'Object Rename' ..............................................................

116

4.4.8

'Project' 'Object Convert'...............................................................

116

4.4.9

'Project' 'Object Copy'...................................................................

117

WAGO-I/O-SYSTEM 759 WAGO-I/O-PRO 32