Siemens SINUMERIK 840D sl Function Manual page 968

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

Advertisement

P3: Basic PLC program for SINUMERIK 840D sl
13.17 Block descriptions
Description of formal parameters
Signal
Req:
Addr:
Area:
Unit:
Index1:
Index2:
CnvtToken:
VarToken:
Error:
Done:
State:
RD:
Error identifiers
WORD H
968
Typ
Type
e
I
BOOL
I
ANY
I
BYTE
I
BYTE
I
INT
I
INT
I
BOOL
I
ANY
O
BOOL
O
BOOL
O
WORD
I/O
ANY
State
Description
WORD L
1)
0
1
Access error
0
2
Error in job
0
3
Negative acknowledgement,
job not executable
0
4
Data areas or data types do
not tally
1
4
Insufficient local user memo‐
ry available
0
6
FIFO full
0
7
Option not set
0
8
Incorrect target area (SD)
0
9
Transmission occupied
Value range
"<DBName>".<Var‐
Name>
0, 2
1, 2, 3, ... 10
0, 1, 2, ... <max. array in‐
dex>
0, 1, 2, ... <max. array in‐
dex>
0 (FALSE), 1 (TRUE)
"<DBName>".<Var‐
Name>
0 (FALSE), 1 (TRUE)
0 (FALSE), 1 (TRUE)
---
P#Mm.n BYTE x ...
P#DBnr.dbxm.n BYTE x
Note
Incorrect compilation of Var. in a job
Internal error, try:
NC RESET
Check data to be
read in RD
read variable is longer than specified in RD
Job must be repeated,
since queue is full
BP parameter "NCKomm" is not set
RD may not be local data
Job must be repeated
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Description
Job start with positive signal edge
Variable name in a variable of the type
STRING
Range:
0: NC
2: Channel
Area == NC: Unit:=1
Area == Channel: Channel number
Array index 1
For variables without array index: In‐
dex1 = 0
Array index 2
For variables without 2nd array index:
Index2 = 0
Activate generation of a 10 byte varia‐
ble token
Address of a 10byte token (see exam‐
ple)
Negative acknowledgement of job or
execution of job impossible
Job successfully executed
See paragraph "Error identifiers"
Target area for read data
Basic Functions

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents