# Node-Red with Allen Bradley PLC

**URL:** <https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446>\
**Category:** Industrial\
**Created:** [20 December 2022 06:49 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446 "2022-12-20T06:49:49Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![TanveerSaleh](https://avatars.discourse-cdn.com/v4/letter/t/a183cd/32.png) [@TanveerSaleh](https://discourse.nodered.org/u/TanveerSaleh)\
**Post date:** [20 December 2022 06:49 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/1 "2022-12-20T06:49:49Z")

</div>

Hello All,  
I am a university lecturer teaching industrial automation. We teach RSLogix PLC programming for Allen Bradley PLCs. We are now trying to integrate Node-red with the physical PLCs using node-red-contrib-pccc. It is working fine with the grace of God, Almighty.  
Now I want to connect RSlogix emulator (without any physical PLC) with the node-red. Both of them will be on the same computer. Is it doable? Any suggestion will be greatly appreciated.

Thanks  
Tanveer

---

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [20 December 2022 07:21 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/2 "2022-12-20T07:21:32Z")

</div>

I think you are out of luck...

[https://support.softwaretoolbox.com/app/answers/detail/a\_id/3920/~/top-server-with-rockwell-rslogix-emulate-5000](https://support.softwaretoolbox.com/app/answers/detail/a_id/3920/~/top-server-with-rockwell-rslogix-emulate-5000)

---

<div class="post-metadata">

**Author:** ![ChZeman](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Post date:** [21 December 2022 12:30 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/3 "2022-12-21T12:30:16Z")

</div>

You could try node-red-contrib-dde. I don't know if it would work for this or not.

> **[node-red-contrib-dde](https://flows.nodered.org/node/node-red-contrib-dde)**
>
> A Node-RED talk to DDE endpoints over the network

Chris

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [22 December 2022 00:07 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/4 "2022-12-22T00:07:48Z")

</div>

You should contact your local Allen Bradley representative to ask them if you can get a discount by qualified educational means. You should be able to purchase soft logix PLC to do all you need. Also, having a real PLC to wire it to real world I/O is very educational.

Is your aim to just prove you can bypass Allen Bradley licensing by using Node-RED as your world interface? I cannot help but wonder about the ethics involed in your goal.

---

<div class="post-metadata">

**Author:** ![ChZeman](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Post date:** [22 December 2022 21:08 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/5 "2022-12-22T21:08:26Z")

</div>

I think you misread the original post. Nothing TanveerSaleh said even remotely suggests an attempt to bypass Rockwell's licensing (and ridiculous prices). They already interfaced Node Red with a physical PLC. They want to interface Node Red with the emulator now.

Chris

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [31 December 2022 02:27 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/6 "2022-12-31T02:27:33Z")

</div>

Perhaps. But then you want to interface the emulator. An emulator is just that. It is a means to learn about the programming aspects and avoid the real world interface. You are saying you want to supply Node-RED as the world interface. Oh, sorry, "They".

---

<div class="post-metadata">

**Author:** ![ChZeman](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Post date:** [31 December 2022 02:44 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/7 "2022-12-31T02:44:36Z")

</div>

I understand your point, but an emulator can make a great development tool and could be very useful for developing an HMI without the full complement of physical hardware.

Chris

---

<div class="post-metadata">

**Author:** ![tree-frog](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/tree-frog/32/89303_2.png) [@tree-frog](https://discourse.nodered.org/u/tree-frog)\
**Post date:** [31 December 2022 03:00 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/8 "2022-12-31T03:00:55Z")

</div>

The HMI point-of-view is interesting. Using dashboard? or other? The best interface from Node-RED to the ... emulation would be MQTT. If the emulator has TCP functions that work and no MQTT interface, you can program TCP "Tags" back and forth. That said, the extra TCP route to I/O would be pretty rediculaous. You may as well use a Raspberry PI and be done with it.

---

<div class="post-metadata">

**Author:** ![ChZeman](https://avatars.discourse-cdn.com/v4/letter/c/76d3ee/32.png) [@ChZeman](https://discourse.nodered.org/u/ChZeman)\
**Post date:** [31 December 2022 03:34 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/9 "2022-12-31T03:34:57Z")

</div>

I use Dashboard for my applications. As much as i love how uibuilder looks, Ive never been able to get a handle on it. It's powerful, but there simply wasnt enough documentation and examples available at the time I tried it.

I have Pis running Node Red spread throughout our facility (each interfaced to different platforms - PLC5, SLC500, and ControlLogix). Each sends data (error and status information) back to a main unit that stores the info in MySQL and displays info of immediate interest on monitors for pertinent personnel.

Reading the tags from such systems is easy with Ethernet/IP. No reason to get into MQTT. Other systems require interfacing to RSlinx OPC server which is also easy.

Chris

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [1 March 2023 03:35 UTC](https://discourse.nodered.org/t/node-red-with-allen-bradley-plc/72446/10 "2023-03-01T03:35:30Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
