Siemens SINUMERIK 828D Function Manual page 972

Hide thumbs Also See for SINUMERIK 828D:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840d sl

Table of Contents