EasyManua.ls Logo

Siemens SIMATIC S7-1500 Motion Control V13 - Page 176

Siemens SIMATIC S7-1500 Motion Control V13
402 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...
Programming
7.2 Technology data block
S7-1500 Motion Control V13 Update 3
176 Function Manual, 07/2014, A5E03879256-AC
Example
The following example shows how you can read and save the fifth bit "HomingDone" of the
data word "StatusWord":
SCL
Status.Temp := <TO>.StatusWord; Copy status
word
Status.HomingDone := Status.Temp.X5; Copy individual
bits per bit
access
STL
L <TO>.StatusWord Copy status
word
T Status.Temp
U Status.Temp.X5 Copy individual
bits per bit
access
= Status.HomingDone

Table of Contents

Related product manuals