EasyManua.ls Logo

Siemens SINUMERIK 840DE SL - Page 968

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
Power Line Basic PLC Program (P3)
2-56 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Assignment of groups
Group Extended
M address
First M address in group Last M address in group
1 MSigGrp[1].MExtAdr MSigGrp[1].MFirstAdr MSigGrp[1].MLastAdr
2 MSigGrp[2].MExtAdr MSigGrp[2].MFirstAdr MSigGrp[2].MLastAdr
... ... ... ...
16 MSigGrp[16].MExtAdr MSigGrp[16].MFirstAdr MSigGrp[16].MLastAdr
Type and value range for signals
Signal Type Value range Remarks
MExtAdr Int Up to 99 Extended M address
MFirstAdr DInt Up to 99,999,999 First M address in group
MLastAdr Dint Up to 99,999,999 Last M address in group
Example
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 := 0;
MSigGrp[1].MFirstAdr := L#0;
MSigGrp[1].MLastAdr := L#0;
MSigGrp[2].MExtAdr := 0;
MSigGrp[2].MFirstAdr := L#0;
MSigGrp[2].MLastAdr := L#0;
MSigGrp[15].MExtAdr := 0;
MSigGrp[15].MFirstAdr := L#0;
MSigGrp[15].MLastAdr := L#0;
MSigGrp[16].MExtAdr := 0;
MSigGrp[16].MFirstAdr := L#0;
MSigGrp[16].MLastAdr := L#0;
END_DATA_BLOCK

Table of Contents

Other manuals for Siemens SINUMERIK 840DE SL

Related product manuals