Recent content by rossw

  1. R

    Comments in PLC Code

    Some years ago I wrote an online interface to do this for you.   http://webcontrol.rossw.net/program/   You should be able to load "burnie-demo" with no password to see how it works. I can't remember how far I got with it, but if it's useful, let me know. Perhaps I can dust it off and polish it...
  2. R

    DS18B20 temperature sensor at end of 50' cat5e not reliable

      That's a good point and I will have to have a look. It's a long time ago now! I'm pretty sure I have the PLC set to turn on that output on startup, so that might mitigate it. I have a vague memory of a software reset, does the WC8 re-read the DS18B20 on a software reset perhaps?   Thinking...
  3. R

    DS18B20 temperature sensor at end of 50' cat5e not reliable

    A long-time user of WC8 and WC32 boards here, with hundreds of DS18B20 sensors in use. I have added another trick to the show - I use other devices as well (like the AM2320), and while it isn't exactly "best practice", I power the AM2320 from one output pin, and DS18B20's in pairs from their own...
  4. R

    monitoring a 24v Batt with wc32

    If you want an expanded range (to get the most of your 10-bits), you could either use a zener diode (say, 21V) to give you a suppressed-zero, then your 0-5V range will be from 21 to 26V with 0.5mV resolution.   Since Zeners are not ideal and will change voltage with temperature, choose two or...
  5. R

    Terminal boards for WebControl

    Better site for this would be http://webcontrol.rossw.net/
  6. R

    Problem with GMX mail..

        If you are only sending email TO YOURSELF, you can almost certainly use the webcontrol to talk directly to YOUR email providers SMTP host. Since it won't be relaying mail, and since it has to accept mail from "the wider internet" most of which doesn't force authenticated SMTP, it should...
  7. R

    WC32: is there a variable containing IP address obtained by DHCP?

    Looking good Wayne. Major improvements, everything appears to be working as it should. Just a couple of cosmetic things.  
  8. R

    WC32: is there a variable containing IP address obtained by DHCP?

    That's reasonable. The original version was a pseudo-floating-point - artificially moving the decimal point in an integer number - which in this application is perfectly fine.   WE know that we're dealing with a number that's shifted (x) digits, like "655" = "65.5" degrees. Please let me know...
  9. R

    WC32: is there a variable containing IP address obtained by DHCP?

    Oh, and looking at it.... the second line shouldn't read inputs 8-16 either, it should be 9-16 :)
  10. R

    WC32: is there a variable containing IP address obtained by DHCP?

      First time after connecting, erase/reflash, "Run Application", Disconnect.... the WC32 was unresponsive over the network, green LED on WC32 flashing fast. Could not reconnect. Powered-down the board, re-applied power, repeated the process and it worked the second time. Reloaded GUI and API  ...
  11. R

    WC32: is there a variable containing IP address obtained by DHCP?

      That is now working fine, Wayne.   For anyone else who gets the new firmware and wants to try it - a really simple version is: START             PRINT1 "IP ADDRESS"         PRINT2 IPADDR            DELAY 2000            PRINT1 "IP GATEWAY"         PRINT2 IPGATE            DELAY 2000 END      ...
  12. R

    WC32: is there a variable containing IP address obtained by DHCP?

      Wayne, "OOPS!".  It's printing in the wrong endian!   192.168.1.15 (address) and 192.168.1.1 (gateway) when coded:      print1 IPADDR    print2 IPGATE   prints "15.1.168.192"  and "1.1.168.192".
  13. R

    Suggestion/request for WC32 temperature sensors

      Really looking forward to testing this new code :)   Question however: *IF* you're coding this so that it will do entirely dynamic pool assignments.... what will happen in the scenario where a sensor fails and the board is subsequently rebooted? If the failed sensor is (say) #1, will all the...
  14. R

    WC32: is there a variable containing IP address obtained by DHCP?

    Surely the IP address isn't stored in eeprom when it's DHCP assigned, is it? Byte order could be big-endian or little-endian, I doubt there would be any real concern one way or the other, as long as it was understood/stated.
  15. R

    WC32: is there a variable containing IP address obtained by DHCP?

      The significant thing is that it makes one, consistent way to get the address. You don't then have to add something "special" in the UM216 routines just to handle display of an IP address, by being able to get it, it can be used however (eg, only showing the last octet if that's all that's...
Back
Top