Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
206
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Ranges of values
Value ranges of data types
Data type
Representable numerical range
BOOL
0, 1
BYTE
0 to 255
WORD
0 to 65535
INT
- 32768 to + 32767
DWORD
0 to 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
Call example
CALL FC 13 (
Row :=
MB 26,
ChrArray :=
"strdat".disp,
//DB with name strdat in the symbol table,
//data element disp is declared as String[32]
//and completely assigned with sign
Convert :=
M 90.1,
Addr :=
P#M 20.0,
//Number to be converted
DataType :=
MB 28,
//Data type of the variables
StringAddr :=
MW 30,
Digits :=
B#16#3,
//3 decimal places
Error :=
M 90.2);
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...