EasyManua.ls Logo

Siemens S7-1200 - Any Pointer Data Type

Siemens S7-1200
1028 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
PLC concepts
4.4 Data types
S7-1200 Programmable controller
System Manual, 03/2014, A5E02486680-AG
119
Table 4- 37 Memory area encoding in the Pointer data:
Hexadecimal code
Data type
Description
b#16#81
I
Input memory area
b#16#82
Q
Output memory area
b#16#83
M
Marker memory area
b#16#84
DBX
Data block
b#16#85
DIX
Instance data block
b#16#86
L
Local data
b#16#87
V
Previous local data
4.4.9.2
"Any" pointer data type
The pointer data type ANY ("Any") points to the beginning of a data area and specifies its
length. The ANY pointer uses 10 bytes in memory and can include the following information:
Data type: Data type of the data elements
Repeat factor: Number of data elements
DB Number: Data block in which data elements are stored
Storage area: Memory area of the CPU, in which the data elements are stored
Start address: "Byte.Bit" starting address of the data
The following image shows the structure of the ANY pointer:
A pointer can not detect ANY structures. It can only be assigned to local variables.
Table 4- 38 Format and examples of the ANY pointer:
Format
Entry example
Description
P#Data_block.Memory_area
Data_address Type Number
P#DB 11.DBX 20.0 INT 10 10 words in global DB 11
starting from DBB 20.0
P#Memory_area Data_address
Type Number
P#M 20.0 BYTE 10
10 bytes starting from MB 20.0
P#I 1.0 BOOL 1
Input I1.0

Table of Contents

Other manuals for Siemens S7-1200

Related product manuals