EasyManua.ls Logo

Allen-Bradley Logix5000

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
Loading...
672 Rockwell Automation Publication 1756-RM003N-EN-P - October 2011
Appendix C Structured Text Programming
Assign an ASCII Character to a String
Use the assignment operator to assign an ASCII character to an element of the
DATA member of a string tag. To assign a character, specify the value of the
character or specify the tag name, DATA member, and element of the character.
The table shows some examples.
To add or insert a string of characters to a string tag, use either of these ASCII
string instructions.
This Is Okay This Is Not Okay
string1.DATA[0]:= 65; string1.DATA[0] := A;
string1.DATA[0]:= string2.DATA[0]; string1 := string2;
To Use this instruction
Add characters to the end of a string CONCAT
Insert characters into a string INSERT

Table of Contents

Other manuals for Allen-Bradley Logix5000

Related product manuals