- Studio 5000 Logix Designer
- Tasks, programs, and routines
- Add-On Instructions
- Controller Organizer
- Logical Organizer
- Alarms
- Tag-based alarms
- Tag Editor and Data Monitor
- Configure settings for Tag Editor and Data Monitor
- Equipment phases
- Equipment Sequences
- Equipment Sequence Diagrams
- Ladder Editor
- Structured Text Editor
- Sequential Function Chart Editor
- Define the steps of an SFC process
- PlantPAx instruction properties
- Controller Properties
- Editing Controller Properties
- Controller Security
- Source Protection
- License Source Protection for Routines and Add-On Instructions
- Module Information
- 1756 ControlLogix I/O Modules
- Instruction Set
Assign an ASCII character to a string data member
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. For example:
This is OK | This is not OK |
string1.DATA[0] := 65; | string1.DATA[0] := A; |
string1.DATA[0]:= string2.DATA[0]; | string1 := string2; Tip: This assigns all content of string2 to string1 instead of just one character. |
To add or insert a string of characters to a string tag, use either of these ASCII string instructions:
To | Use this instruction |
Add characters to the end of a string | CONCAT |
Insert characters into a string | INSERT |
Provide Feedback