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.

<strong>ISPSoft</strong> <strong>User</strong> <strong>Manual</strong><br />

Task name<br />

POUs assigned to the<br />

task<br />

POUs which are not<br />

assigned to tasks<br />

Additional remark<br />

If users want to enable an interrupt function, they must insert the applied instruction EI in the cyclic<br />

program so that the interrupt subroutine can be executed normally.<br />

5.3.3 Executing the POUs Assigned to a Task<br />

More one POU can be assigned to the same task, and the order in which the POUs listed in a task<br />

section in the project management area are arranged is the order in which the POUs are executed.<br />

Please refer to the following example. There are four POUs in the project. These POUs are<br />

described below.<br />

POU name<br />

Description<br />

Prog0 When M0 is ON, the value in D0 is 0.<br />

Prog1 When M0 is ON, the value in D0 is 1.<br />

Prog2 When M0 is ON, the value in D0 is 2.<br />

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

The programs in the POUs are as follows.<br />

5-6

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

Saved successfully!

Ooh no, something went wrong!