Jump to content

How to save IP configuration entered from Information Mode?


Recommended Posts

Hi,

I have a V560-T25B with V200-19-ET2 Ethernet port. I am initializing the TCP/IP card with default Ethernet configuration information that is stored in Memory Integers. If the ethernet configuration is changed through the Information Mode interface, I would like to be able to grab the new IP address, subnet mask, and default gateway and save them to an SD card so that the new values can be used on subsequent power-ups.

Unfortunately, I can't find any way to access the new configuration information from ladder logic. I assume there would be some System Integers that would be storing the current IP configuration information, but I cannot find them. Once the Ethernet configuration is changed via Information Mode, the only way I can find to get the new parameters is to go back into Information Mode and look at the values displayed on the screen.

Is there a way to programmatically access the current IP configuration once it is changed via Information mode? Or do I need to create my own interface for entering and storing new network configurations?

Thanks,
Will

Link to comment
Share on other sites

  • MVP 2023

Information Mode over-rides your program, as you've seen.  I generally keep Information Mode a secret from end users.

Making your own interface to edit the values in the Ethernet address Memory integers is relatively simple.  I usually put that screen behind a password.  After editing you either cycle power to for the new Ethernet information to take or put a negative transition on the Display Active it tied to your editing screen.  Use that to re-trigger the Card Init block to make the settings take effect immediately.

 

Joe T.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...