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.
See:
"Blocks for safe logic" whether this block is supported for developing safety-relevant applications.
"Highlighting safe logic in the FBD-editor" for the effects when using the block as a block for safe logic .
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.