Detailed description
2.12 Block descriptions
Basic logic functions: PLC Basic program powerline (P3 pl)
114
Function Manual, 11/2006, 6FC5397-0BP10-2BA0
Pulse diagram
1'5
5HT
(UURU
(1)
Activation of function
(2)
Positive acknowledgment: Receive new data
(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 three channel-specific machine data from channel 1, whose address
specifications are stored in DB120.
Select data with NC VAR selector and store in file DB120.VAR; then create file DB120.AWL:
range Block
Name
Type No.
Byte S7 Name
C[1]
M
(GND)
MD20070:
AXCONF_MACHAX_USED[1]
char 20070 1
C1AxConfMachAxUsed1
C[1]
M
(GND)
MD20070:
AXCONF_MACHAX_USED[2]
char 20070 1
C1AxConfMachAxUsed2
C[1]
M
(GND)
MD20090:
SPIND_DEF_MASTER_SPIND
int
20090 1
C1SpindDefMasterSpind
S7 (ALIAS) names have been selected in order to:
•
Incorporate the channel designation into the name
and
•
Remove the characters [ ], which are not legal in a STEP 7 symbol.
Entry of the name in the S7 SYMBOL table (e.g., NCVAR for DB 120):
Symbol
Operand
Data type
NCVAR
DB 120
DB 120
File DB120.AWL must be compiled and transferred to the PLC.
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 ...