Internet PLC Forum

General => Technical support => Topic started by: montyk on March 09, 2008, 01:27:51 PM

Title: PLC Address programming
Post by: montyk on March 09, 2008, 01:27:51 PM
 ??? My application will be using multiple MD888 as slaves and then one as a master, to make maintance easier I would like to set the PLC address by using DIP switches. Can this be done.
Title: Re:PLC Address programming
Post by: support on March 09, 2008, 06:12:07 PM
I guess you already know how to use TLServer to change the ID. That is performed in a PC and does not require any DIP switch.

If you have spare inputs to be connected to a DIP switch (or other switches) it is possible for the PLC with firmware revision of r50 to set its own ID using the SETSYSTEM 8, n.  So you need to read the DIP switch data and convert into ID = n and then use the above statement to change the PLC ID.

Please note that this function will not work on PLC with older firmware revision.