Example - Manual - SIMATIC AX - System Selection Library - System.Selection,library

System.Selection library

Portfolio
SIMATIC AX
Product
SIMATIC AX
Software version
7.1.47
Edition
05/2024
Language
English (original)
Package Name
@ax/system-selection
USING System.Selection;



PROGRAM SelectDemo

    VAR_TEMP

        result : TIME;

    END_VAR



    // Returns T#1s.

    result := Select(TRUE, T#1s, T#5s);



    // Returns T#5s.

    result := Select(FALSE, T#1s, T#5s);



END_PROGRAM