Get IP address of compactlogix programmatically

Just display the four values separated by a period in the HMI.

In the HMI create a text object that uses an embedded variable for the left most value, then put a period. Then add the next value with another embedded variable. Then another period. Then the next value followed by a period. Then the right-most value.

That's how I would display it on the HMI. Note in my example below I added a return after each line so this would be easier to read. But they would all need to be on the same line to display correctly.

OG

IP Address.png
 
Last edited:
Just display the four values separated by a period in the HMI.

In the HMI create a text object that uses an embedded variable for the left most value, then put a period. Then add the next value with another embedded variable. Then another period. Then the next value followed by a period. Then the right-most value.

That's how I would display it on the HMI.

OG

I would agree that if the work has already been done for a faceplate, this is a good approach.

If you are in a fresh or from-scratch environment, having the utility is handy so one's problem doesn't have to be re-solved.
 

Similar Topics

I have my PLC and HMI connected to my local network over DHCP just like my laptop. I can upload and download including VNC to the HMI over wifi...
Replies
2
Views
1,137
I'm trying to configure the IP address of my compactlogix l16er-bb1b in Studio 5000. I need to set it to a certain address as I'm planning on...
Replies
5
Views
3,163
Hi, I have a compactlogix 5069-L330ERM processor, which has 2 built in ethernet ports. Both are currently configured and was completed using...
Replies
20
Views
8,870
We have some vendor supplied machinery that runs on a CompactLogix 5370 (1769-L24ER-EBFC1B, FW rev. 28.011) that wasn't communicating with the...
Replies
6
Views
2,908
Hello everyone, we want to change IP address for used compactlogix L23E-QB1B controller ,it assigned a IP address before, but this IP address is...
Replies
14
Views
2,787
Back
Top Bottom