Author Topic: Dynamic Network Address  (Read 5044 times)

Nick Anderson

  • Guest
Dynamic Network Address
« on: January 18, 2017, 08:26:40 PM »
Has anybody investigated whether a controller's address can be updated dynamically in real-time.  I was configuring a couple I/O modules and was thinking that if we're dynamically changing the address of the I/O module during configuration, can we do the same thing with a controller?  I tried to make a file that would set the address based on encoding 4 separate inputs, but kept getting an error saying the node address init component has to be connected to the output of something that can be set at initialization.

Offline oiltronic

  • PLUS+1 Guru
  • *****
  • Posts: 170
  • Karma: +15/-0
Re: Dynamic Network Address
« Reply #1 on: January 21, 2017, 07:07:08 AM »
A Non-volatile memory component has an output that is set at initialization, so I use an external input or two to pick the address, and if it's different than what is stored I save it to NV memory.  Here's an example from a DP700 project.