FB 142

     :JU   FB 142                                                                                                               
Name :B-LEN                                                                                                                     
TYPE :     KS DB                                                                                                                
BNBR :     KF +00100                                                                                                            
ERR  :     F  140.0                                                                                                             
BLEN :     FW 100                                                                                                               
This FB will return the block length of the selected block.

TYPE = DB/DX/FB/FX/SB/PB/OB
BNBR = BLOCK NUMBER (eg. 30)
ERR = This bit is set if there is a parameterisation error.
	OR the block does not exist.
BLEM = store for the block length.

