This is my first post so please bear with me...
I was having trouble understanding why my output 8 would go on every time my board cycled.
I was using it (switched on and off) in a PLC program. So, I cleared out the PLC program and still it would come on during boot and stay on unless I turned it off in my program. This made no sense to me so I did all kind of analysis and gave up and called Wayne (the genius) at WC. It seems that the WC goes through quite a bit to try to do the right thing with the outputs at startup which is complicated and can lead to what seems to be non-intuitive behavior.
The one that got me is that if you save any output states (with the "Save States" button on the output control page), the board will try to bring the output back to that state at startup. I must have been showing off for friends and thought it was good to click that button -- duh!
So, after talking with Wayne, here's what the WC does at with the outputs at boot time.
1. Check to see if the outputs are set to inverted (like mine were for my cheapo relay board).
2. Restore any saved output states (saved with that "Save States" GUI button).
3. Set other outputs to real off (depending on the inversion setting).
4. Start running your PLC program which will likely do something with the outputs.
Wayne, if there's anything incorrect or misleading in here, let me know and I'll edit the original post.
Love the forum, love the WC...
I was having trouble understanding why my output 8 would go on every time my board cycled.
I was using it (switched on and off) in a PLC program. So, I cleared out the PLC program and still it would come on during boot and stay on unless I turned it off in my program. This made no sense to me so I did all kind of analysis and gave up and called Wayne (the genius) at WC. It seems that the WC goes through quite a bit to try to do the right thing with the outputs at startup which is complicated and can lead to what seems to be non-intuitive behavior.
The one that got me is that if you save any output states (with the "Save States" button on the output control page), the board will try to bring the output back to that state at startup. I must have been showing off for friends and thought it was good to click that button -- duh!
So, after talking with Wayne, here's what the WC does at with the outputs at boot time.
1. Check to see if the outputs are set to inverted (like mine were for my cheapo relay board).
2. Restore any saved output states (saved with that "Save States" GUI button).
3. Set other outputs to real off (depending on the inversion setting).
4. Start running your PLC program which will likely do something with the outputs.
Wayne, if there's anything incorrect or misleading in here, let me know and I'll edit the original post.
Love the forum, love the WC...