Siemens SINUMERIK 840D sl Function Manual page 939

Hide thumbs Also See for SINUMERIK 840D sl:
Table of Contents

Advertisement

Description of formal parameters
Signal
Req:
PIService:
Unit:
Addr1 to Addr4:
WVar1 to WVar10:
Error:
Done:
State:
1)
Call example
Function: Program selection in channel 1 (main program and workpiece program)
Entry of PI service for DB16 and STR for DB124 using the S7 SYMBOL editor:
Parameterization
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Ty
Type
pe
I
BOOL
I
ANY
I
INT
I
ANY
I
WORD
O
BOOL
O
BOOL
O
WORD
State
Description
3
Negative acknowledgement, job not ex‐
ecutable
6
FIFO full
7
Option not set
9
Transmission occupied
13
Addr1.. Adddr4: Reference invalid
14
PI service is unknown
15
Addr1.. Adddr4: String too long
Symbol
PI
STR
P3: Basic PLC program for SINUMERIK 840D sl
Value range
0 (FALSE), 1 (TRUE)
"<DBName>".<PI serv‐
ice>
1, 2, 3 ...
"<DBName>".<Var‐
Name>
-32768 ... 32767
8000
- 7FFF
H
H
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
1)
Operand
DB16
DB124
13.17 Block descriptions
Description
Job request
Requested PI service
● <DBName>: symbol name for
DB16, default: "PI"
● <PI service>: List of available Pl
services (Page 941)
Area number
Reference to a string
Significance depending on selected PI
service
INTEGER or WORD variable
Significance depending on selected PI
service
Error status
1: Negative acknowledgment of job or
execution of job impossible
Job status
1: Job successfully executed
Error detection
Only relevant if "Error" == 1
Note
Internal error, possible remedy through
an NC RESET
Repeat the command
FB1 parameter "NCKomm" is not set
Repeat the command
Specify missing string
The PI service specified in the "PISer‐
vice" parameter is unknown. → Check
notation.
Check string lengths
Data type
DB16
DB124
939

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents