Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

changing comm driver from koyo to modbus tcp

Solved!
Go to solution
I have a working system that uses a koyo plc and modbus driver.  I am changing out the plc to a scadpak with modbus tcp.  Is there some way to change the comm driver over without having to recreate all the tags and displays that were created under the old comm driver?  I know I will have to change the  registers that the displays use to reflect the scadapak plc but I hope I don't have to start over!
0 Kudos
Message 1 of 6
(7,350 Views)

The same modbus driver will work.  Koyo modbus and Scadapack modbus is the same thing.  Change the settings to ethernet and enter the IP address.

 

Good luck

Mike

Mike Crabtree - Lead Developer
Destek of Nevada, Inc. / Digital Telemetry Systems, Inc.
(866) 964-6948 / (760) 247-9512
0 Kudos
Message 2 of 6
(7,343 Views)

Mike,

 

That won't work.  The driver is a DL205.  The setup is differnet.  I am using the Modbus Secondary driver.  I hope I don't have to recreate the whole application.  There is conciderable amount of displays and sceens that have been created for this application.  I tried using the import/export function,but that only works when importing or exporting from the same type of set up.  Ie dl205 to dl205.  I know other types of HMI software allow you to redirect tags without recreating the whole application.  I must me missing something here.

0 Kudos
Message 3 of 6
(7,294 Views)

morrellh;

 

I believe that mikes response was correct, but predicated on your original statement that you were using the MODBUS driver to talk to the Koyo PLC. If you are using the 205 driver object, you are probably using the k sequence protocol. In any case you can export from the 205 driver object and then import to the modbus object after an intermediate step. The k (or N) sequence addressing in the 205 driver is different from MODBUS so you will have to change the addresses. These are listed under the Member column in the export file.  You have some other challanges. First; Assuming that you will have similar items defined in the scadapak plc but with different addresses from the koyo, I would copy the alias names from the 205 driver object to the to the MODBUS driver object. This is easily done in the .xls export file. While working in the file that you will import into the MODBUS driver object you must assign the corresponding Scadapak MODBUS address for each alias. The scond challange is that all of your existing items that reference the 205 driver will now have to point to the MODBUS driver. I feel that this is most easily done by editing the individual process .lks files. A simple find and replace will do the trick. If you have a large application and have not messed with the .lks file before, you might want to practice on a simple process to learn about the .lks file.  This is all easier to do than it is to describe. I don't know if there is any doucumentation that describes the .lks file, but it's not to hard to figure out but when you first look at it it can look intimidating. Before editing your actual lks file(s) be sure to save them in case you make a mistake. If you do edit the lks file i would strongly recommend using a text editor that provides line numbers. You didn't state why you were changing the PLC, but if you just want to put it on an Ethernet, you could either add an Ethernet module or use a serial device server.

 

Jim Besselman

Control Automation, Inc.

0 Kudos
Message 4 of 6
(7,272 Views)
Solution
Accepted by topic author morrellh
OK I got this to work.   I created a new modbus ethernet driver.  I then exported a blank xls file  from this new driver.  I then exported a xls from the OLD driver with the old info.  With both spread sheets open,  I then cut and pasted the old info into the new xls file.  I then changed the old member numbers to the new numbers I used with the new PLC.  This WORKED!   I think this is the best way when changing PLC'S.  
0 Kudos
Message 5 of 6
(7,202 Views)
sorry I forgot to add_  After pasting into the new xls sheet I went to the new Modbus driver and did an import to the new Modbus driver
0 Kudos
Message 6 of 6
(7,201 Views)