Siemens SINUMERIK 840Di Function Manual page 968

Basic machine
Hide thumbs Also See for SINUMERIK 840Di:
Table of Contents

Advertisement

Detailed description
2.7 Structure and functions of the basic program
Assignment of groups
Group
1
2
...
16
Type and value range for signals
Signal
MExtAdr
MFirstAdr
MLastAdr
Example
DATA_BLOCK DB 75
TITLE =
VERSION : 0.0
BEGIN
END_DATA_BLOCK
2-56
Extended
M address
MSigGrp[1].MExtAdr
MSigGrp[2].MExtAdr
...
MSigGrp[16].MExtAdr
Type
Int
DInt
Dint
STRUCT
MSigGrp : ARRAY [1 .. 16 ] OF STRUCT
MExtAdr : INT ;
MFirstAdr : DINT;
MLastAdr : DINT;
END_STRUCT;
END_STRUCT;
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;
First M address in group
MSigGrp[1].MFirstAdr
MSigGrp[2].MFirstAdr
...
MSigGrp[16].MFirstAdr
Value range
Up to 99
Up to 99,999,999
Up to 99,999,999
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Last M address in group
MSigGrp[1].MLastAdr
MSigGrp[2].MLastAdr
...
MSigGrp[16].MLastAdr
Remarks
Extended M address
First M address in group
Last M address in group
Power Line Basic PLC Program (P3)

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents