dploof23
Member
Hello,
I am making changes to a system that has a 5/04 processor and I come from the land of Mitsubishi so I have a question....
I have some counters that used to count production of each 8 hour shift. The plant switched to 12 hour shifts. The total on the counter during an 8 hour shift would never reach 32767 or greater. On a 12 hour shift it does. The old logic had the counters reset by either a manual reset button from the HMI, or the .dn bit of the counter. I removed the reset by .dn bit, and added a second counter to increment when the .dn bit of the first counter becomes active. Then I am doing a CPT command, adding the two counters together and throwing the value in a F8 register.
My question is this...in Mitsubishi land when I put 32 bit data in a D register the next consecutive D register is used to store the data. Is it the same in AB? If I put 32bit data in say, F8:40, does it use F8:41 as well or can I put a different set of 32 bit data in F8:41?
Sorry for the long winded question....
Thanks,
Dave
I am making changes to a system that has a 5/04 processor and I come from the land of Mitsubishi so I have a question....
I have some counters that used to count production of each 8 hour shift. The plant switched to 12 hour shifts. The total on the counter during an 8 hour shift would never reach 32767 or greater. On a 12 hour shift it does. The old logic had the counters reset by either a manual reset button from the HMI, or the .dn bit of the counter. I removed the reset by .dn bit, and added a second counter to increment when the .dn bit of the first counter becomes active. Then I am doing a CPT command, adding the two counters together and throwing the value in a F8 register.
My question is this...in Mitsubishi land when I put 32 bit data in a D register the next consecutive D register is used to store the data. Is it the same in AB? If I put 32bit data in say, F8:40, does it use F8:41 as well or can I put a different set of 32 bit data in F8:41?
Sorry for the long winded question....
Thanks,
Dave