11.92
5 Configuring
5.16 FB 157 Workpiece count/prewarning limit
MANR
Magazine number
Specification of the number of the magazine where the data of the active tool are sto-
red.
MANR=0:
Refers to a spindle; the data are in the tool buffer.
MANR=1:
Refers to a turret; the data are in the specified magazine.
PLSP
Location/spindle
Locator number,
(if MANR = 1...16
1)
)
Spindle number,
(if MANR = 0) spindle number 1 or 2 only
NSBY
Interface byte
Number of the interface byte of the DB36 for type of data transmission "Writing and
reading".
SPNR
Memory number
Values 8...14:
Number of the first P memory in the NC: Data are stored in the
NC.
1st P memory:
Number of workpieces
2nd P memory:
Prewarning limit
AKT
Job active
"1" signal:
At the positive-going edge of the BEAR signal and if the block is
being executed.
"0" signal:
If processing of the block is terminated;
irrespective of the BEAR signal.
ST=0
Number of workpieces = 0
The parameter has a "1" signal for the duration of one cycle if the number of
pieces = 0.
F
Error
The parameter has a "1" signal for the duration of one cycle if an error has occurred.
F-NR
The number of the comment on the origin of the error is entered in DB 134, DR 0:
DB 134, DR 0:
01:
Invalid job number; range: 1...2
02:
Invalid spindle or locator number
03:
Invalid magazine number; range: 1...16
1)
04:
Invalid memory number; range: 1...6; 10...14
06:
No allocation of spindle No. to channel
07:
FBs 61, 62: Invalid number format
08:
FBs 61, 62: Error, values 1...3
09:
Invalid channel number; range: 1...16
1)
10:
MD for TO area not read
11:
Invalid TO area
12:
Magazine is fictitious magazine
ZW
DB 134, DD 2:
Status words for internal states
_______
1)
Range applies to SINUMERIK 840/840C 1...4
© Siemens AG 1991 All Rights Reserved 6FC5 197-0AA40-1BP1
5–73
SINUMERIK 840/880 (PJ)