%STOREPLF
The %STOREPLF compiler directive collects program information for any PLFORM directive statements that are encountered after the directive is executed. The instruction uses the following format:
|
|
|
|
Where:
dimPtr
Required. A previously declared DIM pointer that is not an array and is not initialized.
Flags Affected: NONE
Note the following:
The {DimPtr} must be a simple DIM pointer declaration that is not an array and is not initialized.
The compiler generates a delimited data string that includes the label of the PLFORM statement as well as the PLF file name for the specified. A comma character separates the Label and the PLF names. A semicolon character separates data for each PLFORM statement.
The PLFORM statement data is stored at the end of the user PLC program UDA. In addition, the {dimPtr} pointer is initialized to point to the collected PLFORM data.
If the compiler does not encounter an PLFORM statements after the %STOREPLF directive, the {dimPtr} remains as an non-initialized pointer. The MOVEPTR instruction can be executed for the {DimPtr} to determine if it is initialized.
See Also: Example Code, Compiler Directives
![]() |