Detailed description
2.7 Structure and functions of the basic program
Power Line Basic PLC Program (P3)
Function Manual, 08/2005 Edition, 6FC5397-0BP10-0BA0
2-59
The basic program stores the data in DB 20 in the following order:
Integer MD, Hex field MD, Real MD.
The integer and real values are stored in DB 20 in S7 format.
Hexadecimal data are stored in DB20 in the order in which they are input (use as bit fields).
'%
8VHUPDFKLQH
GDWDW\SH,17
1RRI8',QW
1RRI8'+H[
1RRI8'5HDO
8VHUPDFKLQH
GDWDW\SH%<7(
8VHUPDFKLQH
GDWDW\SH5($/
Fig. 2-14 DB 20
Note
If the number of PLC machine data used is increased later, then DB20 must be deleted
beforehand. To prevent such extensions in use having any effect on the existing user
program, the data in DB20 should be accessed in symbolic form wherever possible, e.g., by
means of a structure definition in the UDT.
Interrupts
400120 Delete DB 20 in PLC and restart
Explanation DB length is not the same as the required DB length
Response Alarm display and PLC STOP
Remedy Delete DB 20 followed by Reset
Continuation After cold restart