P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
947
Description of formal parameters
The following table shows all formal parameters of the function PI_SERV.
WVar1 :
WORD ;
WVar2 :
WORD ;
WVar3 :
WORD ;
WVar4 :
WORD ;
WVar5 :
WORD ;
WVar6 :
WORD ;
WVar7 :
WORD ;
WVar8 :
WORD ;
WVar9 :
WORD ;
WVar10 :
WORD ;
END_VAR
VAR_OUTPUT
Error :
BOOL ;
Done :
BOOL ;
State :
WORD ;
END_VAR
Signal
Ty
pe Type
Range of values
Remark
Req
I
BOOL
Job request
PIService
I
ANY
[DBName].[VarName]
Standard 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
A BOOL
Negative acknowledgment of job or
execution of job impossible
Done
A BOOL
Job successfully executed
State
A WORD
See error identifiers
1)
See README file on basic program diskette supplied