Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
113
Example: Variable addressing
Reading of two R parameters of channel 1, whose address specifications are stored in DB
120 as the basic type. The R parameter number is parameterized via parameter LineX.
DATA_BLOCK DB 120
VERSION: 0.0
STRUCT
C1_RP_rpa0_0:
STRUCT
SYNTAX_ID :
BYTE := B#16#82;
area_and_unit :
BYTE := B#16#41;
column :
WORD := W#16#1;
line :
WORD := W#16#0;
block type :
BYTE := B#16#15;
NO. OF LINES :
BYTE := B#16#1;
type :
BYTE := B#16#F;
length :
BYTE := B#16#8;
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
CALL FB 2, DB 110 (
Req :=
M 0.0,
NumVar :=
2,
Addr1 :=
"NCVAR".C1_RP_rpa0_0,
Line1 :=
W#16#1,
Addr2 :=
"NCVAR".C1_RP_rpa0_0,
Line2 :=
W#16#2,
Error :=
M 1.0,
NDR :=
M 1.1,
State :=
MW 2,
RD1 :=
P#M 4.0 REAL 1,
RD2 :=
P#M 24.0 REAL 1);
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 ...