GET_EP_TICKS block

Short summary

Name

GET_EP_TICKS

→POU type

→function

Category

IEC-block, UtilEnh functions

→Namespace

logicals.standard.util.schedule

Graphical interface

images/download/thumbnails/414782986/GET_EP_TICKS-version-1-modificationdate-1535107696457-api-v2.png

Available since

  • version 2.0.5 (for library Standard) – initial variant: in the global namespace

  • version 2.0.7 (for library Standard) – declaration within a separate namespace

Functionality

This block retrieves the current, platform-dependent system ticks of the entry point.

Return value


Identifier

→Data type

Description

Return value:

ULINT

current system ticks

Input EN and output ENO are available when →calling the block. See "Execution control: EN, ENO" for information on input EN and output ENO.

Example for usage within ST-editor

See "SET_EP_TICKS block".

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.

Restriction for test framework

Do not use this block within a POU under test (see "Testing single POUs by using the test framework") because this block is not supported when a test is executed. Reason: The system ticks are adjusted to the simulated cycle cycle of the test execution.