joseph_e2
Member
Describe exactly what symptoms you're seeing. I don't see anything particularly wrong, but I don't have a PV300 handy. Or a MicroLogix for that matter. I'm using a 5/04 for testing and the few rungs in question seem to be working. I don't see where any minimum setpoint is being enforced. Is that something you want to add? If so, it can be done either in the PV300 or in the PLC.
Are you seeing weird things when the user changes the setpoint after it has timed past that? In other words, the preset is set to 60 minutes (3600s). It runs for 30 minutes (timer accumulator is 1800) and the operator changes the preset to 15 minutes.
By the way, I tinkered with the math registers and tweaked the calculation a little. It now uses S:13 and S:14 to hack a MOD instruction. Since I tested it in a different processor with different addresses, you should double-check the calculation to make sure it's working correctly for you.
Are you seeing weird things when the user changes the setpoint after it has timed past that? In other words, the preset is set to 60 minutes (3600s). It runs for 30 minutes (timer accumulator is 1800) and the operator changes the preset to 15 minutes.
By the way, I tinkered with the math registers and tweaked the calculation a little. It now uses S:13 and S:14 to hack a MOD instruction. Since I tested it in a different processor with different addresses, you should double-check the calculation to make sure it's working correctly for you.