# Need to control 30 relays preferably through Ignition, looking for ideas

**URL:** <https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533>\
**Category:** Ignition\
**Created:** [March 28, 2018, 4:03pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533 "2018-03-28T16:03:57Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [March 28, 2018, 4:03pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/1 "2018-03-28T16:03:57Z")

</div>

Will need to control 30 relays preferably “directly” through Ignition and I’m wondering if anyone has done similar and can provide assistance/ideas?

Considering something like the Ethernet relay module from Numato [https://numato.com/docs/32-channel-ethernet-relay-module/](https://numato.com/docs/32-channel-ethernet-relay-module/)

Numato supplies commands that can be used via telnet for control. Before buying this or another unit, I am wondering about using Python from Ignition (possibly referencing some functions in a package) and use the Python Telnet client library to send commands. Also wondering if I could just use the scripting function system.util.excecute?

Does anyone have experience with this, or perhaps a completely different solution that you can share?

Thank you,  
Bob

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 28, 2018, 4:14pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/2 "2018-03-28T16:14:54Z")

</div>

Depends on what you need to happen if the connection to the device is broken. Whether by loss of network, or Ignition shutdown, or unexpected crash of Ignition or its server. If the equipment is safe to leave in its last state indefinitely, something like the referenced device is fine, and you just have to custom script access to its features. If the outputs need to turn off or otherwise go to a safe state in the event of a comms loss, you need a device with a heartbeat feature and/or a device that understands a modern I/O scanner protocol. The latter is currently available for the Ethernet/IP protocol in Ignition via my [Ethernet/IP Class 1 Communications module](https://inductiveautomation.com/moduleshowcase/module/automation-professionals-llc-ethernetip-class-1-communications).

---

<div class="post-metadata">

**Author:** ![craigb](https://avatars.discourse-cdn.com/v4/letter/c/9f8e36/32.png) [@craigb](https://forum.inductiveautomation.com/u/craigb)\
**Post date:** [March 28, 2018, 4:58pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/3 "2018-03-28T16:58:08Z")

</div>

As mentioned above it all depends on what the relays are controlling. Also be aware of the emergency stop regulations and what class you need etc. If its switching a water sprinkler for example differs from controlling a moving machine.

---

<div class="post-metadata">

**Author:** ![dcamp](https://avatars.discourse-cdn.com/v4/letter/d/a88e4f/32.png) [@dcamp](https://forum.inductiveautomation.com/u/dcamp)\
**Post date:** [March 28, 2018, 5:25pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/4 "2018-03-28T17:25:24Z")

</div>

I would probably look at Modbus TCP there is all kinds of Modbus I/O control modules on the web that can do what you ask.

I have used similar relay modules as the one you provide in the link and they have worked very well for me also.

They reason I would probably use a Modbus Tcp I/O module is because they come in "Digital In, Digital Out(Relay), Analog In, Analog Out.

Just an Idea.

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 28, 2018, 6:08pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/5 "2018-03-28T18:08:47Z")

</div>

> [@dcamp](#):
>
> all kinds of Modbus I/O control modules on the web that can do what you ask.

A few of them even have watchdog timers for comm loss, like Advantech's ADAM-6050.

---

<div class="post-metadata">

**Author:** ![Bob](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/bob/32/16899_2.png) [@Bob](https://forum.inductiveautomation.com/u/Bob)\
**Post date:** [March 28, 2018, 6:41pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/6 "2018-03-28T18:41:36Z")

</div>

Thanks for all these items to consider. I’m in the initial stages of deciding how to go about this. I hadn’t considered a broken connection that could leave things in an undesirable state and I need to determine if that will be a real problem in this case.

Phil, I’m not quite ready to get going on this project just yet, but is it possible at some point to evaluate your module on a short time basis perhaps before purchasing?

---

<div class="post-metadata">

**Author:** ![pturmel](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/pturmel/32/3295_2.png) [@pturmel](https://forum.inductiveautomation.com/u/pturmel)\
**Post date:** [March 28, 2018, 6:44pm UTC](https://forum.inductiveautomation.com/t/need-to-control-30-relays-preferably-through-ignition-looking-for-ideas/17533/7 "2018-03-28T18:44:37Z")

</div>

> [@Bob](#):
>
> but is it possible at some point to evaluate your module on a short time basis perhaps before purchasing?

Sure. PM me or email me when you're ready.
