Siemens 880 Manuale delle Istruzioni Pagina 15

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 129
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 14
2 Program Blocks 12.93
2.2 Calling program blocks
2.2 Calling program blocks
Block calls are used to release the blocks for execution (Fig. 2.2). These block calls can be
programmed only in organization, sequence, program or function blocks. Organization blocks
may not be invoked by the user program, with the exception of OB180. A block call is compa-
rable with a "subroutine branch", and may be both conditional and unconditional.
A "BE" statement is used to return to the block that contained the block call. No further logic
operations can be carried out on the RLO in the "new block" following a block call or a "BE".
The RLO (result of the logic operation) is passed to the "new block", and can be evaluated
there.
Unconditional call: JU xx
The program block is executed without regard to the RLO.
Conditional call: JC xx
The program block is executed in dependence on the RLO.
Fig. 2.2 Block calls for enabling execution of a program block
PB 1
A I 1.5
JC PB 6
A I 3.2
JU PB5
O I 5.3
BE BE
BEBE
JC PB10
PB 6
O I 3.0
PB 10PB 5
A I 1.0 A I 2.0
Note:
On the SINUMERIK 880 GA2, SW1, and SINUMERIK 840C, OB 19 is called if a non-existent
program block is called.
2–2
© Siemens AG 1992 All Rights Reserved 6FC5197- AA80
SINUMERIK 840C/880 (PJ)
Vedere la pagina 14
1 2 ... 10 11 12 13 14 15 16 17 18 19 20 ... 128 129

Commenti su questo manuale

Nessun commento