Internet PLC Forum
General => Technical support => Topic started by: dk_akj on April 28, 2004, 11:50:49 AM
-
Hi.
Is it possible to use arguments and returnvalues from custom functions ??
Regards
Anders
-
No, parameters and return values are passed via global variables. Although it is nice to be able to pass parameters and return values to and from custom function it is difficult to view the parameters and return values during online monitoring.
-
Thanks
Another question... Is it possible to monitor a custom function ??
Anders
-
To a certain exent, you can monitor whether a custom function has been executed by checking on the color of the {CusF} symbol and the last executed function number shown on the online monitoring screen. The most sure footed check of whether a custom function has been executed is to put a "PAUSE" statement where you want the program to halt so that you can examine the values of the internal variable at that instant. The online monitoring continue to work even though the PLC program is halted. You can resume execution by releasing it from the Pause state.
-
It would be nice to have the old TRACE feature.
Remember those old BASIC days....lol