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.

612 ASCII String <strong>Instructions</strong> (CONCAT, DELETE, FIND, INSERT, MID)Structured TextIF term_read.EM THENDELETE(term_input,1,1,term_text);term_read.EM := 0;END_IF;Find String (FIND)The FIND instruction locates the starting position of a specified stringwithin another stringOperands:FINDFind StringSource ???Search ???Start ???Result ???Relay LadderOperand Type Format Enter NotesSource string tag string to search in String data types are:Search string tag string to findStartSINTINTimmediatetagposition in Source to startthe search• default STRING data type• any new string data type that you createEnter a number between 1 and the DATA size ofthe Source.DINTResultSINTINTtagtag that stores the startingposition of the string to findDINTStructured TextFIND(Source,Search,Start,Result);The operands are the same as those for the relay ladderFIND instruction described above.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!