Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze
Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze
Step7 Basic operations, program blocks - DCE FEL ČVUT v Praze
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
• Examples<br />
– Register indirect area addressing<br />
OPN DB10<br />
LAR1 P#10.0<br />
L MW[AR1,P#4.0]<br />
A DBX[AR1,P#0.3]<br />
– Register indirect out‐of‐area addressing<br />
LAR1 P#M12.0<br />
L B[AR1,P#2.0]<br />
= [AR1,P#0.7]<br />
What have we said today?<br />
• Timers and counters<br />
• <strong>Basic</strong>s of OBs, FCs and FBs in <strong>Step7</strong><br />
• Data <strong>blocks</strong> (instant, global), examples<br />
• Indirect addressing in <strong>Step7</strong><br />
Indirect addressing<br />
Summary<br />
3.10.2012<br />
10