Reference programming 7.1.1.12 LREAL 64 Bit floating point data type. It is required to represent rational numbers. 7.1.1.13 STRING A STRING type variable can contain any string of characters. The size entry in the declaration determines how much memory space should be reserved for the variable. It refers to the number of characters in the string and can be placed in parentheses or square brackets. Example of a string declaration with 35 characters: str:STRING(35):='This is a String'; 7.1.1.14 TIME Duration time. The least siginificant digit is one millisecond. The data type is handled internally like DWORD. 7.1.1.15 TOD Time of day. The least siginificant digit is one millisecond.
The data type is handled internally like DWORD. 7.1.1.16 DATE Date. The least significant digit is one second. The data type is handled internally like DWORD. TX1200 185 Version: 1.3 Type Lower bound Upper bound Memory use REAL ~ -3.402823 x 1038 ~ 3.402823 x 1038 32 Bit Type Lower bound Upper bound Memory use LREAL ~ -1.79769313486231E308 ~ 1.79769313486232E308 64 Bit Type Memory use STRING • If no size specification is given, the default size of 80 characters will be used: Memory use [Bytes] = 80 + 1 Byte for string terminated Null character; • If string size specification is given:
Memory use [Bytes] = String Size + 1 Byte for string terminated Null character); Type Lower bound Upper bound Memory use TIME T#0ms T#71582m47s295ms 32 Bit Type Lower bound Upper bound Memory use TIME OF DAY _ _ TOD TOD#00:00 TOD#1193:02:47.295 32 Bit Type Lower bound Upper bound Memory use DATE D#1970-01-01 D#2106-02-06 32 Bit