P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
935
Description of formal parameters
The table below list all formal parameters of the GET function.
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:
VAR_IN_OUT
RD1 :
ANY ;
RD2 :
ANY ;
RD3 :
ANY ;
RD4 :
ANY ;
RD5 :
ANY ;
RD6 :
ANY ;
RD7 :
ANY ;
RD8 :
ANY ;
END_VAR
Signal
Typ
e
Type
Range of values
Remark
Req
I
BOOL
Job start with positive signal edge
NumVar
I
INT
1 ... 8
(corresponds to use of
Addr1 to Addr8)
Number of variables to be read
Addr1 to Addr8
I
ANY
[DBName].[VarName]
Variable identifiers from
NC Var selector
Unit1 to Unit8
I
BYTE
Area address, optional for variable
addressing
Column1 to
Column8
I
WORD
Column address, optional for
variable addressing
Line1 to Line8
I
WORD
Line address, optional for variable
addressing
Error
A
BOOL
Negative acknowledgment of job
or execution of job impossible
NDR
A
BOOL
Job successfully executed Data
are available
State
A
WORD
See error identifiers
RD1 to RD8
I/O
ANY
P#Mm.n BYTE x...
P#DBnr.dbxm.n BYTE x
Target area for read data
State
Significance
Note
WORD H
WORD L
1 ... 8
1
Access error
In high byte number of Var in which
error occurred
0
2
Error in job
Incorrect compilation of Var. in a job