P3: Basic PLC Program for SINUMERIK 840D sl
13.13 Block descriptions
Basic Functions
Function Manual, 09/2011, 6FC5397-0BP40-2BA0
973
Configuration steps
To be able to read a GUD variable, its name must be stored in a string variable. The data block with this string
variable must be defined in the symbol table so that the "Addr" parameter can be assigned symbolically for FB
GETGUD. A structure variable can be defined optionally in any data area of the PLC to receive the variable
pointer (see specification in following example).
Pulse diagram
0 6 FIFO full Job must be repeated,
since queue is full
0 7 Option not set BP parameter "NCKomm" is not set
0 8 Incorrect target area (SD) RD may not be local data
0 9 Transmission occupied Job must be repeated
0 10 Error in addressing Unit contains value 0
0 11 Address of variable
invalid
Address check (or variable name),
area, unit
1 ... 8 13 (0x0d) ANY data reference
incorrect
String/NcVar data required has not
been parameterized
0 15 (0x0f) String more than 32
characters
GUD variable name too long
(1) Activation of function
(2) Positive acknowledgment: variables have been written
(3) Reset function activation after receipt of acknowledgment
(4) Signal change by means of FB
(5) Not permissible
(6) Negative acknowledgment: Error has occurred, error code in the output parameter "State"
State Meaning Note
WORD H WORD L
'RQH
5HT
(UURU