I'm translating a printout of a program written for an F1/F2 series Mitsubishi PLC to a Micrologix.
I've stumbled upon something that I can't find the answer to in the Mitsubishi manuals.
In the Mitsubishi PLC there was a very simple line:
LD M73
OUT C66
K50
From what I can gather, the M73 is a 10ms pulse bit, and the C66/K50 is just a counter with preset 50.
My only question is, what happens in the Mitsubishi processor when a counter is "done" but is not reset, does its register continue counting? This counter is not being reset until sometime later in the program, and it appears that it can be "done" for a few minutes, or longer, before being reset.
With the Micrologix, the counter keeps counting and eventually the accumulator value rolls over. But I don't know what happens with the Mitsubishi F1/F2 counter's register value once it is done, but doesn't get reset.
I think they were using counters and the M72/M73 time bits to create timers to delay actions. Which I will probably end up actually going through and replacing them all with timers instead. They did this multiple times throughout the program, but this one is the only counter that didn't have any permissive other than the timing pulse, so it was free running that counter the whole time the program was running.
Thanks
I've stumbled upon something that I can't find the answer to in the Mitsubishi manuals.
In the Mitsubishi PLC there was a very simple line:
LD M73
OUT C66
K50
From what I can gather, the M73 is a 10ms pulse bit, and the C66/K50 is just a counter with preset 50.
My only question is, what happens in the Mitsubishi processor when a counter is "done" but is not reset, does its register continue counting? This counter is not being reset until sometime later in the program, and it appears that it can be "done" for a few minutes, or longer, before being reset.
With the Micrologix, the counter keeps counting and eventually the accumulator value rolls over. But I don't know what happens with the Mitsubishi F1/F2 counter's register value once it is done, but doesn't get reset.
I think they were using counters and the M72/M73 time bits to create timers to delay actions. Which I will probably end up actually going through and replacing them all with timers instead. They did this multiple times throughout the program, but this one is the only counter that didn't have any permissive other than the timing pulse, so it was free running that counter the whole time the program was running.
Thanks