Author Topic: Programme a board adress simply in the field  (Read 11272 times)

greyhame

  • Newbie
  • Posts: 1
  • I'm a llama!
    • View Profile
Programme a board adress simply in the field
« on: March 30, 2009, 10:29:02 AM »
We have a machine with 12 boards all doing basically the same job, all with different addresses.
Customer keeps one spare board, if he has to replace for example board 07 with his spare board for example how can he change or setup the board address to 07when he is not technically savy.   Can there be dip switches or a combination of inputs to programme the adress somehow. We are not using many inputs for our job, mostly counting at high speed.  
Bar Code?

support

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 3174
    • View Profile
    • Internet Programmable PLCs
Re:Programme a board adress simply in the field
« Reply #1 on: March 30, 2009, 02:58:03 PM »
1) You can write a simple Visual Basic program (we provide examples at our website: http://www.tri-plc.com/applications/VBsample.htm) that only changes the ID using the "@nnIWxxff*"command. You can send email this program to your user so that they can connect the PLC to their PC and then run the program to change the ID.

2) You can create a program on a special T100MD+ PLC just for the purpose of programming the ID on another PLC via RS485.

So in this special "Configurator" PLC you can send out the IW command based on the selected input being turned ON. ie. you can connect a rotary switch (12 position) so that each switch is connected to a unique input. The Configuration PLC can first query the ID of the slave PLC it connects to and use the NETCMD$ command to send the "@nnIWxx" string to the slave PLC via RS485 to change its original ID to the new ID pointed to by the selector switch.

« Last Edit: March 30, 2009, 03:00:32 PM by support »
Email: support@triplc.com
Tel: 1-877-TRI-PLCS