RSLogix 5000 Tag access

wfortuny

Member
Join Date
Jan 2011
Location
Portland OR
Posts
19
I am working in RSLogix 5000 version 17, 18, 19 and I have several tags:

alias DINT:
Pump_1_start
Pump_2_start
.
.
Pump_X_start

Base DINT[6]
Pump_Sequence

I would like to do something like the instruction below to copy the value of "1" to the Pump_Sequence array element 0 value of Pump_X_Start. For instance if Pump_Sequence[0]=3 then I would move a "1" to the Pump_3_Start alias DINT tag:

MOV
Source: 1
Destination: Pump_[Pump_Sequence[0]]_Start

Is this possible, or what is a better way to do this?
 
Make a new element called pump_start, define it as a DINT -- but do NOT click OK yet... -- then put the number of members of the array you want after DINT...

e.g., if you want 4 elements, it'll be DINT[4]

Then you'll have four DINT's, pump_start[0], pump_start[1], pump_start[2] and pump_start[3]. Within each of these, you'll have the 32 bits. pump_start[0].00, .01, .02, ..., .31
 
You can only create non-array tags as aliases, they are just tags that "point" to another tag or tag-element.

If it helps, think of an alias tag as just "another name" for data stored in another tag.

If you want your VFD data in an array, you will have to write code to put it there
 

Similar Topics

I want to ask about this tag that is in RSLogix 5000: datatype: AB:PowerFlex525V_EENET_Drive:I:0 and I want to create a new tag(instance of...
Replies
10
Views
2,347
Has anyone experienced the following issue on RSLogix5000 (currently on V16) I have a PLC program that has been running on a site for a number...
Replies
5
Views
1,601
Hello, What is the Problem: I have an old version of projects with all the tags' descriptions and a new one without them. I know how to...
Replies
6
Views
3,154
Hi I have offline project and I want to copy a tag (the name and the vaule) to a online project is it posiable ?
Replies
2
Views
1,455
Hi,Guys: we want to monitor a tag (PF525 drive output current) when drive output current is over the threat point at what exact time, we can use...
Replies
10
Views
2,751
Back
Top Bottom