Hello,
I'm trying to make a simple 8-step sequencer which writes a value to a block of analog outputs WY8-15. These are connected to 0-10V controlled LED dimmers. The goal is to have each LED turn on and then off in a sequence, and then start over. I'm using the Do-More T1H-DM1E PLC and T1F-08DA-2 analog output modules.
The problem is that the last step of the sequence (WY15) is "latching on" - the LED stays on and the analog module is outputting 2.5 volts constantly. However, the status bit in the Data window shows WY15 equal to 0. So I have 2 problems:
1) The status of WY15 in the Data window is not consistent with the physical/electrical output WY15. The status window shows correct on/off behavior, while the electrical output is latching on.
2) If I copy WY15 to a different analog output with a MOVE instrution (for example, MOVE WY15 -> WY0), the behavior of the MOVE instruction is also inconsistent. In this case, the copied output WY0 shows the correct on/off sequencer behavior, while WY15 remains latched on. This leads me to believe there is an internal hardware/memory error, since WY0 should be exactly the same as WY15 at all times.
3) If I copy the whole block WY8-15 to WY0-7 using the MOVER instruction, the copying behavior is also inconsistent, but in a different way. Now, the first 7 outputs of each block appear to follow the correct on/off sequence. Now, however, copying WY15 to WY7 (as part of the MOVER instruction) latches both on. After several cycles, one or the other will turn off in (in the correct sequence order), but WY7 and WY15 do so at different times, on different cycles. So the MOVER value copying is again inconsistent, leading me to believe there is an internal/memory error in the PLC.
I've tried all sorts of things, including swapping different CPU's and swapping the order of the analog modules, as well as inserting/removing other modules before and after in the chain. The only thing that remains consistent is that it's the last step of the sequence which latches, if I change the counter preset value.
I'm attaching a small sample of the code, which uses the counter CT0, and I'm showing only the first 2 steps of the sequence. Any help is greatly appreciated!!
NOTE: I've also posted this on the AutomationDirect forums, apologies for the double-post:
https://forum.automationdirect.com/forum/general-applications/103146-hardware-or-memory-error-with-analog-outputsPlease see attached image or the above link (sorry I'm having trouble figuring out how to display it with the [img] tags).