HELP.pdf

(1320 KB) Pobierz
SIMATIC LOGO!Soft Comfort V5.0
Contents
1
LOGO!Soft Comfort V5.0 1-1
1.1 Welcome to LOGO!Soft Comfort V5.0! ............................................................ .1-1
1.2 CD Contents..................................................................................................... .1-2
1.3 What's new in LOGO!Soft Comfort V5.0?........................................................ .1-3
1.4 Ladder Diagram (LAD) and Function Block Diagram (FBD)............................ .1-4
1.5 LOGO! and LOGO!Soft Comfort on the Internet.............................................. .1-5
1.6 Compatibility..................................................................................................... .1-6
1.7 LOGO! with AS Interface.................................................................................. .1-7
1.7.1 AS Interface ..................................................................................................... .1-7
1.7.2 AS interface inputs ........................................................................................... .1-9
1.7.3 AS interface outputs......................................................................................... .1-9
2
User interface 2-1
2.1 User interface - Overview................................................................................. .2-1
2.2 Description of the Info Window ........................................................................ .2-5
2.3 Description of the status bar ............................................................................ .2-6
2.4 Function keys and shortcuts ............................................................................ .2-7
2.5 Toolbars ........................................................................................................... .2-9
2.5.1 Simulation toolbox and status window ............................................................. .2-9
2.5.2 Standard toolbar............................................................................................. .2-11
2.5.2.1 Standard toolbar - Overview .......................................................................... .2-11
2.5.2.2 File -> New..................................................................................................... .2-12
2.5.2.3 File -> Open... ................................................................................................ .2-13
2.5.2.4 File -> Close................................................................................................... .2-14
2.5.2.5 File -> Save.................................................................................................... .2-14
2.5.2.6 File -> Print .................................................................................................... .2-15
2.5.2.7 Edit -> Cut ...................................................................................................... .2-16
2.5.2.8 Edit -> Copy ................................................................................................... .2-16
2.5.2.9 Edit -> Paste .................................................................................................. .2-16
2.5.2.10 Edit -> Delete ................................................................................................. .2-16
2.5.2.11 Edit -> Undo ................................................................................................... .2-17
2.5.2.12 Edit -> Redo ................................................................................................... .2-17
2.5.2.13 Format -> Align: Automatically ....................................................................... .2-18
2.5.2.14 Format -> Align: Vertical ................................................................................ .2-18
2.5.2.15 Format -> Align: Horizontal ............................................................................ .2-18
2.5.2.16 Tools -> Transfer: Switch LOGO! Mode......................................................... .2-19
2.5.2.17 Tools -> Transfer: PC -> LOGO! .................................................................... .2-19
2.5.2.18 Tools -> Transfer: LOGO! -> PC .................................................................... .2-20
2.5.2.19 View - > Select Lines ..................................................................................... .2-21
2.5.2.20 View -> Zoom in ............................................................................................. .2-21
2.5.2.21 View -> Zoom out ........................................................................................... .2-21
2.5.2.22 File -> Properties............................................................................................ .2-22
2.5.2.23 File -> Convert (LAD > FBD).......................................................................... .2-22
2.5.2.24 File -> Convert (FBD > LAD).......................................................................... .2-23
2.5.2.25 Help -> Context-sensitive help ....................................................................... .2-23
LOGO!Soft Comfort V5.0
A5E00266631-02 (b)
i
14956548.002.png
Contents
2.5.3 Programming toolbox ..................................................................................... .2-24
2.5.3.1 The programming toolbox - Overview ........................................................... .2-24
2.5.3.2 Catalog of circuit program elements .............................................................. .2-25
2.5.3.3 Selection tool ................................................................................................. .2-25
2.5.3.4 Text tool ......................................................................................................... .2-25
2.5.3.5 Cut/Join.......................................................................................................... .2-26
2.5.3.6 Connector tool ............................................................................................... .2-26
2.5.3.7 Constants and terminals - Overview.............................................................. .2-27
2.5.3.8 Basic functions (FBD Editor only) - Overview................................................ .2-28
2.5.3.9 Special functions - Overview ......................................................................... .2-29
2.5.3.10 Simulation toolbox and status window ........................................................... .2-32
2.5.3.11 Tools -> Online Test....................................................................................... .2-34
2.6 Menu bar ........................................................................................................ .2-36
2.6.1 Menu bars - Overview .................................................................................... .2-36
2.6.2 File menu........................................................................................................ .2-36
2.6.2.1 File menu - Overview..................................................................................... .2-36
2.6.2.2 File -> New..................................................................................................... .2-37
2.6.2.3 File -> Open... ................................................................................................ .2-37
2.6.2.4 File -> Close................................................................................................... .2-38
2.6.2.5 File -> Close all .............................................................................................. .2-38
2.6.2.6 File -> Save.................................................................................................... .2-39
2.6.2.7 File -> Save As... ........................................................................................... .2-39
2.6.2.8 File -> Page format ........................................................................................ .2-40
2.6.2.9 File -> Print preview ....................................................................................... .2-40
2.6.2.10 File -> Print ..................................................................................................... .2-41
2.6.2.11 File -> Properties............................................................................................ .2-42
2.6.2.12 File -> Properties: General............................................................................. .2-42
2.6.2.13 File -> Properties: Comment .......................................................................... .2-42
2.6.2.14 File -> Properties: Statistics ........................................................................... .2-42
2.6.2.15 File -> Properties: Page format ...................................................................... .2-43
2.6.2.16 File -> Properties: Parameter......................................................................... .2-43
2.6.2.17 File -> Compare circuit programs................................................................... .2-44
2.6.2.18 File -> Convert (LAD > FBD).......................................................................... .2-46
2.6.2.19 File -> Convert (FBD > LAD).......................................................................... .2-46
2.6.2.20 File -> Exit ...................................................................................................... .2-47
2.6.3 Edit menu ....................................................................................................... .2-48
2.6.3.1 Edit menu - Overview .................................................................................... .2-48
2.6.3.2 Edit -> Undo................................................................................................... .2-49
2.6.3.3 Edit -> Redo................................................................................................... .2-49
2.6.3.4 Edit -> Delete ................................................................................................. .2-49
2.6.3.5 Edit -> Cut ...................................................................................................... .2-49
2.6.3.6 Edit -> Copy ................................................................................................... .2-49
2.6.3.7 Edit -> Paste .................................................................................................. .2-50
2.6.3.8 Edit -> Select all............................................................................................. .2-50
2.6.3.9 Edit -> Go to block ......................................................................................... .2-50
2.6.3.10 Edit -> Bring to front ....................................................................................... .2-50
2.6.3.11 Edit -> Send to back....................................................................................... .2-50
2.6.3.12 Edit -> Input/Output Names ........................................................................... .2-51
2.6.3.13 Edit -> Block properties... ............................................................................... .2-51
2.6.3.14 Edit -> Block properties (all blocks)................................................................ .2-52
2.6.3.15 Edit -> Cut connections... ............................................................................... .2-53
2.6.4 Format menu .................................................................................................. .2-54
2.6.4.1 Format menu - Overview ............................................................................... .2-54
2.6.4.2 Format -> Font ............................................................................................... .2-54
2.6.4.3 Format -> Align .............................................................................................. .2-54
2.6.4.4 Format -> Format grid.................................................................................... .2-55
2.6.4.5 Format -> Snap to grid................................................................................... .2-55
LOGO!Soft Comfort V5.0
ii
A5E00266631-02 (b)
14956548.003.png
Contents
2.6.5 View menu...................................................................................................... .2-56
2.6.5.1 View menu - Overview................................................................................... .2-56
2.6.5.2 View -> Zoom................................................................................................. .2-56
2.6.5.3 View -> Zoom in............................................................................................. .2-56
2.6.5.4 View -> Zoom out........................................................................................... .2-57
2.6.5.5 View -> Toolbars............................................................................................ .2-57
2.6.5.6 View - > Select Lines ..................................................................................... .2-57
2.6.5.7 View -> Info Window ...................................................................................... .2-57
2.6.5.8 View -> Status bar ......................................................................................... .2-57
2.6.5.9 View -> Tooltips ............................................................................................. .2-58
2.6.6 Tools menu..................................................................................................... .2-59
2.6.6.1 Tools menu - Overview.................................................................................. .2-59
2.6.6.2 Tools -> Transfer ........................................................................................... .2-59
2.6.6.3 Tools -> Transfer: PC -> LOGO! ................................................................... .2-60
2.6.6.4 Tools -> Transfer: LOGO! -> PC ................................................................... .2-61
2.6.6.5 Tools -> Transfer: Switch LOGO! Mode ........................................................ .2-61
2.6.6.6 Tools -> Transfer: Set Clock.......................................................................... .2-62
2.6.6.7 Tools -> Transfer: Summer time/Winter time... ............................................. .2-62
2.6.6.8 Tools -> Transfer: Hours Counter.................................................................. .2-62
2.6.6.9 Tools -> Determine LOGO!............................................................................ .2-63
2.6.6.10 Tools -> Select Hardware... ........................................................................... .2-63
2.6.6.11 Tools -> Simulation ........................................................................................ .2-63
2.6.6.12 Input functions ................................................................................................ .2-64
2.6.6.13 Tools -> Online Test....................................................................................... .2-66
2.6.6.14 Tools -> Options: General.............................................................................. .2-67
2.6.6.15 Tools -> Options: Editor ................................................................................. .2-68
2.6.6.16 Tools -> Options: Language........................................................................... .2-68
2.6.6.17 Tools -> Options: Document view .................................................................. .2-68
2.6.6.18 Tools -> Options: Screen ............................................................................... .2-69
2.6.6.19 Tools -> Options: Print ................................................................................... .2-69
2.6.6.20 Tools -> Options: Cut Connections... ............................................................. .2-70
2.6.6.21 Tools -> Options: Interface............................................................................. .2-70
2.6.6.22 Tools -> Options: Simulation.......................................................................... .2-70
2.6.6.23 Tools -> Options: Colors ................................................................................ .2-70
2.6.6.24 Tools -> Options: Look & Feel ....................................................................... .2-71
2.6.7 Window menu ................................................................................................ .2-72
2.6.7.1 Window menu - Overview.............................................................................. .2-72
2.6.7.2 Window -> Arrange Vertical........................................................................... .2-72
2.6.7.3 Window -> Arrange Horizontal....................................................................... .2-72
2.6.7.4 Window -> Cascade....................................................................................... .2-72
2.6.7.5 Window -> Split Vertical................................................................................. .2-73
2.6.7.6 Window -> Split Horizontal ............................................................................ .2-73
2.6.7.7 Window -> Undo Split .................................................................................... .2-73
2.6.7.8 Window -> Selection list ................................................................................ .2-73
2.6.8 Help menu ...................................................................................................... .2-74
2.6.8.1 Help menu - Overview ................................................................................... .2-74
2.6.8.2 Help -> Content.............................................................................................. .2-74
2.6.8.3 Help -> Context-sensitive help....................................................................... .2-75
2.6.8.4 Help -> Update Center................................................................................... .2-75
2.6.8.5 Help -> About................................................................................................. .2-77
LOGO!Soft Comfort V5.0
A5E00266631-02 (b)
iii
14956548.004.png
Contents
3
Tutorial 3-1
3.1 Prerequisites for working with the tutorial ........................................................ .3-1
3.2 Getting started with program creation .............................................................. .3-1
3.2.1 Introducing the creation of circuit programs..................................................... .3-1
3.2.2 User interface - Overview................................................................................. .3-2
3.2.3 Creating a circuit program................................................................................ .3-5
3.2.3.1 Creating a new circuit program........................................................................ .3-5
3.2.3.2 Selecting blocks............................................................................................... .3-6
3.2.3.3 Placing blocks.................................................................................................. .3-7
3.2.3.4 Editing blocks................................................................................................... .3-8
3.2.3.5 Connecting blocks ........................................................................................... .3-9
3.2.3.6 Availability of blocks....................................................................................... .3-12
3.2.4 Editing the layout............................................................................................ .3-13
3.2.4.1 Editing and optimizing the layout ................................................................... .3-13
3.2.4.2 Selecting objects............................................................................................ .3-13
3.2.4.3 Editing selected objects ................................................................................. .3-14
3.2.4.4 Replacing blocks............................................................................................ .3-15
3.2.4.5 Cut connections ............................................................................................. .3-15
3.2.5 Documentation and saving............................................................................. .3-18
3.2.5.1 Documentation of the circuit program............................................................ .3-18
3.2.5.2 Opening and saving the circuit program ........................................................ .3-20
3.3 Simulation of a circuit program ...................................................................... .3-21
3.3.1 Tools -> Simulation ........................................................................................ .3-21
3.3.2 Description of the Info Window ...................................................................... .3-22
3.3.3 Simulation toolbox and status window ........................................................... .3-23
3.3.4 Circuit program simulation ............................................................................. .3-25
3.3.4.1 Layout of inputs ............................................................................................. .3-25
3.3.4.2 Input functions ............................................................................................... .3-26
3.3.4.3 Layout of the outputs ..................................................................................... .3-27
3.3.4.4 Set output....................................................................................................... .3-28
3.3.4.5 Power failure .................................................................................................. .3-28
3.3.4.6 Layout of message texts................................................................................ .3-29
3.3.4.7 Parameter assignment in simulation mode ................................................... .3-31
3.3.4.8 Alternative operation ...................................................................................... .3-32
3.3.4.9 Simulation toolbox and status window........................................................... .3-33
3.4 Practical example ........................................................................................... .3-35
3.4.1 Practical example: Introduction ...................................................................... .3-35
3.4.2 The task.......................................................................................................... .3-35
3.4.3 Layout of the solution ..................................................................................... .3-37
3.4.4 Solution with LOGO! ...................................................................................... .3-38
3.4.5 Input of project data ....................................................................................... .3-40
3.4.6 Placing blocks ................................................................................................ .3-41
3.4.7 Connecting blocks.......................................................................................... .3-43
3.4.8 "Cleaning up" the programming interface ...................................................... .3-45
3.4.9 Optimizing the view ........................................................................................ .3-47
3.4.10 Starting the simulation.................................................................................... .3-49
3.4.11 Testing the circuit program............................................................................. .3-50
3.4.12 Circuit program documentation ...................................................................... .3-51
3.4.13 Transferring the circuit program ..................................................................... .3-52
LOGO!Soft Comfort V5.0
iv
A5E00266631-02 (b)
14956548.005.png
Contents
4
Sample applications
4-1
4.1
Sample applications - Overview....................................................................... .4-1
4.2
Dual-function switch ......................................................................................... .4-2
4.3
Air-conditioning system .................................................................................... .4-3
4.4
Factory door ..................................................................................................... .4-5
4.5
Heating control ................................................................................................. .4-7
5
Reference material 5-1
5.1 Constants and connectors ............................................................................... .5-1
5.1.1 Constants and terminals - Overview ................................................................ .5-1
5.1.2 FBD .................................................................................................................. .5-2
5.1.2.1 Inputs ............................................................................................................... .5-2
5.1.2.2 Cursor keys...................................................................................................... .5-3
5.1.2.3 Outputs ............................................................................................................ .5-3
5.1.2.4 Permanent logical levels.................................................................................. .5-3
5.1.2.5 Shift register bits .............................................................................................. .5-3
5.1.2.6 Open connectors ............................................................................................. .5-4
5.1.2.7 Flags ................................................................................................................ .5-4
5.1.2.8 Analog inputs ................................................................................................... .5-5
5.1.2.9 Analog outputs ................................................................................................. .5-5
5.1.2.10 Flags................................................................................................................. .5-6
5.1.3 LAD .................................................................................................................. .5-6
5.1.3.1 Break contact ................................................................................................... .5-6
5.1.3.2 Make contact ................................................................................................... .5-7
5.1.3.3 Analog contacts ............................................................................................... .5-7
5.1.3.4 Relay coil ......................................................................................................... .5-8
5.1.3.5 Inverted output ................................................................................................. .5-8
5.1.3.6 Analog output................................................................................................... .5-8
5.1.3.7 Internal flag ...................................................................................................... .5-8
5.2 Basic functions (only FBD Editor) .................................................................... .5-9
5.2.1 Basic functions (FBD Editor only) - Overview .................................................. .5-9
5.2.2 AND................................................................................................................ .5-10
5.2.3 AND with edge evaluation.............................................................................. .5-11
5.2.4 NAND ............................................................................................................. .5-12
5.2.5 NAND with edge evaluation ........................................................................... .5-13
5.2.6 OR .................................................................................................................. .5-14
5.2.7 NOR ............................................................................................................... .5-15
5.2.8 XOR................................................................................................................ .5-15
5.2.9 NOT................................................................................................................ .5-16
5.3 Special functions ............................................................................................ .5-17
5.3.1 Special functions - Overview.......................................................................... .5-17
5.3.2 Times.............................................................................................................. .5-20
5.3.2.1 On-delay ........................................................................................................ .5-20
5.3.2.2 Off-delay ........................................................................................................ .5-22
5.3.2.3 On-/Off-delay ................................................................................................. .5-24
5.3.2.4 Retentive on-delay......................................................................................... .5-26
5.3.2.5 Wiping relay (pulse output) ............................................................................ .5-27
5.3.2.6 Edge triggered wiping relay ........................................................................... .5-28
5.3.2.7 Symmetrical pulse generator ......................................................................... .5-29
5.3.2.8 Asynchronous pulse generator ...................................................................... .5-29
5.3.2.9 Random generator ......................................................................................... .5-31
5.3.2.10 Stairway lighting switch .................................................................................. .5-32
5.3.2.11 Multiple function switch .................................................................................. .5-34
5.3.2.12 Weekly timer .................................................................................................. .5-36
5.3.2.13 Yearly timer .................................................................................................... .5-38
LOGO!Soft Comfort V5.0
A5E00266631-02 (b)
v
14956548.001.png
Zgłoś jeśli naruszono regulamin