Siemens SINUMERIK 840D sl Function Manual page 1138

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

Advertisement

Detailed description
2.12 Block descriptions
Pulse diagram
(1)
(2)
(3)
(4)
(5)
(6)
Call example
Reading of a GUD variable with the name "GUDVAR1" as an integer variable
(see also table in FB 2: Assignment of NC data type in SIMATIC data type).
Call and parameterization of FB 5 with instance DB 111:
DATA_BLOCK DB GUDVAR
END_STRUCT;
BEGIN
END_DATA_BLOCK
DATA_BLOCK DB 111
154
Activation of function
Positive acknowledgment: variables have been written
Reset function activation after receipt of acknowledgment
Signal change by means of FB
If function activation is reset prior to receipt of acknowledgment, the output signals are not
updated without the operational sequence of the activated function being affected.
Negative acknowledgment: Error has occurred, error code in output parameter state.
STRUCT
GUDVar1 : STRING[32] := 'GUDVAR1';
GUDVar1T :
STRUCT
SYNTAX_ID :
area_and_unit :
column :
line :
block type :
NO. OF LINES :
type :
length :
END_STRUCT;
//Assignment to symbol table
//Name is defined by user
BYTE ;
BYTE ;
WORD ;
WORD ;
BYTE ;
BYTE ;
BYTE ;
BYTE ;
//Unassigned user DB, as instance for FB 5
Basic logic functions: PLC Basic program powerline (P3 pl)
Function Manual, 11/2006, 6FC5397-0BP10-2BA0

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Sinumerik 840di slSinumerik 840dSinumerik 840diSinumerik 810dSinumerik 840d powerlineSinumerik 840de powerline ... Show all

Table of Contents