
EpicWill (Customer) asked a question.
Hi guys, I have a BRX BX-DM1E-18ED23-D in a machine. I just made some changes to the PLC program (added hour meters for maintenance purposes) and it reset the stored hour values to zero.
No problem, I'll go in and manually change the memory values in the software. I did this but it'll only update the values if the PLC is in stop mode. Then when I flip it back to RUN it erases everything back to zero.
I even tried writing them, seeing that they were updated in the program. Then I saved the program, madea change to a comment so I could then write the changed program to the PLC and once again when Iflip back to RUN it resets all the counters to zero. What am I doing wrong?
I just want to set the total hours back to what they were before I changed the program but the changes won't stick.
Got it! It turns out I was changing the wrong memory address. According to the help on a global counter:
".Zero (read-only) will be ON any time the value in the Counter's accumulator value (.Acc) is 0."
So the counter memory addresses were at zero. I was changing the address where the counter's value was being sent to (D0, D1, D2) rather than changing the counter itself. So on RUN it just copied the ".Acc" value to the D register. I went in and edited the CT memory block and wrote it to the PLC. When I switched to RUN it copied those values to the D registers and worked properly.