Description Of The Plc Program - 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
Description of the PLC program
The operator input system for tool data implemented in the SINUMERIK 880 system has a
transparent modular structure. Starting from the example for milling machines without
background magazine (Tool call: "T=ID No."), machine-specific adaptations are possible
according to a modular principle. Individual functions can be added or removed. The operator
input system has the following structure:
Softkey functions are assigned to the individual displays,
Each softkey function is assigned a function block (if necessary, with subroutines),
Each function block is assigned a data block (length: 8 DWs) in the interface data block
DB 146 for display parameters,
Each FB has both a dynamic und a static call signal for activating the FB (the FB can be
activated by the static signal for several cycles.),
Those functions that may not be interrupted can disable all other functions by setting a
central disable flag during their own execution.
Note: The operating example refers to TO area 1.
9.1.3.1 Function of the dynamic call signal
The dynamic call signal corresponds to the positive-going edge of the softkey parameter. In
this way, the function block assigned to this function is called when this key is pressed.
9.1.3.2 Function of the static call signal
If several PLC cycles are required to execute a function, the static call signal can be set in the
relevant function block for the duration of the function. The static call signal must be reset
when the function is terminated.
9.1.3.3 Function of the central disable flag
The disable flag is set in function blocks which must not be interrupted by other functions, i.e.
all other functions are disabled by setting the disable flag. When the disable flag is set, only
the function with a static "1" signal can be processed. The disable flag must be reset when
the function is terminated!
To add a new function, proceed as follows:
Extend menu tree (softkey parameters, submenu if available);
Generate new display (if necessary);
Update link list and link again;
Generate function block for the new function;
Call function block conditionally in central call block (FB 160).
9–28
© 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