Program Structure - Siemens SINUMERIK 840 Planning Manual

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

Advertisement

9 Examples
9.1.3 Description of the PLC program

9.1.3.10 Program structure

OB 20:
JU PB 2
BE
PB 2:
JU FB 117
BE
OB 1:
JU PB 12
* * *
JU PB 13
* * *
JU FXXXX
BE
PB 13:
JU FB 160
BE
FB 160:
JU FB 161
* * *
* * *
AN F 224.0
A
F XXX.X
O F YYY.Y
JC FB ZZZ
* * *
* * *
BE
If the data distributor (FB 139) is not used, DB 144 must be initialized
with the length 7 to ensure that FB 190 can set bit 7.0, FB 191 bit 7.1 and
FB 192 bits 2 to 7 in DW 7 and thus signal to the data distributor that they
If loading via tape is not required, it is recommendable to modify the
menu tree accordingly and remove the call of FB 190 in FB 160. The
generation of DB 135 with a length of 2 is thus no longer necessary.
9–36
TOOL MANAGEMENT STARTUP
CREATE MAGAZINE TABLE
TOOL MANAGEMENT
DISPLAY AND OPERATOR COMMUNICATION
INPUT VIA TAPE
CENTRAL CALL BLOCK
CONTROL BLOCK
LOAD FLAG
CENTRAL DISABLE FLAG
DYNAMIC FUNCTION FLAG
STATIC FUNCTION FLAG
FUNCTION-SPECIFIC BLOCK
SAVE FLAG
are available.
© Siemens AG 1991 All Rights Reserved
01.91
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