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 #399 background imageLoading...
Page #399 background image
Rockwell Automation Publication 1756-RM003N-EN-P - October 2011 399
Array (File)/Misc. Instructions (FAL, FSC, COP, CPS, FLL, AVE, SRT, STD, SIZE) Chapter 8
Example 3: Strings_a is an array of string structures. The SIZE instruction finds the number
of elements in the DATA member of the string structure and stores the size in
data_size_a. In this example, the DATA member has 24 elements. (The string
structure has a user-specified length of 24.)
Relay Ladder
Structured Text
SIZE(strings_a[0].DATA[0],0,data_size_a);
Size in Elements
Source strings_a[0].DATA[0]
'$00'
Dim. To Vary 0
Size data_size_a
24
SIZE

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