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 #609 background imageLoading...
Page #609 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 609
ASCII String Instructions (CONCAT, DELETE, FIND, INSERT, MID) Chapter 18
String Data Types
You store ASCII characters in tags that use a string data type.
·You can use the default STRING data type. It stores up to 82 characters.
·You can create a new string data type that stores less or more characters.
To create a new string data type, see the Logix5000 Controllers Common Procedures
Programming Manual, publication 1756-PM001
.
Each string data type contains the following members.
Name Data Type Description Notes
LEN DINT Number of characters in
the string
The LEN automatically updates to the new count of characters whenever you:
·Use the String Browser dialog box to enter characters.
·Use instructions that read, convert, or manipulate a string.
The LEN shows the length of the current string. The DATA member may contain additional,
old characters, which are not included in the LEN count.
DATA SINT array ASCII characters of the
string
·To access the characters of the string, address the name of the tag.
For example, to access the characters of the string_1 tag, enter string_1.
·Each element of the DATA array contains one character.
·You can create new string data types that store less or more characters.

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