Thanks Ben and Steve.
Renaming the global variables solved the problem.
Search found 19 matches
- Sat Jan 31, 2026 2:46 am
- Forum: General
- Topic: FC11: variables conflict - solved
- Replies: 6
- Views: 1490
- Fri Jan 30, 2026 9:19 pm
- Forum: General
- Topic: FC11: variables conflict - solved
- Replies: 6
- Views: 1490
Re: FC11: Modbus conflict (Ard Nano)
Thank you Steve.
Will do.
Will do.
- Thu Jan 29, 2026 7:02 pm
- Forum: General
- Topic: FC11: variables conflict - solved
- Replies: 6
- Views: 1490
Re: FC11: Modbus conflict (Ard Nano)
Hi again
Is it possible to have a look at the problem?
Thanks
Is it possible to have a look at the problem?
Thanks
- Sun Jan 25, 2026 4:27 am
- Forum: General
- Topic: FC11: variables conflict - solved
- Replies: 6
- Views: 1490
Re: FC11: Modbus conflict (Ard Nano)
Hi again
I checked the program with FC10; OK.
However cannot compile wihout errors with FC11
I checked the program with FC10; OK.
However cannot compile wihout errors with FC11
- Fri Jan 23, 2026 2:17 am
- Forum: General
- Topic: FC11: variables conflict - solved
- Replies: 6
- Views: 1490
FC11: variables conflict - solved
Hi The Nano program has the timed interval, the interrupt on Int0 and the PWM component (Timer0). All works OK ---------------------- After I add the modbus slave I have the error (during compiling): : warning: #warning "PWM Channel Uses Resource Timer 0" #warning "Period control regi...
- Mon Jan 19, 2026 4:42 am
- Forum: General
- Topic: AirMar P66 speed calculation problems
- Replies: 19
- Views: 2777
Re: AirMar P66 speed calculation problems
Hi Martin Many thanks again. I was moving in a wrong direction. ---------------------------------------- After you stressed that different transducer sensors generate different number of pulses, I checked the AirMar P66 and s650 datasheets. --------------------------------------- S650, ST650: Pulse ...
- Sun Jan 18, 2026 8:35 pm
- Forum: General
- Topic: AirMar P66 speed calculation problems
- Replies: 19
- Views: 2777
Re: Duration measurement between two pulses
Thanks. The timed interval component works with FC11 (Nano). On board LED (B5) blinks on/off. ---------------------------------------- On the flowcode help web site I found: Unfortunately there is a small simulation only bug that is preventing the global variable within callback macro from updating,...
- Sat Jan 17, 2026 10:51 pm
- Forum: General
- Topic: AirMar P66 speed calculation problems
- Replies: 19
- Views: 2777
Re: Duration measurement between two pulses
The timed interval component question. If I set the interval = 4 secods. The attached to component macro will be called exactly at 4 seconds. Is not it? What can I do in this macro? Can I insert the loop and run it for 5 seconds? Say, I have 4 seconds to calculate the speed. If (for some reasons) th...
- Sat Jan 17, 2026 6:01 am
- Forum: General
- Topic: AirMar P66 speed calculation problems
- Replies: 19
- Views: 2777
Re: Duration measurement between two pulses
Hi Is it possible to use the timed interval component with start-stop timer? If I start the timed interval component and run it for 4 seconds If during that time the interrupt pin detect the raising edge of the pulse N1 and I start the counting timer If during that counting time the interrupt pin de...
- Sun Jan 11, 2026 8:56 pm
- Forum: General
- Topic: AirMar P66 speed calculation problems
- Replies: 19
- Views: 2777
Re: Duration measurement between two pulses
Hi Martin. I found on www a few weeks back ------------------------------------------ Two ways to measure the flow rate • Count the number of pulses in a known time period. • Time the period between two pulses. The first is easy and accurate but the more accurate you make it, the fewer measurements ...