EasyManuals Logo
Home>Allen-Bradley>Controller>Logix5000

Allen-Bradley Logix5000 Reference Manual

Allen-Bradley Logix5000
708 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #610 background imageLoading...
Page #610 background image
610 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Chapter 18 ASCII String Instructions (CONCAT, DELETE, FIND, INSERT, MID)
String Concatenate
(CONCAT)
The CONCAT instruction adds ASCII characters to the end of a string.
Operands:
Relay Ladder
Structured Text
The operands are the same as those for the relay ladder CONCAT instruction.
Description: The CONCAT instruction combines the characters in Source A with the characters in
Source B and places the result in the Destination.
• The characters from Source A are first, followed by the characters from
Source B.
• Unless Source A and the Destination are the same tag, Source A remains
unchanged.
Arithmetic Status Flags: Not affected
Fault Conditions:
String Concatenate
Source A ?
??
Source B ?
??
Dest ?
??
CONCAT
Operand Type Format Enter Notes
Source A String Tag Tag that contains the initial
characters
String data types are:
·default STRING data type.
·any new string data type that you create.
Source B String Tag Tag that contains the end
characters
Destination String Tag Tag to store the result
CONCAT(SourceA,SourceB,
Dest);
Type Code Cause Recovery Method
4 51 The LEN value of the string tag is greater
than the DATA size of the string 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 string contains.

Table of Contents

Other manuals for Allen-Bradley Logix5000

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Allen-Bradley Logix5000 and is the answer not in the manual?

Allen-Bradley Logix5000 Specifications

General IconGeneral
BrandAllen-Bradley
ModelLogix5000
CategoryController
LanguageEnglish

Related product manuals