Guest DavisG Posted August 17, 2010 Posted August 17, 2010 Ok - stupid question - how can I download just the contents of one file? When trying the right click on the file from a new project in the solution explorer and pick download selected file (PLC) the IDE runs through and tries to download several files inder the Configuration, then programs under Motion Programs and Libraries, and generates errors and the file I WANT to download never gets done. Running IDE version date 7/22/2010, ver 1.1.0.26
bradp Posted August 17, 2010 Posted August 17, 2010 When you select "download selected file" from the right click on a particular file what must be done is that we parse all files in the directory "global includes" because we must be able to use any previous declared variable and maybe a new one has been made. Files under "configuration" such as pp_inc_disable.txt and pp_inc_startup.txt also get loaded as they contain instructions about what to disable and what to do after download. And of course the file you selected gets downloaded. The other part of downloading to the Power PMAC is building the .ini file which tells the parser (projpp) which files are part of the project. The parser must know this as it parses all files for definitions and declarations. Also, a selected file is part of a project so Power PMAC must know all the files in the project and this comes from the .ini file. What this means is that after a $$$*** or the first time you want to download you can not use download selected files. You must download the entire project one time so that the files inside Power PMAC match the files inside the IDE project from which this .ini file is created. Hopefully the December 2010 IDE release will contain version matching which will eliminate this problem since the IDE will then know when the Power PMAC project and the IDE project are different.
Recommended Posts