SysTaskCycleCount block
Short summary
Name |
SysTaskCycleCount |
→POU type |
|
Category |
more system blocks, blocks for target-system diagnostics, block with internal error diagnostic |
Graphical interface |
|
Available since |
version 2.0.20 (for library System) and version 5.11.0
of the →runtime system
|
Functionality
This block returns the number of the →task cycles since the last application start.
The cycle count starts with 1 after these respective actions:
starting the →PLC
→cold restart of the application
→warm restart of the application
Return value
|
Identifier |
Description |
|
Return value: |
– |
ULINT |
number of task cycles since the last application start |
Input EN and output ENO are available when →calling
the block. See "Execution control: EN, ENO" for information on input EN and output ENO.
Internal error diagnostic for block
If the required information is not provided by the PLC, the output ENO of the block is set to value FALSE (or an equivalent).
Example for usage within ST-editor
At present, there is no example.
When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.