_xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq0_1HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq0_1Hz.Q THEN _iFreq0_1HzCounter := _iFreq0_1HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq0_1HzCounter > 5 THEN TEST_FINISHED(); END_IF]]> _xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq0_5HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq0_5Hz.Q THEN _iFreq0_5HzCounter := _iFreq0_5HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq0_5HzCounter > 5 THEN TEST_FINISHED(); END_IF]]> _xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq1HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq1Hz.Q THEN _iFreq1HzCounter := _iFreq1HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq1HzCounter > 5 THEN TEST_FINISHED(); END_IF]]> _xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq2HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq2Hz.Q THEN _iFreq2HzCounter := _iFreq2HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq2HzCounter > 5 THEN TEST_FINISHED(); END_IF]]> _xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq50HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq50Hz.Q THEN _iFreq50HzCounter := _iFreq50HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq50HzCounter > 5 THEN TEST_FINISHED(); END_IF]]> _xOut); // check results for each cycle depending on alternating timers IF _fbDelayFreq5HzOnTimer.Q THEN AssertTrue(_xOut, 'xOut is supposed to be true but is false.'); ELSE AssertFalse(_xOut, 'xOut is supposed to be false but is true.'); END_IF // increment counter when timer is done IF _fbRtrigFreq5Hz.Q THEN _iFreq5HzCounter := _iFreq5HzCounter + 1; END_IF // finish test after 5 blinking cycles IF _iFreq5HzCounter > 5 THEN TEST_FINISHED(); END_IF]]>