Table of contents
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
15
10.4.1.2 Configuring logical network connections between two AS-i devices ......................................... 578
10.4.1.3 Configuring the properties of the AS-i master CM1243-2 .......................................................... 578
10.4.1.4 Assigning an AS-i address to an AS-i slave .............................................................................. 579
10.4.2 Exchanging data between the user program and AS-i slaves ................................................... 582
10.4.2.1 STEP 7 basic configuration ........................................................................................................ 582
10.4.2.2 Configuring slaves with STEP 7................................................................................................. 583
10.4.3 Distributed I/O instructions ......................................................................................................... 585
10.4.4 Working with AS-i online tools ................................................................................................... 585
10.5 S7 communication ..................................................................................................................... 587
10.5.1 GET and PUT (Read and write from a remote CPU) instructions ............................................. 587
10.5.2 Creating an S7 connection ......................................................................................................... 591
10.5.3 Configuring the Local/Partner connection path between two devices ....................................... 592
10.5.4 GET/PUT connection parameter assignment ............................................................................ 592
10.5.4.1 Connection parameters .............................................................................................................. 593
10.5.4.2 Configuring a CPU-to-CPU S7 connection ................................................................................ 596
11 Web server ......................................................................................................................................... 601
11.1 Enabling the Web server ............................................................................................................ 603
11.2 Configuring Web server users ................................................................................................... 604
11.3 Accessing the Web pages from a PC ........................................................................................ 606
11.4 Accessing the Web pages from a mobile device ....................................................................... 607
11.5 Standard Web pages ................................................................................................................. 609
11.5.1 Layout of the standard Web pages ............................................................................................ 609
11.5.2 Logging in and user privileges ................................................................................................... 610
11.5.3 Introduction ................................................................................................................................ 613
11.5.4 Start ............................................................................................................................................ 614
11.5.5 Identification ............................................................................................................................... 615
11.5.6 Diagnostic Buffer ........................................................................................................................ 616
11.5.7 Module Information .................................................................................................................... 616
11.5.8 Communication .......................................................................................................................... 620
11.5.9 Variable Status ........................................................................................................................... 620
11.5.10 File Browser ............................................................................................................................... 622
11.6 User-defined Web pages ........................................................................................................... 625
11.6.1 Creating HTML pages ................................................................................................................ 626
11.6.2 AWP commands supported by the S7-1200 Web server .......................................................... 627
11.6.2.1 Reading variables ...................................................................................................................... 629
11.6.2.2 Writing variables......................................................................................................................... 630
11.6.2.3 Reading special variables .......................................................................................................... 631
11.6.2.4 Writing special variables ............................................................................................................ 633
11.6.2.5 Using an alias for a variable reference ...................................................................................... 634
11.6.2.6 Defining enum types .................................................................................................................. 635
11.6.2.7 Referencing CPU variables with an enum type ......................................................................... 635
11.6.2.8 Creating fragments .................................................................................................................... 637
11.6.2.9 Importing fragments ................................................................................................................... 638
11.6.2.10 Combining definitions............................................................................................................ 638
11.6.2.11 Handling tag names that contain special characters ............................................................ 639
11.6.3 Configuring use of user-defined Web pages ............................................................................. 641
11.6.4 Programming the WWW instruction for user-defined web pages .............................................. 642
11.6.5 Downloading the program blocks to the CPU ............................................................................ 643