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.

608 ASCII String <strong>Instructions</strong> (CONCAT, DELETE, FIND, INSERT, MID)String Concatenate(CONCAT)The CONCAT instruction adds ASCII characters to the end of a string.Operands:CONCATString ConcatenateSource A ???Source B ???Dest ???Relay LadderOperand Type Format Enter NotesSource A string tag tag that contains the initialcharactersSource B string tag tag that contains the endcharactersDestination string tag tag to store the resultString data types are:• default STRING data type• any new string data type that you createStructured TextCONCAT(SourceA,SourceB,Dest);Description:Arithmetic Status Flags:The operands are the same as those for the relay ladderCONCAT instruction.The CONCAT instruction combines the characters in Source A with thecharacters in Source B and places the result in the Destination.• The characters from Source A are first, followed by thecharacters from Source B.• Unless Source A and the Destination are the same tag, Source Aremains unchanged.not affectedFault Conditions:Type Code Cause Recovery Method4 51 The LEN value of the string tag isgreater than the DATA size of thestring tag.1. Check that no instruction is writing to the LEN member of the string tag.2. In the LEN value, enter the number of characters that the stringcontains.Publication 1756-RM003I-EN-P - January 2007

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

Saved successfully!

Ooh no, something went wrong!