Hi
We are using a controllogix5000 Ver.16, and have a lot of motor digital control.
So we are using one UDT ( User Defined Type) for every motor, in that
UDT ther is also a alarm timer.
So i the motor is not runnig after a time, there is a alarm on the motor.
MotorM1.AlarmTmr.Pre
MotorM2.AlarmTmr.Pre
MotorM3.AlarmTmr.Pre
.......
MotorM99.AlarmTmr.Pre
From the scada system we like to adjuste the time PRE value.
Instedof have 100 timer`s Tages in the scada, we like to use a index.
So we have a "MotorName" tag as a string, and in the plc we add another string ".AlarmTmr.Pre",
so the complet string "ReadTimer" has the tekst "MotorM1.AlarmTmr.Pre"
Have can we make the plc to read the TAG "ReadTimer" (MotorM1.AlarmTmr.Pre)= ( 5000mS) and move the value to the TAG "TimerValue" (DINT). ???????
Can I use a messages instruction, or a Structured Text to do this.
Next step is to write a new value to the timer.
NOTE.
We don`t like to have to motor in a array, because the motor name is unik, like Conveyor, screw , Fan and blower, so we don`t use the name MotorM1-MotorM99 !!
It just make it more simple
Regard
Arne VH