
adccommunitymod (AutomationDirect) asked a question.
Created Date: November 30,2016
Created By: DanSut
**** This post has been imported from our legacy forum. Information in this post may be outdated and links contained in the post may no longer work.****
I was a little disappointed to find that I can't have my Ethernet CLICK PLCs configurable by DHCP - I would normally configure PLC IP using a DHCP reservation based on MAC address - but this doesn't seem to be an option. The options seem to be: A default address of 192.168.0.10/16 with no default gateway - next to useless for anything other than initial config ?? Statically configured to a fixed spec. I was resigned to this limitation until I saw this on page 4-21 of the Click Hardware User Manual C0-USER-M: { "alt ": "CLICK PLC Hardware manual 4-21 excerpt ", "data-align ": "center ", "data-size ": "custom ", "height ": "534 ", "title ": "CLICK ethernet port config ", "width ": "838 ", "data-attachmentid ":103648} which clearly shows DHCP as an option replacing the Use default fixed address , in the version of the CLICK programming software I have. Is this an upcoming feature? (please) Or am I missing someway of enabling this secret feature?
Created Date: November 30,2016
Created by: DanSut
I was a little disappointed to find that I can't have my Ethernet CLICK PLCs configurable by DHCP - I would normally configure PLC IP using a DHCP reservation based on MAC address - but this doesn't seem to be an option. The options seem to be:
A default address of 192.168.0.10/16 with no default gateway - next to useless for anything other than initial config ??
Statically configured to a fixed spec.
I was resigned to this limitation until I saw this on page 4-21 of the Click Hardware User Manual C0-USER-M: { "alt ": "CLICK PLC Hardware manual 4-21 excerpt ", "data-align ": "center ", "data-size ": "custom ", "height ": "534 ", "title ": "CLICK ethernet port config ", "width ": "838 ", "data-attachmentid ":103648}
which clearly shows DHCP as an option replacing the Use default fixed address , in the version of the CLICK programming software I have.
Is this an upcoming feature? (please) Or am I missing someway of enabling this secret feature?
Created Date: November 30,2016
Created by: kewakl
Interesting, it is in the HARDWARE manual but not in the software setup.
In the SC_FS.ini file there are entries referencing DHCP, so there may be something in the works.
In the heading DHCP=2
In the heading DHCP=1
In the heading DHCP=1
But then, there are also entries referencing 2 channels of high speed counters @ 20KHz
This and other .ini files have some interesting abbreviations and misspellings
Created Date: December 01,2016
Created by: DanSut
Where are you finding this SC_FS.ini (and other .ini) file kewakl?
I 've now found similar entries to those you are talking about if I open the .ckp files in a text editor, but they also contain a bunch of binary too...
Created Date: December 01,2016
Created by: kewakl
Where are you finding this SC_FS.ini (and other .ini) file kewakl?
installation folder
mine is at "C:\Program Files (x86)\AutomationDirect\CLICK Ver2.00 "
Created Date: December 01,2016
Created by: DanSut
installation folder
mine is at "C:\Program Files (x86)\AutomationDirect\CLICK Ver2.00 "
Doh - of course!
Mine is actually C:\Program Files (x86)\CLICK-2.00
but for some reason I was just looking in C:\Program Files (x86)\AutomationDirect\CLICK Common\Ver2.00
which just contains 2 .exe
Having found the .ini files I assumed they were used for project defaults but making changes to the IPAddress, DHCP, etc appears to have no effect on what appears in the Com Port1 Setup dialog on creating a new project for an Ethernet CLICK PLC:(
Shame, I was hoping to be able to enable the DHCP functionality, even if it is only a beta feature I felt sure I could work around its issues by having full control of DHCP server - the Twidos I 've previously worked with have delicate DHCP functionality that can be made to work in controlled circumstances.
Editing the .ckp files without working out their format better is a no go, as there is obviously some sort of checksum - even changing a single byte results in a GUI-032 error: This is not a valid CLICK project file.
Thanks for providing some clues kewakl:cool:
Created Date: December 01,2016
Created by: DanSut
Responded too soon:o Changes in SC_FS.ini do change the defaults in new projects.
IPAddress=3232256523
SubnetMask=4294967040
DefaultGateway=3232256513
DHCP=0
Will give you a static IP of 192.168.82.11 netmask 255.255.255.0 gateway 192.168.82.1 by default.
I was trying with DHCP=1 which seems to cause section to just be ignored at present - if program PLC with this default config it still comes up with 19.168.0.10/16 config even though nothing in .ckp
I suppose it was worth a try:rolleyes:
Created Date: December 01,2016
Created by: kewakl
Some of the other entries will cause bit/data to have default values - although more than likely those default values will be overwritten by prescan/scan/program.
We may be approaching poking into places that AD considers sensitive, so I will stop here.