Detailed description
2.12 Block descriptions
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 call is permitted only in cyclic program OB 1.
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 of the function
FUNCTION_BLOCK FB 7
Var_INPUT
END_VAR
VAR_OUTPUT
END_VAR
156
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 ;
WVar10 :
WORD ;
WVar11 :
WORD ;
WVar12 :
WORD ;
WVar13 :
WORD ;
WVar14 :
WORD ;
WVar15 :
WORD ;
WVar16 :
WORD ;
FMNCNo :
INT ;
Error :
BOOL ;
Done :
BOOL ;
State :
WORD ;
//(in FMNC only)
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0