Detailed description 
  2.12 Block descriptions 
Power Line Basic PLC Program (P3) 
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0 
2-119 
Example: Variable addressing 
Writing of two R parameters of channel 1, whose address specifications are stored in 
DB 120 as the basic type. The R parameter number is parameterized via parameter LineX. 
 
DATA_BLOCK DB 120 
VERSION : 0.0 
STRUCT 
 C1_RP_rpa0_0: 
 STRUCT 
  SYNTAX_ID :  BYTE := B#16#82; 
  area_and_unit :  byte := B#16#41; 
  column :  word := W#16#1; 
  line :  word := W#16#0; 
  block type :  byte := B#16#15; 
  NO. OF LINES :   BYTE := B#16#1; 
  type :  byte := B#16#F; 
  length :  byte := B#16#8; 
 END_STRUCT; 
END_STRUCT; 
BEGIN 
END_DATA_BLOCK 
CALL FB 3, DB 122 ( 
  Req :=  M 10.0, 
 NumVar :=  2, 
 Addr1 :=  "NCVAR".C1_RP_rpa0_0, 
 Line1 :=  W#16#1, 
 Addr2 :=  "NCVAR".C1_RP_rpa0_0, 
 Line3 :=  W#16#2 
  Error :=  M 11.0, 
  Done :=  M 11.1, 
  State :=  MW 12, 
  SD1 :=  P#M 4.0 REAL 1, 
  SD2 :=  P#M 24.0 REAL 1);