windell747 Posted February 10, 2015 Share Posted February 10, 2015 Hi, Is it possible to download the last version of the code that was compiled and uploaded to the PMAC? I'm not talking about the compiled binaries, but the actual source code. thanks, windell Link to comment Share on other sites More sharing options...
Omron Forums Support Posted February 11, 2015 Share Posted February 11, 2015 No, PMAC does not store the source code for code which is compiled (i.e. compiled PLCs or open servo algorithms). Link to comment Share on other sites More sharing options...
windell747 Posted February 12, 2015 Author Share Posted February 12, 2015 No, PMAC does not store the source code for code which is compiled (i.e. compiled PLCs or open servo algorithms). Forgive me, but when I compile my code I see in the build feedback "Downloading x.c to power pmac". This leads me to believe that the source is uploaded to the pmac and then is compile onboard. I apologize if this is a dumb question or and RTFM answer. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted February 12, 2015 Share Posted February 12, 2015 No, my apologies. I failed to notice that this was a Power PMAC question, not Turbo, and so my answer was completely wrong. You should be getting a correct, and more favorable, answer shortly. Link to comment Share on other sites More sharing options...
steve.milici Posted February 12, 2015 Share Posted February 12, 2015 If you are asking about C Language source code in the Power PMAC then yes this is possible. In the Properties page for the project (right-mouse click and select properties) under “Power PMAC project general properties” there is a switch to select “Download C Source Files”. The C-code is compiled on the PC using a cross compiler. The object code is sent to the PMAC. Link to comment Share on other sites More sharing options...
windell747 Posted February 12, 2015 Author Share Posted February 12, 2015 If you are asking about C Language source code in the Power PMAC then yes this is possible. In the Properties page for the project (right-mouse click and select properties) under “Power PMAC project general properties” there is a switch to select “Download C Source Files”. The C-code is compiled on the PC using a cross compiler. The object code is sent to the PMAC. Wonderful! Thanks! After I set this, where would the source code be located on the PMAC? Link to comment Share on other sites More sharing options...
steve.milici Posted February 13, 2015 Share Posted February 13, 2015 Upon download the files are stored in the project folder in volatile ram at “/var/ftp/usrflash/Project/” with the same folder structure as the project on the PC. The object code is also there (the .ko, .so and .out files). After a “save” command they are stored in flash memory at”/opt/ppmac/usrflash/Project/”. Link to comment Share on other sites More sharing options...
40acrediesel Posted February 20, 2015 Share Posted February 20, 2015 I have run across a PMAC VME system in which the owner can only supply a *.PP file -- Can the source code be extracted from this file? Thanks Link to comment Share on other sites More sharing options...
steve.milici Posted February 20, 2015 Share Posted February 20, 2015 I have run across a PMAC VME system in which the owner can only supply a *.PP file -- Can the source code be extracted from this file? Thanks The file type you describe, "*.PP" does not conform to any of the "saved configuration" file types used by Delta Tau software. For further assistance please email the file to support@deltatau.com for evaluation. Link to comment Share on other sites More sharing options...
Recommended Posts