Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-148 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Index1 := 0, //No field index
Index2 := 0, //No field index
CnvtToken := TRUE, //Conversion into
10-byte token
VarToken := GUDVAR.GUDVar1T,
Error := M102.0,
Done := M100.1,
State := MW104,
RD := P#DB99.DBX0.0
DINT 1
);
2.12.6 FB 7: PI_SERV2 general PI services
Description of functions
A detailed description of the FB 7 is contained in the description of FB 4. The only difference
to FB 4 is the number of WVar1 and subsequent parameters. In FB 7, WVar1 to WVar16 are
defined in VAR_INPUT (FB4 has WVar1 to WVar10). All other parameters are identical to FB
4. This PI server can be used for all PI services previously implemented with FB 4. In
addition, the PI services listed below can only be handled with FB 7.
Declaration
FUNCTION_BLOCK FB 7
Var_INPUT
Req : BOOL ;
PIService : ANY ;
Unit : INT ;
Addr1 : ANY ;
Addr2 : ANY ;
Addr3 : ANY ;
Addr4 : ANY ;
WVar1 : WORD ;
WVar2 : WORD ;
WVar3 : WORD ;
WVar4 : WORD ;
WVar5 : WORD ;
WVar6 : WORD ;
WVar7 : WORD ;
WVar8 : WORD ;
WVar9 : WORD ;