Table of contents
S7-1500
Getting Started, 05/2014, A5E03981761-AC 5
3.2 Creating the program ...................................................................................................................48
3.2.1 Loading the block library ..............................................................................................................48
3.2.2 Deleting program block Main [OB1].............................................................................................50
3.2.3 Copying program blocks ..............................................................................................................51
3.2.4 Cyclic interrupt OB .......................................................................................................................52
3.2.4.1 Cyclic interrupt OB – Cycle time and phase ................................................................................52
3.2.4.2 Changing the cycle time...............................................................................................................53
3.2.5 Copying tag tables .......................................................................................................................54
3.2.6 Compiling a project ......................................................................................................................55
3.2.7 Load project into the CPU............................................................................................................57
3.2.8 Optimized block access ...............................................................................................................59
3.2.8.1 Introduction ..................................................................................................................................59
3.2.8.2 Expanding and reloading the optimized "Filling" data block ........................................................60
3.2.9 Versioning a block........................................................................................................................65
3.2.10 Setting retentivity..........................................................................................................................68
3.2.11 Activating the EN/ENO mechanism .............................................................................................71
3.2.12 Using the comment function ........................................................................................................73
3.2.13 Local error handling .....................................................................................................................74
3.2.13.1 Handle errors within block............................................................................................................74
3.2.13.2 Loading blocks for local error handling ........................................................................................76
3.2.13.3 Generating errors without local error handling.............................................................................78
3.2.13.4 Generating errors with local error handling..................................................................................79
3.3 Configure visualization.................................................................................................................81
3.3.1 Present sample project ................................................................................................................81
3.3.2 HMI configuration .........................................................................................................................81
3.3.2.1 Overview ......................................................................................................................................81
3.3.2.2 SIMATIC HMI Comfort Panels .....................................................................................................82
3.3.2.3 HMI screens .................................................................................................................................83
3.3.2.4 Additional control elements..........................................................................................................84
3.3.2.5 Recipes ........................................................................................................................................85
3.3.2.6 Archives .......................................................................................................................................86
3.3.2.7 User-defined functions .................................................................................................................87
3.3.2.8 User Management .......................................................................................................................88
3.3.2.9 Multilingualism..............................................................................................................................89
3.3.2.10 Reports.........................................................................................................................................91
3.3.3 Insert HMI device from libraries ...................................................................................................93
3.3.3.1 Storing an object in a library ........................................................................................................93
3.3.4 Configuring HMI connection.........................................................................................................94
3.3.4.1 Communication between devices ................................................................................................94
3.3.4.2 Configuring HMI connection.........................................................................................................95
3.3.4.3 Connecting HMI tags ...................................................................................................................97
3.3.5 Configuring system diagnostics ...................................................................................................99
3.3.5.1 System diagnostics basics...........................................................................................................99
3.3.5.2 System diagnostics views ..........................................................................................................100
3.3.5.3 Configuring the system diagnostic view.....................................................................................103
3.3.6 Simulating an HMI device ..........................................................................................................105
3.3.6.1 Simulation basics .......................................................................................................................105
3.3.6.2 Operating the panel in simulation ..............................................................................................106