PL7 object language
35015365.01 07/2008 51
Description of
Indexable
Objects
The following table defines the objects that can be indexed.
Indexing Double
Words
The real address = direct address of the indexed double word + twice the content of
the index word.
Example: %MD6[%MW100]
If %MW100=10, the word addressed will be 6 + 2 x 10 -->%MD26.
Type Format Address Example Write
access
Input bits Boolean %Ixy.i[index] %I21.3[%MW5] No
Output bit Boolean %Qxy.i[index] %Q32.4[%MW5] Yes
Internal bit Boolean %Mi[index] %M10[%MW5] Yes
Grafcet bit Boolean %Xi[index] %X20[%MW5] No
%Xj.i[index] %X2.3[%MW5] No
Internal words Single length %MWi[index] %MW30[%MW5] Yes
Double length %MDi[index] %MD15[%MW5] Yes
Floating point %MFi[index] %MF15[%MW5] Yes
Constant word Single length %KWi[index] %KW50[%MW5] No
Double length %KDi[index] %KD50[%MW5] No
Floating point %KFi[index] %KF50[%MW5] No
Grafcet words Single length %Xi .T[index] %X20 .T[%MW5] No
%Xj.i .T[index] %X2.3 .T[%MW5] No
Word table %MWi[index]:L %MW50[%MW5]:10 Yes
%MDi[index]:L %MD40[%MW5]:10 Yes
%KWi[index]:L %KW70[%MW5]:20 No
%KDi[index]:L %KD80[%MW5]:10 No
Note: the maximum values of the indexes depend on the types of object indexed.
z For discrete input/output bits: 0<i+index<m (m being the maximum number
of module inputs/outputs).
z For all other objects (except double length or floating objects):
0<i+index<Nmax, Nmax = maximum size depends on the size defined in the
configuration.
For double length or floating words: 0<i+index<Nmax-1.