Name :Get the system uptime

Symbol :SYS_GET_RUN_TIME

Illustrate:

        You can use the "Get System Uptime" function block to get the current system uptime

Image:

Parameter:

Parameter | Statement | Type | Description
--- | --- | --- | ---
SYS_RUN_TIME | Output | UDINT |
    The current system running time, in ms

Example:

LD:

ST:

SYS_GET_RUN_TIME_inst1( SYS_RUN_TIME => SysRunTime );

Interpretation:

       SYS_RUN_TIME indicates the current system running time