
adccommunitymod (AutomationDirect) asked a question.
Created Date: March 14,2008
Created By: AZRoger
**** 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.****
Well I finally ran out of slots in three bases for my 250-1 system. To add in a 4th base, I need to go to a 260 CPU. From what I have read, it looks almost painless. I have remapped all the I/O on the 250-1 system, and have a Basic co-processor and one Analog module (F2-8AD4DA-2 8-Ch. In / 4-Ch. Out Analog Voltage Combo.) and lots of regular 32 bit input and output modules. From chapter 16 of an analog PDF I found on the AD site, it looks like the analog setup is exactly the same between the 250-1 and 260 including all the special V-Mem address used to control the modes. So it seems to me that I could take a full backup of the project including configuration things and vmemory and edit the first line of the .txt file to specify a 260 CPU. Shutdown DirectSoft. Power off the PLC bases, swap in the 260 CPU. Power things back up. Restart DirectSoft with a new project for a 260 CPU. Import the .txt file previously saved. Set the configuration from the backup. Down load the program imported from the backup and I'd be good to go. Anyone see any steps I missed? It seems almost too easy. http://forum1.automationdirect.com/board/smile.gif Thanks for your help. Roger
Created Date: March 14,2008
Created by: chris.zeman
Actually, I think it's even easier than that. Open your program in DS and make sure you 're offline. Go to PLC->Offline Setup and select 260. Save your project and upload to the new processor.
Chris
Created Date: March 18,2008
Created by: AZRoger
Thanks Chris. I ordered the parts today.
Roger
Created Date: March 19,2008
Created by: chris.zeman
No problem, Roger! http://forum1.automationdirect.com/board/smile.gif
Created Date: March 26,2008
Created by: AZRoger
Turns out, it isn't quite that simple.
While I was connecting to the 260 PLC (through ethernet ) it complained that the link characteristics didn't match the PLC . I edited it (not hard) and then down loaded the project, logic and data. It took over a minute (normal time for just the program is under 10 seconds) which I chalked up to extra program and data memory to initialize or to writing to slow memory for power-on type parameters.
The down-loaded program didn't work at all. The scan time went from about 28 ms on the 250-1 to 6 on the 260. This should not be the case. Both processors clock ladder at the same rate.
I checked the I/O configuration and it was set to all grayed out values which had been assigned automatically. I didn't realize at the time that the gray values were not the I/O configuration from the 250-1. I then manually set the numbers to match the gray values (which don't match my layout at all) and I got an "addesses overlap on Base 2 Slot 1 ". Since I didn't know what was wrong and I needed to get the system back up quickly, I just wrote down the (bad) addresses and went back to the 250-1 (which is running right now).
It appears that when a whole project is downloaded into a "blank " CPU, the I/O configuration is not part of the project . Is this always the case or did I miss a step somewhere? It seems that if the PLC is part of a machine tool that someone sells to lots of other folks, it would be good to be able to get everything related to the machine setup into the PLC with one (repeatable without typos) step. It didn't work that way for me. In fact, to get the proper I/O configuration, I let the 250-1 run and I copied the configuration onto paper, reading it from the screen. That gives opportunities for writos (eye/hand onto paper) and typos (eye/hand into the new configuation screen). Tomorrow I'll try the 260 again with the proper I/O assignments in hand (on paper). :|
Roger
Created Date: March 26,2008
Created by: chris.zeman
I don't know what could 've caused that. I upgraded a control system here from a 250-1 to a 260 (when my program got too big) without any trouble.
Are you using expandable bases for and ethernet remote I/O system? Could you post the I/O configuration from the 250-1 and what the 260 detected it as?
Chris
Created Date: March 26,2008
Created by: AZRoger
Chris,
Here you go with more details about what my two CPU modules have.
My ECOM module is in Base 0. The three bases are connected to each other with Cat-5 cable between the little boxes at the ends of the bases. I don't know if AD runs ethernet protocols on those links or not. Everything is in one cabinet so the minimum length cable is what I have installed.
I'm putting the configuration information in tables. I hope my UBB is good enough to keep the columns lined up. The information is from the PLC configure I/O panel. On the 250-1, the addresses were in M (for manual) mode. For the 260 they were all A (automatic).
From the 250-1 Little "o "s are gray "0 "s/
=== Base 0 ===|=== Base 1 ===|=== Base 2 ===
INP OUT MODULE|INP OUT MODULE|INP OUT MODULE
140 o 32 IN |340 o 32 IN |700 o 8 IN
740 740 8AD4DA| o 300 32 OUT| o 720 8 OUT
500 o 32 IN |240 o 32 IN |100 o 32 IN
o o CP-128| o 200 32 OUT| o 100 32 OUT
400 o 32 IN |200 o 32 IN | o 0 32 OUT
o o H2ECOM|300 o 32 IN | o 40 32 OUT
440 o 32 IN | o 240 32 OUT| 0 o 32 IN
o 140 32 OUT| o 700 8 OUT| 40 o 32 IN
From the 260 All addresses were automatically assigned and grayed out.
=== Base 0 ===|=== Base 1 ===|=== Base 2 ===
INP OUT MODULE|INP OUT MODULE|INP OUT MODULE
0 o 32 IN |240 o 32 IN |440 o 8 IN
40 0 8AD4DA| o 100 32 OUT| o 250 8 OUT
100 o 32 IN |300 o 32 IN |450 o 32 IN
o o CP-128| o 140 32 OUT| o 260 32 OUT
140 o 32 IN |340 o 32 IN | o 320 32 OUT
o o H2ECOM|400 o 32 IN | o 360 32 OUT
200 o 32 IN | o 200 32 OUT|510 o 32 IN
o 40 32 OUT| o 240 8 OUT|550 o 32 IN
No part of the 250-1 project that had to do with I/O configuration was recognized by the 260. My guess is that your I/O devices were hard wired in the automatic assignment order which I think is the same for the 250-1 and 260. If fact the whole CPU module looks identical except for the name and the front panel and one white dot silk screened onto the circuit board.....
I hope this information helps us get to the bottom of this situation. Thanks for your help.
Roger
Created Date: March 26,2008
Created by: bcarlton
If you still have the 250-1 with the program in it try the following
Open the 250-1 version of the program then connect to the 250-1. Do a Save - Project - To Disk. I 've noted that one of the things mentioned as being saved is 'I/O Configuration '. Then disconnect. Save a copy of the project somewhere else.
Change the controller, as mentioned above, to a 260. Download to the 260 using Save - Project - To PLC. I'm sure I 've seen 'I/O Configuration ' as one of the things being downloaded.
Of course you may have already done all this and this is of no help whatsoever.
Created Date: March 27,2008
Created by: AZRoger
Bernie,
You hit the nail on the head. I had used the icon to write-to-PLC. That apparently did only the program. When I went to File, Save Project to PLC, it did download all the rest of the stuff -- including the configuration. I am up and running and a happy camper. http://forum1.automationdirect.com/board/biggrin.gif
Thank you and Chris for continuing to persue this until we had a solution.
Roger
Created Date: March 27,2008
Created by: chris.zeman
Good call, Bernie!
Created Date: March 27,2008
Created by: bcarlton
As a note - one thing that doesn't get transported is the setup of secondary comm ports.