Download Sencor SDF 760 Technical data

Transcript
Displaying Reference Data
14.2 Working with Reference Data
14.2.5
Example of Working with Address Locations
You want to determine at which locations output Q1.0 (direct/indirect) is set. The following STL
code in OB1 is used as an example:
Network 1: ...........
A Q 1.0
// irrelevant
= Q 1.1
// in this example
Network 2:
A M1.0
A M2.0
= Q 1.0
// assignment
Network 3:
//comment line only
SET
= M1.0
// assignment
Network 4:
A I 1.0
A I 2.0
= M2.0
// assignment
This results in the following assignment tree for Q1.0:
Programming with STEP 7
Manual, 05/2010, A5E02789666-01
321