In PL7 applications, especially for TSX Micro, direct addresses without symbols are frequently used.
Direct addressing in programs has the following drawbacks:
-
These variables are not listed in the Data Editor in Control Expert, because they do not have a symbol.
-
To reuse parts of the program later is difficult, because the program cannot be changed easily with direct addresses.
-
With addresses in the program, the programmer cannot switch located variables to unlocated variables.
For all these reasons, the converter provides a service to assign a symbol to direct addresses used in the program automatically.
A unique symbol is derived from the direct addresses by exchanging all non-letters and non-number characters into the underscore character.
PL7
|
Control Expert
|
%MW100
|
MW100
|
%I0.2.3.4.
|
I0_2_3_4
|
Symbols Instead of Direct Addresses
Before starting the converting process in Control Expert the Symbols Instead of Direct Addresses option can be set via Tools → Options.