Structures - Siemens SIMATIC S7-1500 Function Manual

Web server
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Web pages
3.16 User pages
Representation of arrays of the BOOL data type
The output of arrays of the BOOL type is always filled to the next full 8 bits. This particular
feature only occurs with BOOL arrays.
Example:
"DB_1".bitArray is a BOOL array with 5 elements.
<!-- AWP_Start_Array Name='"DB_1".bitArray' -->
:=ArrayIndex: -> :=value:
<!-- AWP_End_Array -->
Edition:
0 -> Value from "DB_1".bitArray[0]
1 -> Value from "DB_1".bitArray[1]
2 -> Value from "DB_1".bitArray[2]
3 -> Value from "DB_1".bitArray[3]
4 -> Value from "DB_1".bitArray[4]
5 -> 0
6 -> 0
7 -> 0
3.16.1.6

Structures

Structures
The web server provides AWP commands for accessing structures in order to access the
values of a PLC tag of the data type STRUCT.
Syntax
<!-- AWP_Start_Struct Name='"<DB name>".<struct name>' -->
... Content of structure ...
<!-- AWP_End_Struct -->
Parameter
● <Name> defines the name of the structure with the elements you want to access.
– You require the DB name and the name of the structure corresponding to the data
– The name must be within single or double quotation marks.
– The DB name is within double quotation marks.
136
block structure defined in STEP 7.
Function Manual, 11/2019, A5E03484625-AG
Web server

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic et 200proSimatic et 200sp

Table of Contents