wfortuny
Member
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?
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?