Technical data

Using F
B 0
If you have not programmed organization block OB 1, the system
program calls FB 0 (provided it is loaded) cyclically instead of OB 1.
Since you have the total operation set of the STEP 5 programming
language available in a function block, programming FB 0 instead of
FB 1 can be an advantage, particularly when you wish to execute a
short time-critical program.
Note
You should only use FB 0 for programming cyclic program
execution (it must not contain parameters).
If both OB 1 and FB 0 are loaded, the system program will only
call organization block
OB 1 cyclically.
"Floating point root extractor" continued:
STL method of representation LAD method of representation
Seg- : C DB 17
ment : SEGMENT 2
1:***
: JU FB 6 FB 6
Seg- NAME : RAD : GP RAD
ment RADI : DD 5 DD 5 RADI VZ F 15.0
2 VZ : F 15.0 SQRT DD 10
*) SQRT : DD 10 :BE
DD= data double word
*) Must be located in separate segments, since the operation "C DB 17"
in segment 1 cannot be converted to LAD/CSF.
Function Blocks
CPU 928B Programming Guide
2 - 36 C79000-B8576-C898-01