Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
2-110 Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
Configuration steps
Proceed as follows to read NC variables:
• Select variables with the NC VAR selector.
• Store the selected variables in a *.VAR file in the required project catalog (*.S7D).
• Generate a STEP 7 *.STL source file.
• Generate a DB with the associated address data.
• Enter the symbol for the generated DB in the symbol table so that it is possible to access
the address parameters symbolically in the user program.
• Set FB 2 parameters
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 the output parameter state.
Call example
Reading of three channelspecific 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:
Area Block Name Type No. Byte S7 Name
C[1] M MD20070:
AXCONF_MACHAX_USED[1]
char 20070 1 C1AxConfMachAxUsed1
C[1] M MD20070:
AXCONF_MACHAX_USED[2]
char 20070 1 C1AxConfMachAxUsed2