Fb5: Getgud - Read Gud Variable - Siemens SINUMERIK 840D sl Function Manual

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

Advertisement

Description of formal parameters
Signal
PIService:
Unit:
Addr1:
WVar1:
WVar2:
WVar3:
WVar4:
13.17.5

FB5: GETGUD - read GUD variable

Function
The function block FB5 "GETGUD" is used for reading global user data (GUD) in the NC or
channel area.
In order to reference the NC variables, they are first selected with the "NC VAR selector" tool
and generated as STL source in a data block. A name must then be assigned to this data block
in the S7 symbol table. When calling FB2, the variable addresses are transferred in the
following form: Parameter "Addr1" to "Addr8" = "<DB name>".<S7 name>"
Request for reading NC variables
Call of FB5 with positive edge change, parameter "Req" = 0 → 1
Parameter "Addr": The pointer to the name of the GUD variables, symbolically with "<Data
block>".<Variable name>
Basic Functions
Function Manual, 01/2015, 6FC5397-0BP40-5BA2
Type
Value range
ANY
"PI".FDPLMT
INT
1, 2, 3 ... 10
STRING
INT
-1, 1, 2, 3 ...
32000
INT
-1, 1, 2, 3 ...
32000
INT
-1, 1, 2, 3 ...
32000
INT
-1, 1, 2, 3 ... 999 Multitool location number of the tool location to
P3: Basic PLC program for SINUMERIK 840D sl
Description
Search/check an empty tool location within a multi‐
tool
TOA
Tool name of the tool to be positioned in the multi‐
tool (max. 32 characters)
Tool number (T number) of the tool to be positioned
in the multitool
-1: The tool number is irrelevant, "Addr1" and
"WVar2" must be programmed
1, 2, 3 ... 32000: Tool number
Duplo number of the tool to be positioned in the
multitool
1, 2, 3 ... 32000: Duplo number
-1: The duplo number is irrelevant, "WVar1" must
be programmed
Number of the multitool
1, 2, 3 ... 32000: Number of the multitool
-1: Search of all multitools for an empty location or
check of all multitools to see whether the specified
tool location is free in one of them for accommodat‐
ing the tool.
which the system should be positioned
1, 2, 3, ... 999: Multitool location number
-1: Search for any empty tool location within the
multitool
13.17 Block descriptions
965

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 828dSinumerik 840de sl

Table of Contents