PLUS+1 Software > General controls

Oscillator Min Period? [Resolved]

(1/1)

PatrickS:
I was working on setting up some counters to count up to 1000 over a given time. I'm trying to accomplish this be hooking up oscillators with 1ms on and a given period into a Loop Counter.
I noticed that all my counters were finishing at the same time even if their input oscillators had different periods. Trying to look into it further, I put a Measure Period on each of my oscillators and they all report 50 ms, instead of the expected 2ms, 5ms, and 10ms.
I see in the manual it says that an Oscillator has minimum period of 2 x loop time, but shouldn't the loop time be less than 25 ms? I thought loop time would be 1/72MHz.

acmall:
Check the value set for ExecTimeOut (Inputs-OS).

You can check the actual loop time in the Service Tool by adding a standard log for OS.ExecTime

I think the minimum loop time will depend on the complexity of the software and how many instructions the processor has it execute each loop.

acmall:

You should not need to add a Checkpoint. Connect with the Service Tool and add a standard log, select the ECU and scroll down through the available signals, you should find OS.ExecTime which is your loop time.

Navigation

[0] Message Index

Go to full version