I am programming in SoMachine basic with a M221 plc. I've ran into this issue twice recently. Don't recall ever running into it before, so I am not sure If I need to do something different.
I am using set and reset coils. At the beginning of the cycle it sets a bit on, and at the end of the cycle it resets the bit. Thus I have a bit that is true the whole way through the cycle to signal the rest of the program.
The deal is that when I power down the plc and repower it, the coils still show as set in the program. So when i power up the plc, certain parts of the program kick in like the cycle is on, when it really isn't, just that the coil was set when the plc powered down and so it is still set.
Is there anyway around this? Am I missing something simple? Upon first scan, I could reset every coil, but that seems lame. Is there any sort of reset all?
Waiting to here your suggestions.
I am using set and reset coils. At the beginning of the cycle it sets a bit on, and at the end of the cycle it resets the bit. Thus I have a bit that is true the whole way through the cycle to signal the rest of the program.
The deal is that when I power down the plc and repower it, the coils still show as set in the program. So when i power up the plc, certain parts of the program kick in like the cycle is on, when it really isn't, just that the coil was set when the plc powered down and so it is still set.
Is there anyway around this? Am I missing something simple? Upon first scan, I could reset every coil, but that seems lame. Is there any sort of reset all?
Waiting to here your suggestions.