Siemens SIMATIC S7-1500 Function Manual page 176

Update 3
Hide thumbs Also See for SIMATIC S7-1500:
Table of Contents

Advertisement

Programming
7.2 Technology data block
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;
Status.HomingDone := Status.Temp.X5;
STL
L <TO>.StatusWord
T Status.Temp
U Status.Temp.X5
= Status.HomingDone
176
Copy status
word
Copy individual
bits per bit
access
Copy status
word
Copy individual
bits per bit
access
S7-1500 Motion Control V13 Update 3
Function Manual, 07/2014, A5E03879256-AC

Advertisement

Table of Contents
loading

This manual is also suitable for:

Simatic s7-1500 motion control v13

Table of Contents