Detailed description
2.12 Block descriptions
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-117
State Meaning Note
WORD H WORD L
0 9 Transmission occupied Job must be repeated
1 to 8 10 Error in variable addressing Unit or column/line contains value 0
0 11 Variable addr. invalid or var. is
read-only
Check Addr (or variable name), area,
unit
0 12 NumVar = 0 Check parameter NumVar
Configuration steps
To write NC variables, the same configuration steps are required as for reading NC
variables. It is useful to store the address data of all NC variables to be read or written in a
DB.
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 the output parameter state.
Call example
Writing of three channelspecific machine data of channel 1:
Select the three data with NC VAR selector and store in the file DB120.VAR:
Area Block Name Type Byte S7 Name
C[1] RP rpa[5] double 4 rpa_5C1RP
C[1] RP rpa[11] double 4 rpa_11C1RP
C[1] RP rpa[14) double 4 rpa_14C1RP