EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 1243

Siemens SINUMERIK 840DE SL
2050 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Detailed Description
2.7 Structure and functions of the basic program
PLC Basic Program Solution Line (P3 sl)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-49
Structure of the decoding list in DB 75:
Example parameters
Group Decoding list (DB 75) Signal list
Extended
M address
First
M address
in group
Last
M address
in group
DB 76
1 2 1 5 DBX0.0 to DBX0.4
2 3 12 23 DBX2.0 to DBX3.3
3 40 55 55 DBX4.0
DATA_BLOCK DB 75
TITLE =
VERSION: 0.0
STRUCT
MSigGrp : ARRAY [1 .. 16 ] OF STRUCT
MExtAdr : INT ;
MFirstAdr : DINT;
MLastAdr : DINT;
END_STRUCT;
END_STRUCT;
BEGIN
MSigGrp[1].MExtAdr := 2;
MSigGrp[1].MFirstAdr := L#1;
MSigGrp[1].MLastAdr := L#5;
MSigGrp[2].MExtAdr := 3;
MSigGrp[2].MFirstAdr := L#12;
MSigGrp[2].MLastAdr := L#23;
MSigGrp[3].MExtAdr := 40;
MSigGrp[3].MFirstAdr := L#55;
MSigGrp[3].MLastAdr := L#55;
END_DATA_BLOCK
Structure of FB1 in OB 100
(enter the number of M groups to be decoded in order to activate the function):
Call FB 1, DB 7(
...
ListMDecGrp := 3,// M decoding of three groups
....
);

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals