P3: Basic PLC Program for SINUMERIK 840D sl
13.8 Structure and functions of the basic program
Basic Functions
888
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
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.
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.
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
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
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...