24.01.2015 Views

PLC Programming

  • No tags were found...

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

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

5 - Editors in CoDeSys<br />

setting is displayed for the steps in the SFC editor. On the right, next to the step, either the comment<br />

or the time setting will appear.<br />

If the maximum time is exceeded, SFC flags are set which the user can query.<br />

The example shows a step whose execution should last at least two, and at the most, ten seconds. In<br />

Online mode, there is, in addition to these two times, a display of how long the step has already been<br />

active.<br />

'Extras' 'Time Overview'<br />

With this command you can open a window in which you can edit the time settings of your SFC steps:<br />

Time Boundaries Overview for a SFC POU<br />

'Extras' 'Options'<br />

In the time boundaries overview, all steps of your SFC POU are displayed. If you have entered a time<br />

boundary for a step, then the time boundary is displayed to the right of the step (first, the lower limit,<br />

then the upper limit). You can also edit the time boundaries. To do so, click on the desired step in the<br />

overview. The name of the step is then shown below in the window. Go to the Minimum Time or<br />

Maximum Time field, and enter the desired time boundary there. If you close the window with OK,<br />

then all of the changes will be stored.<br />

In the example, steps 2 and 6 have a time boundary. Shift1 lasts at least two, and at most, ten<br />

seconds. Shift2 lasts at least seven, and at most, eight seconds.<br />

With this command you open a dialog box in which you can set different options for your SFC POU.<br />

CoDeSys V2.3 5-33

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

Saved successfully!

Ooh no, something went wrong!