# AB CompactLogix L24ER

**URL:** <https://discourse.nodered.org/t/ab-compactlogix-l24er/30626>\
**Category:** Industrial\
**Created:** [23 July 2020 18:32 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626 "2020-07-23T18:32:50Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![SMARizvi](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SMARizvi](https://discourse.nodered.org/u/SMARizvi)\
**Post date:** [23 July 2020 18:32 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/1 "2020-07-23T18:32:50Z")

</div>

I am trying to communicate to AB CompactLogix L24ER PLC,

Node JS 14.6.0 Version  
node-red-contrib-cip-ethernet-ip : eth-ip in  
node-red-contrib-pccc : pccc in  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f16d414eb501a9721eef5f6fdf5bcce22aa87acf.png)

**ETH IP**  
This Node is giving me this error, and online discussion shows CompactLogix does not support readWallClock function.  
"generalStatusCode":30,"extendedStatus"

**PCCC**  
This Node is showing that communication was established, but it is not retrieving any data  
"No response from PLC, restarting the communication"

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [23 July 2020 19:35 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/2 "2020-07-23T19:35:21Z")

</div>

What node-red-contrib-???? nodes are you using??

---

<div class="post-metadata">

**Author:** ![SMARizvi](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SMARizvi](https://discourse.nodered.org/u/SMARizvi)\
**Post date:** [23 July 2020 20:09 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/3 "2020-07-23T20:09:37Z")

</div>

Node JS 14.6.0 Version  
node-red-contrib-cip-ethernet-ip : eth-ip in  
node-red-contrib-pccc : pccc in  
 ![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/f/1/f16d414eb501a9721eef5f6fdf5bcce22aa87acf.png)

---

<div class="post-metadata">

**Author:** ![zenofmud](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/zenofmud/32/316_2.png) [@zenofmud](https://discourse.nodered.org/u/zenofmud)\
**Post date:** [23 July 2020 20:20 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/5 "2020-07-23T20:20:01Z")

</div>

Great, now that you have provided the node-red nodes, hopefully someone will be able to help you. i have no access to th devices they are communicating to.

If no one else reply, you could go to the github pages for the nodes and sak the author of the nodes for help.

---

<div class="post-metadata">

**Author:** ![machadotiago](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/machadotiago/32/23776_2.png) [@machadotiago](https://discourse.nodered.org/u/machadotiago)\
**Post date:** [1 August 2020 02:40 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/6 "2020-08-01T02:40:40Z")

</div>

quick question, is the plc pinging from the machine you are running node-red?

@gfcittolin maybe you could help us here?

---

<div class="post-metadata">

**Author:** ![SMARizvi](https://avatars.discourse-cdn.com/v4/letter/s/43a26b/32.png) [@SMARizvi](https://discourse.nodered.org/u/SMARizvi)\
**Post date:** [1 August 2020 03:19 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/7 "2020-08-01T03:19:56Z")

</div>

Hi,  
Yes i can ping the PLC and can run Studio5000 to see the code

---

<div class="post-metadata">

**Author:** ![gfcittolin](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gfcittolin/32/23354_2.png) [@gfcittolin](https://discourse.nodered.org/u/gfcittolin)\
**Post date:** [2 August 2020 21:00 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/8 "2020-08-02T21:00:02Z")

</div>

Hi there,

For CompactLogix/ControlLogix you should be using "node-red-contrib-cip-ethernet-ip", that is, the "eth-ip" nodes. For Micrologix or SLC series, then "pccc".

That said, check that the slot number configured in the node match the slot number of the PLC (not any communication module, but the CPU itself). If it still does not work, then we may need to better check what is not working. When connecting, the only thing the underlying library asks for is the controller props, but that should be supported by CompactLogix.

---

<div class="post-metadata">

**Author:** ![rromele](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/rromele/32/18431_2.png) [@rromele](https://discourse.nodered.org/u/rromele)\
**Post date:** [2 August 2020 21:35 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/10 "2020-08-02T21:35:48Z")

</div>

**cpu L32E**

In the cpu of the plc it creates the global variables

 ![Italy01](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/9/1/91456fc9e0544ad1eb0b0ebbc6073af40895efd0.jpeg)

In node-red install and configure the tcp-ip node for plc Rockwell.  
 ![Italy04](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/3/8/38cab7d251717d2d04180c9fb458712495246191.jpeg)

In the node configure the variables you generated in the cpu of the Rs5K plc  
 ![Italy05](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/d/edb50ff2aa561ad0b9bac3e96c1f62427822ca59.jpeg)

Complete by inserting the connection to the dashboard type Gauge ![Italy02](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/e/8/e80aba5a5ebc24b7f3ec22ff5133458efaac3ffb.jpeg)

you will get this  
 ![Italy03](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/7/e/7ef0353e194adbff49326bbc4f1100fef4e6de88.jpeg)

RRomele

---

<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 October 2020 21:35 UTC](https://discourse.nodered.org/t/ab-compactlogix-l24er/30626/11 "2020-10-01T21:35:53Z")

</div>

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