*PROGNAME (GETMODE)
PLBCMP GUI Only
*PROGNAME={value}
The *PROGNAME keyword returns the program name used when the currently executing PLC program was compiled. Note that the program name used at compilation time may not be the same as the current file name of a PLC module. Also note that when this instruction is executed in a load module, the name of the load module is returned.
{value} is a previously defined Character Variable that reports the original program name.
See Also: List Controls (GETMODE), GETMODE
![]() |