EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 371

Siemens SIMATIC S7-1200
1614 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...
Extended instructions
9.2 String and character
S7-1200 Programmable controller
System Manual, V4.2, 09/2016, A5E02486680-AK
371
Example: Meaning of SIZE parameter
The following example illustrates the meaning of the SIZE parameter. The following tag
name is read from the block interface: "MyPLCTag" (The double quotes at the start and end
belong to the name.)
SIZE
GetSymbolName returns
Explanation
1 '...'
First character of WSTRING:'
Identifier that the name was truncated: ...
Last character of WSTRING:'
2 '"...'
First character of WSTRING:'
The first character of the name and identifier that the
name was truncated:"...
Last character of WSTRING:'
3 '"M...'
First character of WSTRING:'
The first two characters of the name and identifier that
the name was truncated:"... "M...
Last character of WSTRING:'
6 '"MyPL...'
First character of WSTRING:'
The first five characters of the name and identifier that
the name was truncated: "MyPL...
Last character of WSTRING:'
0 '"MyPLCTag"'
First character of WSTRING:'
All characters of the name: "MyPLCTag"
Last character of WSTRING:'

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals