Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
126 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
WVar5 : WORD ;
WVar6 : WORD ;
WVar7 : WORD ;
WVar8 : WORD ;
WVar9 : WORD ;
WVar10 : WORD ;
FMNCNo : INT ;
//(in FMNC only)
END_VAR
VAR_OUTPUT
Error : BOOL ;
Done : BOOL ;
State : WORD ;
END_VAR
Description of formal parameters
The following table shows all formal parameters of the function PI_SERV.
Signal Ty
pe
Type Value range Remark
Req I BOOL Job request
PIService I ANY [DBName].[VarName]
Default is:
"PI".[VarName]
PI service description
1)
Unit I INT 1... Area number
Addr1 to Addr4 I ANY [DBName].[VarName] Reference to strings specification
according to selected PI service
WVar1 to WVar10 I WORD 1... Integer or word variables. Specification
according to selected PI service
Error Q BOOL Negative acknowledgment of job or
execution of job impossible
Done Q BOOL Job successfully executed
State Q WORD See error identifiers
1)
See README file on basic program diskette supplied