Author Topic: CLX not asigning IP Adress  (Read 1461 times)

dm1netprof

  • Newbie
  • *
  • Posts: 7
    • View Profile
CLX not asigning IP Adress
« on: October 03, 2016, 01:07:31 PM »
Hey Guys,

I'm using V3.99P

And the CLX is not assigning the right IP Address to ethernetipforclxcom

any thoughts?

Godra

  • Hero Member
  • *****
  • Posts: 1447
    • View Profile
Re: CLX not asigning IP Adress
« Reply #1 on: October 03, 2016, 01:19:14 PM »
According to this topic http://advancedhmi.com/forum/index.php?topic=1343.0 , since version v3.99k, there is a property named IniFileName and that's where you should place CLX.ini file name.

My guess is that older versions do require it in the IPAddress property.

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLX not asigning IP Adress
« Reply #2 on: October 03, 2016, 01:22:26 PM »
The format of the INI files and the driver properties have changed. You now use INIFilename and INIFileSection properties along with a more common INI file format. See this for a bit more details:

http://advancedhmi.com/documentation/index.php?title=INI_File_Usage


Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLX not asigning IP Adress
« Reply #3 on: October 03, 2016, 02:38:03 PM »
The name in the brackets must match exactly what you have in the INIFileSection property. But what you are showing looks ok from what I see. Open the INI file directly from the \Debug directory just to make sure your changes are being put in the directory.
« Last Edit: October 03, 2016, 03:09:04 PM by Archie »

dm1netprof

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: CLX not asigning IP Adress
« Reply #4 on: October 03, 2016, 02:41:08 PM »
I was doing it wrong, my InFileSelection was wrong

Here is a screen shot of the proper format, for the next guy who has this issue!

Thanks for the quick responses

Archie

  • Administrator
  • Hero Member
  • *****
  • Posts: 5322
    • View Profile
    • AdvancedHMI
Re: CLX not asigning IP Adress
« Reply #5 on: October 03, 2016, 03:23:50 PM »
Just a bit more information on why the format was changed..... The new format will allow you to use a single INI file across multiple drivers. For instance, if you have one HMI talking to 2 PLCs, the setup for both PLCs can both be stored in the same INI file. Another use could be a central file for all of your PLCs. Let's say you have 20 PLCs in the plant and all use an AdvancedHMI application. You could theoretically store the com settings to all the PLCs in one central file, then use that one common file for all of the HMI applications.

Another feature added with the change is that it can be used to set any property, such as Port, PollRateOverride, SlotNumber, etc.