News:

  • May 14, 2026, 06:56:55 AM

Login with username, password and session length

Author Topic: Example: Set an IP address using a SS string.  (Read 24876 times)

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Example: Set an IP address using a SS string.
« on: December 20, 2013, 07:15:04 AM »
Using DataView, you can place an IP address in SS0 and then set C0 and the IP address will be placed into D0. If you don't format the IP correctly you will get an error message in SS2 and D0 won't change.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

mts_spooner

  • Newbie
  • *
  • Posts: 3
  • Chief Engineer at MTS
    • Company Website
Re: Example: Set an IP address using a SS string.
« Reply #1 on: March 20, 2026, 03:12:36 PM »
I tried this, but it didn't work. Is this a depreciated feature?
Chief Engineer at MTS
https://mcallister.com/

plcnut

  • Hero Member
  • *****
  • Posts: 814
    • premiersi.com
Re: Example: Set an IP address using a SS string.
« Reply #2 on: March 21, 2026, 01:47:37 PM »
There is a sample program attached to my fist post. If you load that sample program in your PLC, then it should work.
Circumstances don't determine who we are, they only reveal it.

~Jason Wolthuis
Premier Systems Integration, LLC
http://premiersi.com

franji1

  • Bit Weenie
  • Host Moderator
  • Hero Member
  • *****
  • Posts: 3814
    • Host Engineering
Re: Example: Set an IP address using a SS string.
« Reply #3 on: March 23, 2026, 09:15:53 AM »
I tried this, but it didn't work. Is this a depreciated feature?

Which specific Ethernet Port are you trying to configure?  There is the built-in one, but then there are others that can exist such as in a BRX POM module or in a 205 ECOM module.