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.

6 - The Resources<br />

task times. The libraries will be included automatically as soon as a target is set which supports the<br />

task monitoring.<br />

Display of task status in the configuration tree:<br />

In online mode the current status of a task will be displayed in brackets at the end of the task entry<br />

line in the configuration tree, also the number of already passed through process cycles. This update<br />

interval is the same as usual for the monitoring of <strong>PLC</strong> values. The possible stati:<br />

Idle<br />

Running<br />

Stop<br />

Stop on BP<br />

Stop on Error<br />

Stop Watchdog<br />

has not been started since last update; especially used for event<br />

tasks<br />

has been started at least once since last update<br />

stopped<br />

stopped, because breakpoint in task is reached<br />

Error, e.g. division by zero, page fault etc.<br />

cycle time has been exceeded<br />

The task entry will be displayed red coloured in case of status 'Stop on Error' or 'Stop Watchdog' .<br />

Display of the time flow of the tasks<br />

If the entry 'Taskconfiguration' is selected in the configuration tree, the utilization of the tasks will be<br />

displayed in bar charts in the right part of the window:<br />

Display of the Task Execution in Online Mode<br />

For each task a bar chart is displayed. The length of the bar represents the length of a cycle period.<br />

Below the bar as well as by appropriate marks on the bar the following measurement values are<br />

illustrated:<br />

Min: minimum measured runtime in µs<br />

Akt: last measured runtime in µs<br />

Max: maximum measured runtime in µs<br />

Cycle: total length of a cycle in µs<br />

Jitter: maximum measured jitter in µs<br />

The button Reset can be used to set back the values of Min., Max. and Jitter to 0.<br />

CoDeSys V2.3 6-39

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

Saved successfully!

Ooh no, something went wrong!