Search results

  1. T

    Keeping Multiple WC8 Boards Straight: Hostname Representation/Network Appearance?

    I strongly support that change. I have become addicted to WebContol for home automation stuff and have four systems running. Right now even tho setting the NetBIOS name makes it easy to identify the particular device once the tab is open all the tabs say "CAI WebControl PLC." /tom
  2. T

    12VDC to 9VDC converter with 12VDC output added

    You might want to try eliminating the protection diode. Its function is to protect the regulator if you hook up up the power supply backwards, but as Rossw posted it costs you 700mv of headroom. In you second picture there is just a wire between the diode and the regulator. Anywhere along that...
  3. T

    additional PLC help

    I assume the WebControl language is homegrown by CAI so there is not going to be anything specific to WC. I'd recommend finding something about assembly language programming, this will give you an idea about general concepts, binary arithmetic, how to use registers, conditional branching etc...
  4. T

    Measure 2 voltages without common ground?

    Will need an A/D that can be optically coupled to the WC since solar has a different ground reference. /tom
  5. T

    Managing System of WCs

    I agree with rossw this is not something that should be built into the WC but a standalone utility. Not being a UNIX user it would be nice to have an off the shelf Windows utility to expand macros and delete comments so the result can be pasted directly into the WC. Since it is not an...
  6. T

    stalling board

    When you say WebControl is stalled do you lose Web access? If not updating network settings will reboot the board. If that is not possible then you can go one of two routes: 1) Implement a watchdog in hardware that needs to be constantly reset by your code. If it does not get hit often enough...
  7. T

    What happened to the $36 WC8 boards on Amazon.com?

    I've purchased mine on eBay over the years. The ones on bid start $29 + $5 shipping. Often you are the only bidder so that is your price. Purchase price for WebControl on eBay is a little more, if you can't wait. I try to keep a spare on hand in case one dies or I start a new project. So far...
  8. T

    Why 2 help windows

    It looks like that behavior is browser specific. It is my understanding WC compatibility testing is limited to IE. In IE (11) opens a single window (but there is a short flash that I assume is a second window being opened then closed. In FF (ver 35 Windows & ver 34 Ubuntu) WC page becomes CAI...
  9. T

    what is needed to sense a simple closure switch

    It is documented in the user manual - additional parameter to the test opcodes. Some of the example code at the end of the manual show it being used. Basically what it does is say: don't execute the command unless the thing you are testing has been in the same state for that period of time. /tom
  10. T

    what is needed to sense a simple closure switch

    I don't think so, I've always used verbose messages. Play around with the "Item Starts Not Reporting" option on the notification page. /tom
  11. T

    what is needed to sense a simple closure switch

    The delay operator is easy to use if you can afford to block other operations during the 10 seconds. If not you can use the non-blocking [] operand but the code will be a little more complex. Here is a quick and dirty untested code fragment. SWITCH tests state of the push button if is is not...
  12. T

    what is needed to sense a simple closure switch

    Every time you turn the output on, (line 3) in the next line you turn it off. Not sure what you mean by "capacitor paraler with the switch." If you are trying to use the capacitor to debounce the switch need to make sure it is large enough, and since now you have created extremely slow rise and...
  13. T

    Reversable Motor with WC8, DPDT and STSP relays

    A little piece of engineering trivia to keep in mind when thinking about the pros and cons of using combo SPST/DPDT vs dual SPDT relays. When using dual SPDT relays you are also dynamically braking the motor when you turn it off. This has the advantage of quickly bringing the motor to stop...
  14. T

    Reversable Motor with WC8, DPDT and STSP relays

    I assume, know what they say about assume, the motor is reversible. The extra wires may be limit switches detecting end of travel or perhaps speed control, but my bet is end of travel detection. Here are some more sources for motors. All Electronics has automotive window motors so it may help...
  15. T

    Reversable Motor with WC8, DPDT and STSP relays

    Here is a quick chicken scratch (tomcad) schematic using two of the 12V 5A DPDT relays you have to control the 12V 5A motor. Things you need to keep in mind when doing this kind of control: 1) What is the current and voltage capability of WC output bits? 2) What is the voltage and current...
  16. T

    Reversable Motor with WC8, DPDT and STSP relays

    I  don't understand your drawing, it looks like you are using a transistor to switch the relay coil and another to switch the motor directly.    If the symbol with the X is a DPDT relay used to reverse the motor, that part is fine. The upper transistor needs to drive a second relay that controls...
  17. T

    Reversable Motor with WC8, DPDT and STSP relays

    Here is a drawing of how to use a transistor to control a relay. Just happed to be the first one I found using Google search "transistor relay driver."   http://homemadecircuitsandschematics.blogspot.com/2012/01/how-to-make-relay-driver-stage-in.html   The diode is used to clamp the voltage...
  18. T

    Reversable Motor with WC8, DPDT and STSP relays

      The best way to learn how do to do this stuff is exactly what you are doing. Try something, figure out why it doesn't work the way you expect, modify, rinse and repeat.   Can't speak for Ross but I was not born knowing how to do hardware and software design.   On occasion you will let out the...
  19. T

    Reversable Motor with WC8, DPDT and STSP relays

    Correct the transistor allows the low current 5V outputs to control the higher current 12V needed to drive the relays.   The relay board you linked to is 24V, you can use a relay module but since you are using 12V motors easiest way to go is to use a 12V relay module. That way you can power the...
  20. T

    Reversable Motor with WC8, DPDT and STSP relays

    The contacts on the Amazon relay are only rated at 3A for DC, and coil voltage is 5V. the RadioShack one looks OK it is rated at 5A with a 12V coil.   If you want to stay with relays I'd just use two of the Radio Shack ones, one to control direction the other power. Use a general purpose NPN...
Back
Top