Determine Array Length

GTUnit

Member
Join Date
Oct 2009
Location
Orange, CA
Posts
401
Is there a command/way to identify the length of an array in RSLogix5000 ?

For example:
We have Array_ABC[24] in the program.

If we run Some Command on "Array_ABC" we would get a value of "24"
 
check out the instruction help file for Size
The SIZE Instruction find the number of elements in the designated dimension of the Source Array and places the results in the Size Operand.
 

Similar Topics

Hello, i am a beginner with a Siemens Logo 8 PLC. I would determine the direction of an object if it passes a whole cycle of 2 input sensors. See...
Replies
2
Views
181
Hi all, Just looking through the CIP_AXIS_DRIVE data type in a Logix controller to look for something that can tell me whether the current...
Replies
2
Views
1,065
I'm currently working on an MES interface PLC which passes around a whole bunch of strings. A lot of these strings are really just to allow for an...
Replies
0
Views
1,114
I don't use AB much these days, and any installs I've done in years past have been setup by myself from scratch, so I've always known what...
Replies
8
Views
2,082
Hello: I wonder if there is a way to find the CPU load of a Logix processor, and if it is not possible to determine this in an absolute way, I...
Replies
6
Views
1,995
Back
Top Bottom