Siemens SINUMERIK 840D sl Function Manual page 862

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.10 Structure and functions of the basic program
● There must be an entry in the decoding list for every group of M functions to be decoded.
● The assignment between the M function with extended address and the signal to be set in
the signal list is specified in the decoding list using the first and last M function of the
associated group.
– First M function: Parameter: "MFirstAdr" ≙ signal or bit 0
– Last M function: Parameter: "MLastAdr" ≙ dependent on the difference to the first M
Structure of the decoding list (DB75):
An entry in the decoding lists consists of 3 parameters, each of which is assigned to a group.
Group
Type and value range of the signals:
Signal
MExtAdr
MFirstAdr
MLastAdr
Properties of the signal list (DB76)
The signal list (DB76) has the following properties:
● There is only one signal list independent of the channel.
● The signal list can include a maximum of 16 signals for each M group.
Example
3 groups of M functions are to be decoded:
● Group 1: M2 = 1 to M2 = 5
● Group 2: M3 = 12 to M3 = 23
● Group 3: M40 = 55
Structure of the decoding and signal list
Group
862
function maximum signal or bit 15
Extended M address
1
MSigGrp[1].MExtAdr
2
MSigGrp[2].MExtAdr
...
...
16
MSigGrp[16].MExtAdr
Type
INT
DINT
DINT
Decoding list (DB75)
Extended
First M address
M address
of the group
1
2
2
3
3
40
First M address of the group Last M address of the group
MSigGrp[1].MFirstAdr
MSigGrp[2].MFirstAdr
...
MSigGrp[16].MFirstAdr
Value range
0 ... 99
0 to 99.999.999
0 to 99.999.999
Last M address of
the group
1
5
12
23
55
55
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
MSigGrp[1].MLastAdr
MSigGrp[2].MLastAdr
...
MSigGrp[16].MLastAdr
Meaning
Extended M address
First M address in group
Last M address in group
Signal list (DB76)
DB76.DBX0.0 ... DBX0.4
DB76.DBX2.0 ... DBX3.3
DB76.DBX4.0
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents