F_BACnet_CheckHour : USINT
Application
Function for checking the validity of a numerical time value (BYTE) for the hour indication. The return value matches a valid value for the hour, 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 hour value to be checked (0 to 23 valid; otherwise converted to 255 → undefined)