PL7 object language
35015365.01 07/2008 41
Examples:
z %MW15 = single length internal word number 15
z %MF20 = floating internal word number 20
z %KD26 = constant double word number 26
z %SW30 = system word number 30
Format B 8 bits Octet, this format is used exclusively for operations on character
strings.
W 16 bits Single length.: these 16 bit words can contain an algebraic value
between - 32 768 and 32 767,
D 32 bits Double length: these 32 bit words can contain an algebraic value
between -2 147 483 648 and 2 147 483 647. These words are
stored in the memory on two consecutive single length words.
F 32 bits Floating: the floating format used is the IEEE Std 754-1985
standard (equivalent to IEC 559). The length of the words is 32 bits,
which corresponds to single precision floating numbers.
Examples of floating values:
1285.28
12.8528E2
Number i - The maximum number value depends on the number of objects
configured.
Family Element Values Description
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 1 1 1 0 0 1 1 0 1 0 0
Most Significant Bit
Least Significant Bit
Bit position
15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
0 1 1 1 0 1 1 1 0 0 1 1 0 1 0 0
0 0 1 1 0 1 1 0 0 1 0 1 0 0 1 0
Least Significant Bit
Most Significant Bit