02.09.2014 Views

ISPSoft User Manual

ISPSoft User Manual

ISPSoft User Manual

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5 Program Organization Units and Tasks<br />

Suppose the four POUs of the program type are assigned to cyclic task (0). The arrangement of the<br />

POUs is shown below. The order in which these POUs are executed is<br />

Prog0Prog1Prog2OUTPUT. The value in D0 in OUTPUT depends on the program in Prog2.<br />

When M0 is ON, the value in D0 in OUTPUT is 2. After the value in D0 is transferred to Y0, the value<br />

in Y0 will be 2. In other words, Y0.1 will be ON after a scan cycle is complete. The equivalent<br />

program is shown below.<br />

5-7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!