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.

468 Program Control <strong>Instructions</strong> (JMP, LBL, JSR, RET, SBR, JXR, TND, MCR, UID, UIE, AFI, NOP, EOT, SFP, SFR, EVENT)Example 1:A controller uses multiple programs but a common shut downprocedure. Each program uses a program-scoped tag namedShut_Down_Line that turns on if the program detects a condition thatrequires a shut down. The logic in each program executes as follows:If Shut_Down_Line = on (conditions require a shut down) thenExecute the Shut_Down task one timeRelay LadderProgram AProgram BStructured TextProgram AIF Shut_Down_Line AND NOT Shut_Down_Line_One_Shot THENEVENT (Shut_Down);END_IF;Shut_Down_Line_One_Shot := Shut_Down_Line;Program BIF Shut_Down_Line AND NOT Shut_Down_Line_One_Shot THENEVENT (Shut_Down);END_IF;Shut_Down_Line_One_Shot := Shut_Down_Line;Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!