Author Topic: Controlling USB Relays via AdvancedHMI?  (Read 8352 times)

nittanyrawrlion

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Controlling USB Relays via AdvancedHMI?
« Reply #15 on: November 05, 2014, 11:47:42 AM »
The amperage is low, as you said it only controls other relays and contactors. The ovens themselves draw as many as a few hundred amps on a 480V line but that won't be coming anywhere near the PLC! :)

I do think PLC is definitely the only way to go now that I gave it more though; if the computer with the USB relays even froze up, restarting it would turn off all the equipment. No bueno. If I restart or there is a brief power failure for the computer controlling the PLC, at least the PLC saves the state (of course it would be on a battery backup too).

I honestly didn't think I would get into PLC programming as it seemed way to daunting but now it's looking more feasible by the minute! It really gives a lot of cool options and flexibility. If I do decide to go with the PLC (which I think I will, going to try to order a simple setup soon) I would work on the program and test the hell out of before implementing it. We have one oven that's not really in use anymore so we would do an extended trial on that as it's nothing critical at all, and if it were to work, we would scale up to add the other equipment. We have a guy we know that programs the large AB PLCs we have for our more complex machines so I could run some stuff by him probably.

I basically wouldn't try to make it any more complex than necessary as the goal is to make it fool-proof for the operators. I think basically assigning switches directly to the outputs will cover all the basics and from goofing around with AdvancedHMI seems to me like I could do that in an afternoon. Adding in switches to turn groups of relays on and off, showing their statuses, and timers might take a little longer, but I think it's all fairly doable. I did some big macro projects in VBA before so I'm confident I can do well with VB for this purpose. The Click PLC software (however 'easy' they make it out to be) is a lot more scary!

I need to just get a bit better read on the topic of the Click PLC. I just want to be sure I get the correct CPU and modules before pulling the trigger on the purchase. Sorry to say, but I may be bugging you down the line when I try to bring this project to life.

fohdeesha

  • Newbie
  • *
  • Posts: 46
    • View Profile
Re: Controlling USB Relays via AdvancedHMI?
« Reply #16 on: November 06, 2014, 07:01:14 AM »
Trust me, if I can figure out basic use of ladder logic/plc programming then anyone can. Especially if you have coding/programming experience. After a youtube video or two it will make sense enough to do simple stuff (simple on/off type things, timers etc). When worse comes to worse and you want to do something weird like turning a momentary switch into a toggle, averaging analog values etc, you can just google it and you'll get 100 different examples you can copy.

In advancedHMI you can just drag and drop buttons to turn off different groups or outputs and display boxes for timer values etc and then just type in the plc addresses for all of them without writing a single line of code, I have no VB experience at all and I have a pretty full advancedhmi screen going with quite a bit of indications and temperature and timer displays. The stuff like grouping different relays and adding timers you would all do in the ladder logic on the plc

Feel free ask for help later on hopefully I or someone else can help out
« Last Edit: November 06, 2014, 07:05:10 AM by fohdeesha »

nittanyrawrlion

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: Controlling USB Relays via AdvancedHMI?
« Reply #17 on: November 07, 2014, 06:35:37 PM »
Thank you! I'm waiting for the PLC to come in now, I'll start playing around with it and see where the road takes me.

ianfinlay_aus

  • Newbie
  • *
  • Posts: 21
  • www.earthed.net.au
    • View Profile
    • Earthed Solutions Pty Ltd [Custom Software for Engineering]
Re: Controlling USB Relays via AdvancedHMI?
« Reply #18 on: September 04, 2015, 11:23:20 PM »
Hi
I have used the Intelligent Appliance range for a few projects, Prefer serial or tcp range over usb, as thgis tends to restrict placement of relay board from server pc.
They can be ordered with dual native serial or one db9 rs232 serial and one usb ftdi connection(to the pc)
I have found you need to be a little careful with some api's that only allow you to use ftdi (or prolific) only com ports, and not just ANY com port on the system
sometimes the best was to fail over is via a home crafted serial selector (using relays) which switch from com1 to com2, based on an input.
Ian (www.earthed.net.au)

Former Citect SCADA Developer, and integrator
now specialist in bespoke\custom engineering software for scientific and automation sectors