Parameter Manual
Operating Instructions, 08/2013, 6FC5397-8EP40-0BA0
187
Machine data
2.3 Channel-specific machine data
Description: Number of the R variable as from which FIFO variables are stored. All R vari-
ables with lower numbers can be used freely in the part program. R variables
above the FIFO range cannot be written from the part program.
The number of R variables must set via MD28050 $MC_MM_NUM_R_PARAM so that all
FIFI variables can be accommodated from the start of the R variables:
MD28050 $MC_MM_NUM_R_PARAM = MD28262 $MC_START_AC_FIFO + MD28260
$MC_NUM_AC_FIFO *(MD28264 $MC_LEN_AC_FIFO + 6)
The FIFO variables bear the names $AC_FIFO1 to $AC_FIFOn. They are stored as
arrays.
The indices 0 - 5 have special meanings:
n= 0:
A new value is stored in the FIFO when writing with index 0.
The oldest element is read and removed from the FIFO when reading with index
0.
n=1: Access to the first element read in
n=2: Access to the last element read in
n=3: Sum of all FIFO elements
n=4: Number of elements available in the FIFO
n=5: Current write index relative to FIFO start
Related to:
MD28260 $MC_NUM_AC_FIFO
Description: Length of the FIFO variables $AC_FIFO1 to $AC_FIFO10.
All FIFO variables are the same length.
Description: Mode of FIFO processing:
Bit 0 = 1:
The sum of all FIFO contents is updated at each write access.
Bit 0 = 0:
No summation
Related to:
MD28260 $MC_NUM_AC_FIFO
28262 START_AC_FIFO C01 2.3,2.4,6.1
- FIFO variables store from R variable DWORD PowerOn
-
- - 0, 0, 0, 0, 0, 0, 0, 0... 0 32535 1/1
28264 LEN_AC_FIFO C01 2.3,2.4,6.1,M5
- Length of FIFO variables $AC_FIFO1-$AC_FIFO10 DWORD PowerOn
-
- - 0, 0, 0, 0, 0, 0, 0, 0... 0 32535 1/1
28266 MODE_AC_FIFO C01 2.3,2.4,6.1
- Mode of FIFO processing BYTE PowerOn
-
- - 0, 0, 0, 0, 0, 0, 0, 0... 0 - 1/1
Siemens Controls