Siemens SINUMERIK 840Di Function Manual page 1242

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

Advertisement

Detailed Description
2.7 Structure and functions of the basic program
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
1
2
...
16
Type and value range for signals
Signal
MExtAdr
MFirstAdr
MLastAdr
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 read-in 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
2-48
Extended
M address
MSigGrp[1].MExtAdr
MSigGrp[2].MExtAdr
...
MSigGrp[16].MExtAdr
Type
Int
DInt
Dint
First M address in group
MSigGrp[1].MFirstAdr
MSigGrp[2].MFirstAdr
...
MSigGrp[16].MFirstAdr
Value range
0 to 99
0 to 99,999,999
0 to 99,999,999
PLC Basic Program Solution Line (P3 sl)
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

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents