P3: Basic PLC Program for SINUMERIK 840D sl
13.6 Coupling of the PLC CPUs
Basic Functions
860
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Figure 13-3
NCK/PLC coupling on SINUMERIK 840D (integrated PLC)
NCK/PLC interface
As illustrated in the figure, NCK/PLC data exchange is organized by the basic program in the PLC. At the
beginning of the cycle (OB1), the status information(e.g. "Program running") written to the internal DPR (DPR =
Dual Port RAM) by the NCK is copied to data blocks by the basic program, which the user can then access (user
interface). The control signals for the NCK (e.g. NC start) entered in the interface data blocks by the user are also
written to the internal DPR and transmitted to the NCK at the start of the cycle.
Workpiece-program-specific auxiliary functions transferred to the PLC are first evaluated by the basic program
(interruptdriven) and then transferred to the user interface at the start of OB 1. If the relevant NC block contains
auxiliary functions that require that NCK processing is interrupted (e.g. M06 for tool change), the basic program
stops the decoding of the NCK block initially for one PLC cycle. The user can then use the "read disable"
interface signal to halt the block execution until the tool change has been completed. If, on the other hand, the
relevant NC block only contains auxiliary functions, which do not require interruption of the decoding (e.g. M08
for cooling medium on), the transfer of these "fast" auxiliary functions is directly acknowledged in OB 40, so that
decoding is only insignificantly influenced by the transfer to the PLC.
&EXV
6XEVWFRPP
ZRUNVEXV
1&.
ಱ&3
'
VOರ
&
3/&
6
6
6
&
(7
&5LVF
230&3
(63*
9',
,QWHUIDFH
6,180(5,.&RQWURO8QLW1&8
352),%86
LQWHUQDOEXVಯ&EXVUDFNರ
6SURWRFRO
5HDOWLPHV\VWHP
'ULYH
8QLWV
03,352),%86
(WKHUQHW7&3,3
,QWHUQDOYLUWXDO352),%86
'3'LUHFW
$FFHVV
([WHUQDO
'ULYH
8QLWV
(WKHUQHW3RUW
(WKHUQHW
6WDUWXSSRUW
Содержание SINUMERIK 828D Turning
Страница 34: ...Basic Functions 34 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 146: ...A3 Axis Monitoring Protection Zones 2 6 Data lists Basic Functions 146 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 328: ...F1 Travel to fixed stop 6 5 Data lists Basic Functions 328 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 816: ...K2 Axis Types Coordinate Systems Frames 10 9 Data lists Basic Functions 816 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1198: ...P4 PLC for SINUMERIK 828D 14 6 Function interface Basic Functions 1198 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1752: ...Appendix 20 2 Overview Basic Functions 1752 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...
Страница 1774: ...Glossary Basic Functions 1774 Function Manual 09 2011 6FC5397 0BP40 2BA0 ...