RTSAppLoadReason block

Short summary

Name

RTSAppLoadReason

→POU type

→function

Category

more system blocks, blocks for target-system diagnostics, block with internal error diagnostic

Graphical interface

images/download/thumbnails/483360776/RTSAppLoadReason-version-1-modificationdate-1638194799104-api-v2.png

Available since

version 2.0.20 (for library System) and version 5.11.0 of the →runtime system
images/s/b2ic8e/9012/1ca6q62/_/images/icons/emoticons/warning.svg This block is supported for these →target systems or platforms:

  • platform WindowsX86 (incl. the built-in PLC under Windows)

  • platform LinuxX86

Functionality

The block returns information about the loading of the application.

Return value


Identifier

→Data type

Description

Return value:

RTS_APP_LOAD_REASON

return code as specified in data type RTS_APP_LOAD_REASON

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:

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.