Detailed description
2.10 Memory requirements of basic PLC program for 840D
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
83
Basic program options
FB 4 PI services Load for PI services 334 214
DB o1) PI services One instance DB per FB 4 call 234 each 130 each
DB 16 PI services description Load for PI services 1190 408
FB 5 Read GUD variables Load for PI services 532 365
DB p Read GUD variables One instance DB per FB 5 call 308 each 166 each
FB 6 General
communication
Load for Read/write NC variables and PI
services
5986 5228
DB 15 General
communication
Instance DB for FB 6 440 172
Tool management
FC 6 Basic function Load for tool management option 1382 1182
FC 7 Transfer function
turret
Load for tool management option 530 430
FC 8 Transfer function Load for tool management option 1002 834
FC 22 Direction selection Load if direction selection is required 404 300
DB 71 Loading locations Generated by BP as a function of NC MD 30*B 30*B
DB 72 Spindles Generated by BP as a function of NC MD 48*Sp 48*Sp
DB 73 Turret Generated by BP as a function of NC MD 44*R 44*R
DB 74 Basic function Generated by BP as a function of NC MD (B+
Sp+R)*20
(B+
Sp+R)*20
Compile cycles
DB 9 Interface
PLC compile cycles
Is generated by BP as a function of NC option 472 436
1): DB number must be specified by PLC user
Example:
Based on the memory requirements in the table above, the memory requirements have been
determined for two sample configurations (see table below).
Block size (bytes)
Block
type no.
Function
Remark
Load
memory
Working
memory
Minimum configuration (1 spindle, 2 axes and TMCP)
See above Basic program, base 14796 11720
Interface DBs 1290 1054
MCP 2300 1962
Total 18386 14736