Table of contents
Basic Functions
22
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
13.2 Key data of the PLC-CPUs for 840D sl and 840Di sl............................................................... 839
13.3 Reserve resources (timers, counters, FC, FB, DB, I/O) .......................................................... 846
13.4 Startup hardware configuration of the PLC-CPUs................................................................... 847
13.5 Starting up the PLC program................................................................................................... 852
13.5.1 Installation of the basic program .............................................................................................. 852
13.5.2 Application of basic program ................................................................................................... 852
13.5.3 Version codes .......................................................................................................................... 853
13.5.4 Machine program ..................................................................................................................... 853
13.5.5 Data backup ............................................................................................................................ 854
13.5.6 PLC-series startup, PLC archive ............................................................................................. 854
13.5.7 Software upgrade .................................................................................................................... 856
13.5.8 I/O modules (FM, CP modules) ............................................................................................... 857
13.5.9 Troubleshooting ....................................................................................................................... 858
13.6 Coupling of the PLC CPUs ..................................................................................................... 859
13.6.1 General .................................................................................................................................... 859
13.6.2 Features of PLC CPUs ............................................................................................................ 859
13.6.3 Interface with integrated PLC .................................................................................................. 859
13.6.4 Diagnostic buffer on PLC ......................................................................................................... 861
13.7 Interface structure.................................................................................................................... 862
13.7.1 PLC/NCK interface .................................................................................................................. 862
13.7.2 Interface PLC/HMI ................................................................................................................... 868
13.7.3 PLC/MCP/HHU interface ......................................................................................................... 873
13.8 Structure and functions of the basic program.......................................................................... 875
13.8.1 Startup and synchronization of NCK PLC .............................................................................. 877
13.8.2 Cyclical mode (OB 1) ............................................................................................................... 877
13.8.3 Time-interrupt processing (OB 35) .......................................................................................... 879
13.8.4 Process interrupt processing (OB 40) ...................................................................................... 879
13.8.5 Diagnostic interrupt, module failure processing (OB 82, OB 86) ............................................. 880
13.8.6 Response to NCK failure ......................................................................................................... 880
13.8.7 Functions of the basic program called from the user program ................................................ 881
13.8.8 Symbolic programming of user program with interface DB ..................................................... 884
13.8.9 M decoding acc. to list ............................................................................................................. 886
13.8.10 PLC machine data .........................................
.......................................................................... 890
13.8.11 Configuration machine control panel, handheld unit, direct keys ............................................ 894
13.8.12 Switchover of machine control panel, handheld unit ............................................................... 902
13.9 SPL for Safety Integrated ........................................................................................................ 905
13.10 Assignment overview............................................................................................................... 906
13.10.1 Assignment: NCK/PLC interface .............................................................................................. 906
13.10.2 Assignment: FB/FC .................................................................................................................. 906
13.10.3 Assignment: DB ....................................................................................................................... 907
13.10.4 Assignment: Timers ................................................................................................................. 908
13.11 Memory requirements of the basic PLC program.................................................................... 909
13.12 Basic conditions and NC VAR selector.................................................................................... 912
13.12.1 Supplementary conditions ....................................................................................................... 912
13.12.1.1Programming and parameterizing tools ................................................................................... 912
13.12.1.2SIMATIC documentation required ........................................................................................... 913
13.12.1.3Relevant SINUMERIK documents ........................................................................................... 914