PeterW
Member
RMA said:The strange thing is that Peter's code doesn't change from comparing the #IW current count with #SW_PAU, the Pause time, to comparing it with #SW_Imp, the Impulse time. The counter always runs to 10 secs instead of alternating between 10 and 5 secs, which are the values I'm using at present. This is also happening with my backward counting, modified, version of the original FC (with Impuls as IN_OUT).
Because the problem is external.