12.07.2015 Views

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

Logix5000 Controllers General Instructions - SLAC Confluence

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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

122 Timer and Counter <strong>Instructions</strong> (TON, TOF, RTO, TONR, TOFR, RTOR, CTU, CTD, CTUD, RES)Example:Each scan that limit_switch1 is set, the RTOR instruction incrementsthe ACC value by elapsed time until the ACC value reaches the PREvalue. When ACC ≥ PRE, the DN parameter is set, and timer_state3is set.Structured TextRTOR_01.Preset := 500RTOR_01.Reset := reset;RTOR_O1.TimerEnable := limit_switch1;RTOR(RTOR_01);timer_state3 := RTOR_01.DN;Function BlockPublication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!