Siemens SINUMERIK 840 Planning Manual page 318

Function blocks for plc 135 wb
Hide thumbs Also See for SINUMERIK 840:
Table of Contents

Advertisement

9 Examples
9.2.31 FB 193 Unload via NC program
9.2.31 FB 193: NC-ENTLA
Unload via NC program
(SINUMERIK 880/880 GA2 only)
Description
The function block transmits the function code of the unloading type which can be set via the
softkey "SELECT" in the display "Unload via NC program" to the FB tape output (FB 120).
The function code is only transferred if no program is running and no program is interrupted.
The bit "Mark tool for unloading" is set in the function block by selecting the tool in the display
"Mark tool for unloading" using the cursor. If the selected location is not assigned, an
interactive text stating an error is output.
The block checks whether AUTOMATIC mode has been selected and that no program is
active in channel 1. If this is not the case, an interactive text stating an error is output and the
next menu cannot be selected.
NC Reset is set if the display "Unload via NC program" has been selected and the softkey
"Abort/Reset" has been pressed or AUTOMATIC mode has been deselected during "Tape
output active".
Block data
Lib. No.
: 10050
FBs to be loaded
: None
DBs to be loaded
: None
Type of FB call
: Unconditional in FB 160
DBs to be input
: None
Error messages
: Number of interactive text:
Block call FB 193
Signal description
FEHL
The cause of the error is is stored in the form of the number of an interactive text in
DB 40, DW 50:
DB 40, DW 50:
= 02: "Criterion illegal"
= 04: "Unloading not possible"
9–146
02: "Criterion illegal"
04: "Unloading not possible"
FB NC-ENTLA
FEHL
DB 40, DW 50
© Siemens AG 1991 All Rights Reserved
11.92
6FC5 197-0AA40-1BP1
SINUMERIK 840/880 (PJ)

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840cSinumerik 880Sinumerik 880 ga2

Table of Contents