LoadString
Function - Load a string from the active string table.
Inputs
Input |
Data type |
Description |
ID |
DINT |
ID of the string as declared in the string table. |
Outputs
Output |
Data type |
Description |
Q |
STRING |
Loaded string or empty string in case of error. |
Remarks
This function loads a string from the active string table and stores it into a STRING variable. The StringTable() function is used for selecting the active string table.
The ID input (the string item identifier) is an identifier such as declared within the string table resource. You don't need to "define" again this identifier. The system does it for you.
ST Language
Q := LoadString (ID);
FBD Language
LD Language
|
LoadString |
IEC 61131-3 Automation platform > Programming - Reference guide > String operations > LoadString |
Created with the Personal Edition of HelpNDoc: What is a Help Authoring tool?