10.07.2015 Views

Eksamen des 2012. (pdf) - Avdeling for informasjonsteknologi

Eksamen des 2012. (pdf) - Avdeling for informasjonsteknologi

Eksamen des 2012. (pdf) - Avdeling for informasjonsteknologi

SHOW MORE
SHOW LESS
  • No tags were found...

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Høgskolen i Østfold<strong>Avdeling</strong> <strong>for</strong> in<strong>for</strong>masjonsteknologi83. Noen funksjonsblokkerTOFDescriptionThis timer function block realizes an off-delay timing.If the input IN changes from TRUE to FALSE, switching off is delayed <strong>for</strong> the time interval at input PT. AfterPT has passed, FALSE is issued at the output Q. The time which has already elapsed is indicated at the outputET.Parameter Data types DescriptionIN BOOL If a falling edge is detected, the off-delay timing isstarted.PT TIME preset time interval <strong>for</strong> the delayQ BOOL TRUE if IN = TRUE and ET < PTFALSE if IN = FALSE and ET >= PTET TIME elapsed time intervalNote: The input IN and the output Q can be negated.TONDescriptionThis timer function block realizes an on-delay timing.If the input IN changes from FALSE to TRUE, switching on is delayed <strong>for</strong> the time interval at input PT. AfterPT has passed, TRUE is issued at the output Q. The time which has already elapsed is indicated at the output ET.Parameter Data types DescriptionIN BOOL If a rising edge is detected, the on-delay timing isstarted.PT TIME preset time interval <strong>for</strong> the delayQ BOOL TRUE if IN = TRUE and ET >= PTFALSE if IN = FALSE or ET < PTET TIME elapsed time intervalNote: The input IN and the output Q can be negated.----------------------------------------------------------------------------------------F_TRIGDescriptionThis edge detection function block detects a falling edge. If a falling edge is detected at the input CLK, theoutput Q changes from FALSE to TRUE. Q remains TRUE until the next execution of the function block.If the function block is called <strong>for</strong> the first time, Q is FALSE until the first edge is detected.Parameter Data types DescriptionCLK BOOL detects a falling edgeQ BOOL If a falling edge is detected, Q changesfrom FALSE to TRUE

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!