Detailed description
2.12 Block descriptions
Basic logic functions: PLC basic program solution line (P3 sl)
124 Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Description of formal parameters
The following table shows all formal parameters of the function PI_SERV.
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
Error identifiers
If it was not possible to execute a job, the failure is indicated by "logic 1" on status parameter
error. The error cause is coded at the block output State:
State Significance Note
3 Negative acknowledgment, job not
executable
Internal error, try:
NC RESET
6 FIFO full Job must be repeated since queue is
full
7 Option not set BP parameter "NCKomm" is not set
9 Transmission occupied Job must be repeated
13 (0x0d) ANY data reference incorrect String date required has not been
parameterized
14 (0x0e) PIService parameter reference incorrect No valid PI description
15 (0x0f) String too long Addr1.. Check Addr4 strings