Siemens SINUMERIK 840D sl Function Manual page 1047

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Example
Three groups of M commands are to be decoded in the following example:
• · M2 = 1 to M2 = 5
• · M3 = 12 to M3 = 23
• · M40 = 55
Structure of the decoding list in DB 75:
Example parameters
Group
1
2
3
DATA_BLOCK DB 75
TITLE =
VERSION : 0.0
BEGIN
END_DATA_BLOCK
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Decoding list (DB 75)
Extended
First
M address
M address
in group
2
1
3
12
40
55
STRUCT
MSigGrp : ARRAY [1 .. 16 ] OF STRUCT
MExtAdr :
MFirstAdr :
MLastAdr :
END_STRUCT;
END_STRUCT;
MSigGrp[1].MExtAdr :=
MSigGrp[1].MFirstAdr
:=
MSigGrp[1].MLastAdr
:=
MSigGrp[2].MExtAdr :=
MSigGrp[2].MFirstAdr
:=
MSigGrp[2].MLastAdr
:=
MSigGrp[3].MExtAdr :=
MSigGrp[3].MFirstAdr
:=
MSigGrp[3].MLastAdr
:=
2.7 Structure and functions of the basic program
Signal list
Last
DB 76
M address
in group
5
DBX0.0 to DBX0.4
23
DBX2.0 to DBX3.3
55
DBX4.0
INT ;
DINT;
DINT;
2;
L#1;
L#5;
3;
L#12;
L#23;
40;
L#55;
L#55;
Detailed description
63

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents