EasyManua.ls Logo

Siemens SIMATIC S7-1200 - Page 378

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
378 System Manual, V4.2, 09/2016, A5E02486680-AK
Example: Reading the name of an instance data block
The following example shows how to read out the name of an instance data block.
Create two tags in a global data block for storing the data.
Define the parameters of the instruction as follows.
The Level1_gin block executes the GetInstanceName instruction, which determines the
associated instance data block of the Level1_gin block and outputs the name as a character
string at output parameter OUT (outputInstName). According to the value 0 of parameter
SIZE (limitSIZE), the length of the character string is unlimited.

Table of Contents

Other manuals for Siemens SIMATIC S7-1200

Related product manuals