Publication 1766-RM001A-EN-P - October 2008
ASCII Instructions 365
Addressing String Files
The addressing scheme for the string data file is shown below.
String Data File Structure
String Element
Bit 15141312111009080706050403020100
Word upper byte lower byte
0 String Length - number of characters (range is from 0…82)
1 character 0 character 1
2 character 2 character 3
↓↓ ↓
40 character 78 character 79
41 character 80 character 81
Table 2:
Format Explanation
ST String file
STf:e.s f File number The valid file number range is from 3…255.
: Element delimiter
e Element number The valid element number range is from 0…255.
Each element is 42 words in length as shown in .
. Subelement delimiter
s Subelement number The valid subelement number range is from 0…41.
You can also specify .LEN for word 0 and .DATA[0] through .DATA[40] for words 1…41.
The subelement represents a word address.
Examples: ST9:2
ST17:1.LEN
ST13:7.DATA[1]
String File 9, Element 2
String File 17, Element 1, LEN Variable
String File 13, Element 7, word 2 (characters 2 and 3)
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive