Detailed description
2.7 Structure and functions of the basic program
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
61
Structure of decoding list
The source file for the decoding list (MDECLIST.AWL) is supplied with the basic program.
DB 75 is created when the STL source is compiled.
There must be an entry in decoding list DB 75 for every group of M functions to be decoded.
A maximum of 16 groups can be created.
16 bits are available in each group in the list of decoded signals.
The assignment between the M function with extended address and the bit to be set in the
signal list is specified via the first and last M functions in the decoding list.
The bit address is generated correspondingly from the first M function ("MFirstAdr") to the
last M function ("MLastAdr") from bit 0 up to maximum bit 15 for each group.
Each entry in the decoding lists consists of 3 parameters, each of which is assigned to a
group.
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
Remark
MExtAdr
Int
0 ... 99
Extended M address
MFirstAdr
DInt
0 to 99.999.999
First M address in group
MLastAdr
Dint
0 to 99.999.999
Last M address in group
Signal list
Data block DB 76 is set up when the function is activated.
A bit is set in the appropriate group in DB 76 for an M signal decoded in the list.
At the same time, a readin disable is set in the channel in which the M function has been
output.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...