P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
1023
DataType I BYTE 1 ... 8, B#16#13 Data type of the tag
1: BOOL, 1 character
2: BYTE, 3 characters
3: CHAR, 1 character
4: WORD, 5 characters
5: INT, 6 characters
6: DWORD, 7 characters
7: DINT, 8 characters
8: REAL, 9 characters
(7 digits plus a sign and a
decimal point; for places
after the decimal point,
refer to the Digits
Parameter)
B#16#13: String, up to 32/64
characters, Addr
must be a pointer to
a STRING.
B#16#30 REAL64,
(12 characters: 10
digits plus a sign
and a decimal point;
for places after the
decimal point, refer
to the Digits
Parameter)
StringAddr I INT 1 ... 32/64 Right-justified address within
variable ChrArray
Digits I BYTE for REAL data type:
1 ... 4
for REAL64 data type:
1 ... 9
Number of places after the
decimal point:
Error O BOOL Error:
• created chr/array too small,
• conversion error,
• numerical overflow,
• StringAddr faulty
Signal
Typ
e
Type Value range Remark