Symbolized tables and indexed objects
(Original Document)
Introduction
Conversion replaces the PL7 objects by their Control Expert equivalent.
Tables of memory and constant objects
The following table describes any correspondence and differences between the symbolized tables of PL7 and Control Expert memory and constant objects.
PL7
Control Expert
Status
Address
Associated symbol
Address
Associated variable (1)
Tables of memory and constant objects
%MWi:L
TABA:L
%MWi:L
TABA_L
Modified (2)
%MDi:L
TABB:L
%MDi:L
TABB_L
%Mi:L
TABC:L
%Mi:L
TABC_L
%MFi:L
TABD:L
%MFi:L
TABD_L
%KWi:L
TABE:L
%MWi:L
TABE_L
%KDi:L
TABF:L
%MDi:L
TABF_L
%KFi:L
TABG:L
%MFi:L
TABG_L
Legend:
(1)
(2)
The table is declared from [0..L-1], its type and location depending on the address.
Example: %MWi:L, declared in PL7 as TABA:L, in converted into TABA_L. TABA_L is therefore a declared table from [0..L-1], of type INT, located at %MWi and with the same comment as TABA.
I/O object tables
The following table describes any correspondence and differences between the symbolized tables of PL7 and Control Expert input/output objects.
PL7
Control Expert
Status
Address
Associated symbol
Address
Associated variable (1)
I/O object tables
%I@:L
TABA:L
%I@:L
TABA_L
Modified (2)
%IW@:L
TABB:L
%IW@:L
TABB_L
%Q@:L
TABC:L
%Q@:L
TABC_L
%QW@:L
TABD:L
%QW@:L
TABD_L
Legend:
@
Addressing of the in-rack and/or remote input/output objects.
(1)
(2)
The table is declared from [0..L-1], its type and location depending on the address.
Example: %I@:L, declared in PL7 as TABA:L, in converted into TABA_L. TABA_L is therefore a declared table from [0..L-1], of type EBOOL, located at %I@ and with the same comment as TABA.
Indexed memory and constant objects
The following table describes any correspondence and differences between PL7 and Control Expert symbolized indexed memory and constant objects.
PL7
Control Expert
Status
Address
Associated symbol
Address
Associated variable (1)
Indexed memory and constant objects
%MWi[j]
TABA[j]
%MWi[j]
TABA_AR[j]
Modified (2)
%MDi[j]
TABB[j]
%MDi[j]
TABB_AR[j]
%Mi[j]
TABC[j]
%Mi[j]
TABC_AR[j]
%MFi[j]
TABD[j]
%MFi[j]
TABD_AR[j]
%KWi[j]
TABE[j]
%KWi[j]
TABE_AR[j]
%KDi[j]
TABF[j]
%KDi[j]
TABF_AR[j]
%KFi[j]
TABG[j]
%KFi[j]
TABG_AR[j]
Legend:
(1)
(2)
The table is declared from [0..NbMaxMW-i-1], its type and location depending on the address.
Example: %MWi[j], declared in PL7 as TABA[j], in converted into TABA_AR[j]. TABA_AR[j] is therefore a declared table from [0..NbMaxMW-i-1], of type INT, located at %MWi and with the same comment as TABA.
Indexed I/O objects
The following table describes any correspondence and differences between PL7 and Control Expert symbolized indexed input/output objects.
PL7
Control Expert
Status
Address
Associated symbol
Address (1)
Associated variable
Indexed I/O objects
%I@[j]
TABA[j]
%I@[j]
-
Modified
%IW@[j]
TABB[j]
%IW@[j]
-
%Q@[j]
TABC[j]
%Q@[j]
-
%QW@[j]
TABD[j]
%QW@[j]
-
Legend:
@
Addressing of the in-rack and/or remote input/output objects.
(1)