Download Siemens HB 131. 10 B Technical data

Transcript
Program Organization
Nesting depth
You can only nest 62 blocks within one another. If more than 62
blocks are called, the CPU signals an error and goes to the stop mode.
Example of nesting depth
Program
processing
level
3
OB 25
OB 2
OB 13
OB 1
PB 1
PB 131
FB 21
FB 131
FB 1
Nesting depth
1
Fig. 3-5
2
3
4
5
6
7
8
9
Example of block nesting depth
You can determine the nesting depth of your program as follows:
- Add all the organization blocks you have programmed
(in the example: 4 OBs).
- Add the nesting depth of the individual organization blocks
(in the example: 2 + 2 + 1 + 0 = 5).
- Add the two amounts together to obtain the program nesting depth
(in the example: 4 + 5 = nesting depth 9). It may not exceed a value
of 62.
CPU 928B Programming Guide
C79000-B8576-C898-01
3-9