F_BACnet_CheckSecond : USINT

F_BACnet_CheckSecond : USINT 1:

Application

Function for checking the validity of a numerical time value (byte) for the second. The return value matches a valid value for the second, or undefined as a numerical code (*). See BACnet specification DIN EN ISO 16484-5 for data type BACnetDateTime.

Attention: The input value is also corrected (nIn).

VAR_IN_OUT

nIn      : BYTE;

nIn: Numerical second value to be checked (valid 0 to 59; otherwise converted to 255 → undefined)