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...

Create successful ePaper yourself

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

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

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

Saved successfully!

Ooh no, something went wrong!