EasyManua.ls Logo

Siemens SINUMERIK 828D - Page 972

Siemens SINUMERIK 828D
1799 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
972 Function Manual, 09/2011, 6FC5397-0BP40-2BA0
Description of formal parameters
The table below lists all formal parameters of the GETGUD 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:
Signal
Ty
pe
Type Value range Comment
Req I BOOL Job start with positive signal edge
Addr I ANY [DBName].[VarName] GUD variable name in a variable of
data type STRING
Area I BYTE Area address:
0: NCK variables
2: Channel variables
Unit I BYTE NCK area: Unit:=1
Channel area: Channel no.
Index1 I INT Field index 1 of variable
Variable has the value 0 if no field
index is used.
Index2 I INT Field index 2 of variable
Variable has the value 0 if no field
index is used.
CnvtToken I BOOL Activate generation of a 10 byte
variable token
VarToken I ANY [DBName].[VarName] Address to a 10byte token (see
example)
Error O BOOL Negative acknowledgment of job or
execution of job impossible
Done O BOOL Job successfully executed
State O WORD See error identifiers
RD I/O ANY P#Mm.n BYTE x...
P#DBnr.dbxm.n BYTE x
data to be read
State Meaning Note
WORD H WORD L
0 1 Access error
0 2 Error in job Incorrect compilation of Var. in a job
0 3 Negative
acknowledgment, job not
executable
Internal error, try:
NC RESET
0 4 Data areas or data types
do not tally
Check data to be
read in RD
1 4 Insufficient local user
memory available
read variable is longer than specified
in RD

Table of Contents

Other manuals for Siemens SINUMERIK 828D

Related product manuals