Siemens SINUMERIK 840D sl Function Manual page 969

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

Advertisement

WORD H
1 - 8
1) High byte > 0 ⇒ Number of the variable in which the error occurred
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
Call example 1
Read a GUD variable from channel 1:
● Name "GUDVAR1"
● Type: INTEGER
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
State
Description
WORD L
1)
0
10
Error in addressing
0
11
Address of variable invalid
13
ANY data reference incorrect String/NcVar data required has not been par‐
0
15
String more than 32 charac‐
ters
User: Set request, Req = 0 → 1
FB4: PI service successfully completed, Done = 1
User: Reset request, IF Done == 1 THEN Req = 0
User: IF Done == 1 THEN reset request: 1 → 0
FB4: Reset job confirmation, Done = 0
User: IF Done == 0 AND Error == 0 THEN reset request Req = 1 → 0 not permissible
FB4: PI service completed with errors, Error = 1
User: Reset request, IF Done == 1 OR Error == 1 THEN Req = 0, possible further error handling
P3: Basic PLC program for SINUMERIK 840D sl
Note
Unit contains value 0
Address check (or variable name), area, unit
ameterized
GUD variable name too long
13.17 Block descriptions
969

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents