You are not registered yet. Please click here to register!


 
 
plc storereviewsdownloads
This board is for PLC Related Q&A ONLY. Please DON'T use it for advertising, etc.
 
Try our online PLC Simulator- FREE.  Click here now to try it.

---------->>>>>Get FREE PLC Programming Tips

New Here? Please read this important info!!!


Go Back   PLCS.net - Interactive Q & A > PLCS.net - Interactive Q & A > LIVE PLC Questions And Answers

PLC training tools sale

Reply
 
Thread Tools Display Modes
Old March 20th, 2017, 02:13 PM   #1
poppachoppa
Member
United States

poppachoppa is offline
 
Join Date: Jun 2011
Location: Pittsburgh
Posts: 8
IP Addresses

I am trying to display the two IP addresses for 2 1756-ENBT on the same rack onto a panelview. I do not need to change them, just display them and also the Panelviews address as well. I'm sure its easy to do, but I cant find an area in the PLC to read them from, except via the programming software and the hardware's properties.
  Reply With Quote
Old March 20th, 2017, 02:38 PM   #2
Dravik
Member
United States

Dravik is offline
 
Join Date: Jun 2008
Location: New York
Posts: 1,072
If you have techconnect, look up answer id 26779. Instructions and some sample code.
  Reply With Quote
Old March 20th, 2017, 02:52 PM   #3
poppachoppa
Member
United States

poppachoppa is offline
 
Join Date: Jun 2011
Location: Pittsburgh
Posts: 8
Thanks, but unfortunately I do not.
  Reply With Quote
Old March 20th, 2017, 03:07 PM   #4
dmargineau
Lifetime Supporting Member
United States

dmargineau is offline
 
dmargineau's Avatar
 
Join Date: Dec 2011
Location: Midwest
Posts: 1,954
RA TechConnect Answer ID 26779 refers to the retrieval of EtherNet/IP Modules IP Addresses; it is not as "easy" as it sounds since these settings are implemented outside of the programming application and will require explicit messaging from within the EtherNet IP Object parameters.

I don't believe you will be able to retrieve an HMI's IP address since said HMI is never a part of the controller's configured modules; a CPU will never "know" if any HMI is connected or not.

Only the new generation of Allen-Bradley PanelView terminals, the 5500 Series, are part of the controller's Project Tree hence accessible via Explicit Messaging.
  Reply With Quote
Old March 20th, 2017, 03:13 PM   #5
Dravik
Member
United States

Dravik is offline
 
Join Date: Jun 2008
Location: New York
Posts: 1,072
If you are using a PanelView Plus 6 at least, you can use the Me IpInfo control to write the panels IP info to tags. Then display those tags.
  Reply With Quote
Old March 20th, 2017, 04:14 PM   #6
Archie
Member
United States

Archie is online now
 
Join Date: May 2002
Location: Orangeburg, SC
Posts: 1,655
The MSG in the attached picture will read the IP information from an Ethernet card. The tag IPInfo is a SINT[50]. The first 4 bytes returned represent the IP Address in reverse order. The problem is the SINT is signed and the bytes for the IP needs to be unsigned. If you can do a bitwise copy form the SINT to an INT, then it should become the correct IP values.
Attached Images
File Type: png IPAddressRead.png (10.7 KB, 42 views)
__________________
Expectations lead to disappointment. Appreciation leads to satisfaction.

AdvancedHMI - Software without the license key hassles
  Reply With Quote
Old March 20th, 2017, 04:50 PM   #7
nhatsen
Member
Venezuela

nhatsen is offline
 
Join Date: Oct 2010
Location: Venezuela
Posts: 593
Quote:
Originally Posted by poppachoppa View Post
I am trying to display the two IP addresses for 2 1756-ENBT on the same rack onto a panelview. I do not need to change them, just display them and also the Panelviews address as well.
The ActiveX control described in the following technote is able to read the IP Address from a hosting PV Plus 6/7:

TN520347 ME IPInfo Control ActiveX control to get IP address, subnet mask, gateway and MAC ID (Access Level: Everyone)

Access level is for everyone, so you only need a free account in RA website.

There's another Activex control for older Panel Views (techconnect access):

TN35439 ActiveX Control for View Machine Edition, obtains IP address, Subnet mask, Gateway address and MAC ID (Access Level: TechConnect)
__________________
"If you can't solve a problem, then there is an easier problem you can solve: find it." (George Pólya)
  Reply With Quote
Reply
Jump to Live PLC Question and Answer Forum

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Topics
Thread Thread Starter Forum Replies Last Post
3 identical machines with identical IP addresses . Would like to bring into a HMI Rob S. LIVE PLC Questions And Answers 27 October 28th, 2016 02:08 PM
Siemens TIA portal V12 IP addresses Gordon Coyle LIVE PLC Questions And Answers 3 August 21st, 2015 07:42 AM
Bootp & dhcp meghnesh LIVE PLC Questions And Answers 23 May 28th, 2014 06:29 PM
Changing A-B IP Addresses AS91Racer LIVE PLC Questions And Answers 0 January 7th, 2010 10:05 AM
IP Addresses / Ethernet Network SamHefner LIVE PLC Questions And Answers 7 May 28th, 2009 12:34 PM


All times are GMT -5. The time now is 03:33 PM.


.