Detailed description
2.12 Block descriptions
Pulse diagram
(1)
(2)
(3)
(4)
(5)
(6)
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
C[1]
C[1]
C[1]
S7 (ALIAS) names have been selected in order to:
• Incorporate the channel designation into the name
• 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
NCVAR
File DB120.AWL must be compiled and transferred to the PLC.
114
Activation of function
Positive acknowledgment: Receive new data
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
Block
Name
M
MD20070:
(GND)
AXCONF_MACHAX_USED[1]
M
MD20070:
(GND)
AXCONF_MACHAX_USED[2]
M
MD20090:
(GND)
SPIND_DEF_MASTER_SPIND
and
Type No.
char
char
int
Operand
DB 120
Basic logic functions: PLC Basic program powerline (P3 pl)
Byte S7 Name
20070
1
C1AxConfMachAxUsed1
20070
1
C1AxConfMachAxUsed2
20090
1
C1SpindDefMasterSpind
Data type
DB 120
Function Manual, 11/2006, 6FC5397-0BP10-2BA0