Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
iii
Contents
1 Brief Description ..................................................................................................................................... 1-1
1.1 Brief description ......................................................................................................................... 1-1
2 Detailed Description................................................................................................................................ 2-1
2.1 Key PLC CPU data for 810D, 840D and 840Di ......................................................................... 2-1
2.2 Reserve resources (timers, FC, FB, DB, I/O) ............................................................................ 2-8
2.3 Starting up hardware configuration of PLC CPUs ..................................................................... 2-9
2.4 Starting up the PLC program ................................................................................................... 2-14
2.4.1 Installing the basic program for 810D, 840D ........................................................................... 2-14
2.4.2 Application of basic program.................................................................................................... 2-16
2.4.3 Version codes .......................................................................................................................... 2-17
2.4.4 Machine program ..................................................................................................................... 2-18
2.4.5 Data backup............................................................................................................................. 2-18
2.4.6 PLC series startup, PLC archives:........................................................................................... 2-19
2.4.7 Software upgrades................................................................................................................... 2-21
2.4.8 I/O modules (FM, CP modules) ............................................................................................... 2-22
2.4.9 Troubleshooting ....................................................................................................................... 2-22
2.5 Linking PLC CPUs to 810D, 840D........................................................................................... 2-23
2.5.1 Properties of PLC CPUs .......................................................................................................... 2-24
2.5.2 Interface on 810D and 840D with integrated PLC ................................................................... 2-24
2.5.3 Diagnostic buffer on PLC ......................................................................................................... 2-27
2.6 Interface structure .................................................................................................................... 2-29
2.6.1 PLC/NCK interface................................................................................................................... 2-29
2.6.2 PLC/MMC interface.................................................................................................................. 2-36
2.6.3 PLC/MCP/HHU interface ......................................................................................................... 2-39
2.7 Structure and functions of the basic program .......................................................................... 2-43
2.7.1 Startup and synchronization of NCK PLC................................................................................ 2-45
2.7.2 Cyclic operation (OB1)............................................................................................................. 2-45
2.7.3 Time-alarm processing (OB 35)............................
................................................................... 2-48
2.7.4 Process-alarm processing (OB 40).......................................................................................... 2-48
2.7.5 Response to NC failure............................................................................................................ 2-48
2.7.6 Functions of the basic program called from the user program ................................................ 2-50
2.7.7 Symbolic programming of user program with interface DB ..................................................... 2-52
2.7.8 M decoding acc. to list ............................................................................................................. 2-54
2.7.9 PLC machine data ................................................................................................................... 2-58
2.7.10 Configuration of machine control panel, handheld unit ........................................................... 2-62
2.8 SPL for Safety Integrated......................................................................................................... 2-71
2.9 Assignment overview ............................................................................................................... 2-71
2.9.1 Assignment: NC/PLC interface ................................................................................................ 2-71
2.9.2 Assignment: FB/FC.................................................................................................................. 2-71
2.9.3 Assignment: DB ....................................................................................................................... 2-72
2.9.4 Assignment: Timers ................................................................................................................. 2-74