P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
1024 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Ranges of values
Call example
//DB with the name strdat is declared in symbol table, data element disp is declared as String[32] (in HT2:
//String[64]) and completely assigned with characters
Ranges of values of data types
Data type Representable numerical range
BOOL 0, 1
BYTE 0 ... 255
WORD 0 ... 65535
INT - 32768 to + 32767
DWORD 0 ... 9999999
DINT - 9999999 to + 9999999
REAL (Digits := 1) - 999999.9 to + 999999.9
REAL (Digits := 2) - 99999.99 to + 99999.99
REAL (Digits := 3) - 9999.999 to + 9999.999
REAL (Digits := 4) - 999.9999 to + 999.9999
... ...
REAL (Digits := 9) - 0.9999999 to + 0.9999999