Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
154
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Pulse diagram
'RQH
5HT
(UURU
(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)
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.
(6)
Negative acknowledgment: Error has occurred, error code in output parameter state.
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
//Assignment to symbol table
STRUCT
GUDVar1 : STRING[32] := 'GUDVAR1';
//Name is defined by user
GUDVar1T :
STRUCT
SYNTAX_ID :
BYTE ;
area_and_unit :
BYTE ;
column :
WORD ;
line :
WORD ;
block type :
BYTE ;
NO. OF LINES :
BYTE ;
type :
BYTE ;
length :
BYTE ;
END_STRUCT;
END_STRUCT;
BEGIN
END_DATA_BLOCK
DATA_BLOCK DB 111
//Unassigned user DB, as instance for FB 5
Summary of Contents for SINUMERIK 840D sl
Page 282: ...Index Basic logic functions Acceleration B2 64 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 388: ...Basic logic functions Travel to fixed stop F1 Function Manual 11 2006 6FC5397 0BP10 2BA0 52 ...
Page 962: ...Index Basic logic functions Emergency Stop N2 20 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1704: ...Constraints Basic logic functions Spindles S1 94 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1716: ...Index Basic logic functions Spindles S1 106 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 1996: ...Index Basic logic functions Tool Offset W1 208 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2150: ...Table of contents Basic logic functions Appendix 4 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...
Page 2184: ...Glossary Basic logic functions Appendix 38 Function Manual 11 2006 6FC5397 0BP10 2BA0 ...