# LGF_CONSTANTS (TagTable / global constants)

Overview

### Constant identifier, values and description

Identifier & Value | Description
--- | ---
LGF_BYTE_MAX 16#FF | Byte - maximum value of byte - unsigned 8 bit
LGF_BYTE_MIN 16#00 | Byte - minimum value of byte - unsigned 8 bit
LGF_CHAR_BLANK ' ' | Char ' ' - used as empty fill character
LGF_CHAR_FILL_ZERO '0' | Char '0' - used as default fill character
LGF_DEBUG FALSE | Debug const - used for DEBUG Purpose to activate DEBUG code, normally debug Code is NOT included in productive code
LGF_DINT_MAX DINT#+2147483647 | DInt - maximum value of double integer - signed 32 bit
LGF_DINT_MIN DINT#-2147483648 | DInt - minimum value of double integer - signed 32 bit
LGF_DWORD_MAX 16#FFFFFFFF | DWord - maximum value of double word - unsigned 32 bit
LGF_DWORD_MIN 16#0000000 | DWord - minimum value of double word - unsigned 32 bit
LGF_INT_MAX INT#+32767 | Int - maximum value of integer - signed 16 bit
LGF_INT_MIN INT#-32768 | Int - minimum value of integer - signed 16 bit
LGF_LREAL_INFINITY_NEG 16#FFF0000000000000 | LReal / Double - negative Infinity
LGF_LREAL_INFINITY_POS 16#7FF0000000000000 | LReal / Double - positive Infinity
LGF_LREAL_MAX_NORM 16#7FEFFFFFFFFFFFFF | LReal / Double - maximum value in normalized format
LGF_LREAL_MAX_SUBNORM 16#000FFFFFFFFFFFFF | LReal / Double - maximum value in denormalized format
LGF_LREAL_MIN_NORM 16#0010000000000000 | LReal / Double - minimum value in normalized format
LGF_LREAL_MIN_SUBNORM 16#0000000000000001 | LReal / Double - minimum value in denormalized format
LGF_LREAL_NAN 16#7FF8000000000000 | LReal / Double - NAN - Not A Number
LGF_REAL_INFINITY_NEG 16#FF800000 | Real / Float - negative Infinity
LGF_REAL_INFINITY_POS 16#7F800000 | Real / Float - positive Infinity
LGF_REAL_MAX_NORM 16#7F7FFFFF | Real / Float - maximum value in normalized format
LGF_REAL_MAX_SUBNORM 16#007FFFFF | Real / Float - minimum value in denormalized format
LGF_REAL_MIN_NORM 16#00800000 | Real / Float - minimum value in normalized format
LGF_REAL_MIN_SUBNORM 16#00000001 | Real / Float - minimum value in denormalized format
LGF_REAL_NAN 16#7FC00000 | Real / Float - NAN - Not A Number
LGF_SINT_MAX SINT#+127 | SInt - maximum value of short integer - signed 8 bit
LGF_SINT_MIN SINT#-128 | SInt - minimum value of short integer - signed 8 bit
LGF_STRING_LENGTH_MAX 254 | String - maximum length of String
LGF_UDINT_MAX UDINT#+4294967295 | UDInt - maximum value of double integer - unsigned 32 bit
LGF_UDINT_MIN UDINT#0 | UDInt - minimum value of double integer - unsigned 32 bit
LGF_UINT_MAX UINT#+65535 | UInt - maximum value of integer - unsigned 16 bit
LGF_UINT_MIN UINT#0 | UInt - minimum value of integer - unsigned 16 bit
LGF_USINT_MAX USINT#+255 | USInt - maximum value of short integer - unsigned 8 bit
LGF_USINT_MIN USINT#0 | USInt - minimum value of short integer - unsigned 8 bit
LGF_WORD_MAX 16#FFFF | Word - maximum value of word - unsigned 16 bit
LGF_WORD_MIN 16#0000 | Word - minimum value of word - unsigned 16 bit
LGF_WSTRING_LENGTH_MAX 16382 | WString - maximum length of WString