PLC code lost

rossw said:
There isn't any one "correct" way to do it, because the "real world" throws so many variables.
Experience, backed up by a good understanding of what's going on, why things don't work as expected, and what you can get away with, will generally lead one to a working solution.
 
The complications of running sensors on the end of 100m of cable are just not necessary for a sensor attached via 1m of cable; the (previously declared 'EVIL') practice of a star-connected sensor array can be perfectly reliable under a different set of conditions. What you have to do in a noisy environment will be different to what you can get away with in a quiet environment, etc.
I have tested these boards with many different temp sensor cable configurations at my desk, with no resistors and no capacitors and they work great with very long cable lengths.  However when I bring the same length cable with everything else identical into the environment I had intended it for, the sensors will not be found.  These boards are great, and the community here is also an invaluable asset to using them.  There are plenty of very expensive boards out there that give you what you are paying for, support.  IMHO these are intended for the installer that has barely been able to get dressed in the morning, let alone troubleshoot why their sensors aren't working.  If you want extensive documentation and that 'big corporate' feeling of security, go ahead and pay for it.  The rest of us will continue to be content with the exchange we can freely be involved in here, or on community forums elsewhere.
 
What version of firmware did you run when PLC code lost?  We always suggest to first update the firmware to the latest, since it has a lot of improvement in performance, reliability, and feature sets.
In last few versions of firmware, 1-wire bus timing has changed to have much bigger tolerance.  That reason alone is worthy updating the board firmware.
 
nbright said:
Ok, temp sensors are still very reliable, but I did lose the PLC program on one of my two running boards after about two weeks running strong.  Any Ideas what is causing this?  Suggestions and/or remedies?
 Faulty SRAM?
electrostatics
neutrons...
 
Thanks for letting us know you have update your firmware.  Please keep us posted on your result after firmware update.
 
CAI_Support said:
Thanks for letting us know you have update your firmware.  Please keep us posted on your result after firmware update.
 
what is the succus of the whole thread? one sensor per board reduced problems, but long term stability could not achieved. I think we should have some metrics for 24/7 operation, what is the MTBF? I personally do not understand the connection between 1-wire problems andpLC erasure. Only Cai may tell. my experience shows that boards with different update history behave differently, also the more sensors, the more sensor failures. The new reset function will greatly contribute to solving the problem. and others too, if one receiving WC blocks the sending master WC...
 
Older firmware had bug that has fixed in later firmware, so that update firmware will make problem solved.  That is why we always encourage customers to get latest firmware, so that user can have both new feature as well as fixes for any previous bug,  That has nothing to do with MTBF.  We don't think reset fixed problem, it merely worked around problem. We believe out latest firmware is bug free now. 
 
CAI_Support said:
Older firmware had bug that has fixed in later firmware, so that update firmware will make problem solved.  That is why we always encourage customers to get latest firmware, so that user can have both new feature as well as fixes for any previous bug,  That has nothing to do with MTBF.  We don't think reset fixed problem, it merely worked around problem. We believe out latest firmware is bug free now. 
 
you could ease that update process a lot, providing a tool which updates but keeps the settings in a one click approach. boards in service should not brought to risk by complex updating processes.
 
CAI_Support said:
Thanks for letting us know you have update your firmware.  Please keep us posted on your result after firmware update.
I had the code lost after the update.
 
CAI_Support said:
Older firmware had bug that has fixed in later firmware, so that update firmware will make problem solved.  That is why we always encourage customers to get latest firmware, so that user can have both new feature as well as fixes for any previous bug,  That has nothing to do with MTBF.  We don't think reset fixed problem, it merely worked around problem. We believe out latest firmware is bug free now. 
Again, this was to the best of my knowledge with the most current firmware.
 
If that lost again, it could be EEPROM worn out.  If you know how to replace chip, that is the 8 pin chip next to the network socket.
Is the PLC code lost, but all other configuration not lost, correct?  That is a rare case.
 
CAI_Support said:
If that lost again, it could be EEPROM worn out.  If you know how to replace chip, that is the 8 pin chip next to the network socket.
Is the PLC code lost, but all other configuration not lost, correct?  That is a rare case.
I really have never had these boards functioning in my environment so that they have been reliable.  For mission critical applications I am beginning to think I need something better.  Although a bit more pricey, I have some experience with Ubiquiti mFi line of products and for a little more cash I can have something almost bulletproof that has been proven and is meant for machine control networks. Sure they need to have a controller running on a server locally, but I would be doing that anyways for my OpenRemote controller.
 
Anybody interested in buying 8 wc8's  I could sell temp sensors and some humidity sensors as well?  I have found I no longer have much time to try to maybe one day possibly get this stuff to function as I once thought it easily could.
 
PS the community support is great though!
 
nbright said:
I really have never had these boards functioning in my environment so that they have been reliable.  For mission critical applications I am beginning to think I need something better.  Although a bit more pricey, I have some experience with Ubiquiti mFi line of products and for a little more cash I can have something almost bulletproof that has been proven and is meant for machine control networks. Sure they need to have a controller running on a server locally, but I would be doing that anyways for my OpenRemote controller.
 
Anybody interested in buying 8 wc8's  I could sell temp sensors and some humidity sensors as well?  I have found I no longer have much time to try to maybe one day possibly get this stuff to function as I once thought it easily could.
 
PS the community support is great though!

that is a very sad story. Either You got a bunch of defective boards or there is systematic error. Did you test, with and without sensors, and different power supplies? What is the failure rate in the share of boards?
Regarding the ubiquity system, I can't see an open ecotope of interfaces, hardware and software wise.
I think cainetworks has some time left improving their offer, because the business models are so different.
 
We offered to you send the board back for us to test for you.  In the past, we have saw people complained problem and turned out power supply problem. Without seeing those boards and seeing what you are doing, any conclusion would just guess.   If you have really not used them and just power on then lost PLC code, it is likely the power supply is marginal, so that in certain brown out voltage board reset itself.
But without seeing board, nothing can be concluded.
 
Now I had the same experience, but it was my fault.
Having had a voltage of 2-12 V with the WC32, caused by a capacitor test, trying to reduce analog input measurements by stabilising the power source, the code and  network settings were erased, but not the notification, email, and textvariable settings.
After this I tried to update the WC32, but failed because of windows blocking to copy the mpfs21.exe and also some problems with the rar file....
In total, that is very frustrating. I really wish:
 
that 192.168.0 is used instead of 192.168.1 as default IP
the update procedure happens with a mouse click conveniently.
 
 
thanks
 
 
PS: the AD converter could be a better one for a 100 USD board, and we need some averaging function, because running averages do not work with integer math!
 
Efried said:
that 192.168.0 is used instead of 192.168.1 as default IP
 
In what material way is 192.168.0.0/24 any different to 192.168.1.0/24 (or 10.10.10.0/24) ??
 
 
Efried said:
PS: the AD converter could be a better one for a 100 USD board
 
Define "better".
 
I agree, 14, 16, 18 bit would be "better". Heck, I'd love 22 bit inputs.
But none of the processor chips that have all the other features needed have 22 bit sigma-delta ADCs. (not that I've seen, anyway)
 
For "most people" and "most uses", 10-bit seems to be "adequate". Heck, lots of people are happy with 8-bit conversions.
What are you doing that needs a "better" ADC? (oversampling a 10-bit ADC into a 32-bit register leaves plenty of scope for averaging even without floating point math)
 
Back
Top