PLUS+1 User Forum

PLUS+1 Software => General controls => Topic started by: FluidPowerTom on March 09, 2023, 10:19:02 PM

Title: ExecTimeWork=1 but ExecTime=3
Post by: FluidPowerTom on March 09, 2023, 10:19:02 PM
I was looking at the ExecTime on one of my very large applications and saw something curious.  The ExecTimeOut is set to 1.  The ExecTimeWork shows 1 in the Service Tool, but ExecTime reports 3.  What else is there that might be causing all of the overhead?  It's not a problem for this application, but I'd like to better understand this since I'm working on an application where I need to keep ExecTime low.
Title: Re: ExecTimeWork=1 but ExecTime=3
Post by: acmall on March 10, 2023, 10:06:24 AM
I remember seeing a graph and some info about the processing loop for a display but I can't find now.

It was something like: -
[Main Task = Read Inputs - Application - Write Outputs
[---------------------ExecTimeWork------------------------] Background Task = Applog, Graphics, NV]
[-------------------------------------------------ExecTime-------------------------------------------------]

If I remember correctly the background tasks could be queued and executed over several loops. A controller won't have the graphics routine but it may be similar.
Title: Re: ExecTimeWork=1 but ExecTime=3
Post by: Tor on March 10, 2023, 02:11:55 PM
Hello,

I think the graph you saw are located in the DM1x00 API document.  Search for "Main and background tasks".


Have a nice day
Title: Re: ExecTimeWork=1 but ExecTime=3
Post by: FluidPowerTom on March 10, 2023, 05:26:06 PM
That makes sense.  However, this is not on a display, and it's not using the AppLog.  It was on a MC050-110.
Title: Re: ExecTimeWork=1 but ExecTime=3
Post by: FluidPowerTom on April 14, 2023, 08:30:36 PM
I'm still curious what might be going on here