5 Configuring
5.9 FB 131 Subroutine: Submagazine-specific machine data bits
5.9
FB 131 UP:MD-B
Subroutine: Submagazine-specific machine data bits
Description
The block reads the global and/or submagazine-specific machine data bits and makes them
available for the calling program. If the specified magazine number is > 16
is not defined (MD 7010.0) + n = 0; n = 1...16
When the magazine number is defined, a distinction is made between magazine number = 0
and magazine number = 1...16
machine data bits are output, if magazine number = 0, the global machine data bits are
output.
The submagazine-specific as well as the global machine data bits are to be found in DB 64.
The global machine data bits are stored in DW 5 (MD 7010). The submagazine-specific
machine data bits are stored in DW 6...21 (MD 7011...MD 7043).
1)
16
bits are reserved for each magazine (1 machine data word). The address of the
submagazine-specific machine data bits is calculated using the following formula:
DW = 5 + n
n = submagazine no. = 1...16
Note:
This block can be called up in the operating example.
Block data
Lib. No.
FBs to be loaded
DBs to be loaded
Type of FB call
DBs to be input
Error messages
Block call FB 131
I, BY (KF)
_______
1)
1...16 SINUMERIK 880/880 GA2
1...4 SINUMERIK 840/840C
5–32
1)
, an error bit is set.
1)
. If magazine number = 1...16
1)
: E88530-B5531-A-50
: FB 131
: None
: Conditional, unconditional
: None
: 1 illegal magazine no. (transferred to accu 1)
FB UP:TMD-B
MANR
MD-B
F
© Siemens AG 1991 All Rights Reserved
1)
or the magazine
1)
, the submagazine-specific
Q, W (KM)
Q, BI
6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)
11.92