Detailed description
2.7 Structure and functions of the basic program
Basic logic functions: PLC basic program solution line (P3 sl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
51
2.7.3
Time-interrupt processing (OB 35)
General
The user must program OB 35 for time-alarm processing. The default time base setting of
OB 35 is 100 ms. A different time base can be selected using the STEP7 "HW Config" tools.
However, the OB 35 time setting must be at least 3 ms in order to avoid a PLC CPU stop.
The stop is caused by reading of the HMI system state list during powerup of the HMI. This
reading process blocks priority class control for approx. 2 ms. The OB 35 with a time base
set to a rather lower value is then no longer processed correctly.
2.7.4
Process interrupt processing (OB 40)
General
A process interrupt OB 40 (interrupt) can, for example, be triggered by appropriately
configured I/Os or by certain NC functions. Due to the different origin of the interrupt, the
PLC user program must first interpret the cause of the interrupt in OB 40. The cause of the
interrupt is contained in the local data of OB 40.
(For more information please also refer to the SIMATIC STEP7 description or the STEP7
online help).
2.7.5
Diagnostic interrupt, module failure processing (OB 82, OB 86)
General
A module diagnosis or module failure on an I/O module triggers OB 82 / OB 86. These
blocks are supplied by the basic program. The basic program block FC5 is called in these
OBs. This is wired by default to trigger a PLC stop in the event of an error being detected. A
PLC Stop
•
If the cause of the error is removed, a PLC stop will not be triggered.
•
does not occur in case of the Profibus-MCPs specified as the FB 1 parameters.
The response can be changed by modifying the FC5 parameter setting.
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...