pennells Posted October 27, 2011 Share Posted October 27, 2011 Can you use the PPMAC_INPUT and PPMAC_OUT blocks to access structures in the shared memory or do you have to use one for each element. I suspect the later because the support for passing of structures in SIMULINK seems to only have been implemented after version 7.6 (R2010b). It's just a pain to have to place a symbol for every element in the interface. Also, I'm not sure if it has been fixed yet but the version of the DELTATAU PPMAC Library which we have has PPAMC_INPUT (instead of PPMAC_INPUT) --obviously not important. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted October 31, 2011 Share Posted October 31, 2011 Yes, you have to use one for each element at this stage. Are you using Real-Time Workshop embedded coder to generate servo code, or a background program? Link to comment Share on other sites More sharing options...
pennells Posted November 2, 2011 Author Share Posted November 2, 2011 Yes, you have to use one for each element at this stage. Are you using Real-Time Workshop embedded coder to generate servo code, or a background program? Hopefully, we are doing both. That is our current goal. Link to comment Share on other sites More sharing options...
pennells Posted August 8, 2012 Author Share Posted August 8, 2012 Having problems with the Real-Time Workshop coder for Matlab R2010b. The ertlib.tlc is trying to include file PPMAC_param_update.txt and the PPMAC_file_process.tlc file is trying to include PPMAC_param_mapping.txt but I have no idea where to get these files or, if I am to create them, what the format of these files is. Link to comment Share on other sites More sharing options...
Omron Forums Support Posted August 8, 2012 Share Posted August 8, 2012 The fastest solution is to open this file in MATLAB editor window: matlabroot/rtw/c/tlc/mw/ertlib.tlc and comment out the two lines that are including PPMAC_param_update.txt and PPMAC_param_mapping.txt. To comment out a line in the .tlc file you need to add %% at the beginning of the line. These text files are used when you are doing Parameter tuning. I guess you are not, Are you? The newest version of MATLAB component for Delta Tau Power PMAC Target will be out with the Power PMAC IDE release soon. Link to comment Share on other sites More sharing options...
hongchinlin_992x Posted August 20, 2012 Share Posted August 20, 2012 Where can I down load the Simulink interface? Link to comment Share on other sites More sharing options...
Omron Forums Support Posted August 20, 2012 Share Posted August 20, 2012 It now comes with the IDE release which can be downloaded from http://forums.deltatau.com/showthread.php?tid=152 After Installing IDE, it will be at: C:\Program Files\Delta Tau Data Systems Inc\2.0\Power PMAC Suite\MATLAB Component depending on where you've installed it. It can also be found in the forums, File Depot, under MathWorks® Simulink® Interface for Power PMAC Real-time routines, ).ziphttp://forums.deltatau.com/filedepot/download.php?f=Power%20PMAC/MathWorks%C2%AE%20Simulink%20Interface%20for%20Power%20PMAC/MathWorks%C2%AE%20Simulink%20Interface%20for%20Power%20PMAC%20Real-time%20routines%20(user%20servo%20code%20generation [FILE REMOVED] Link to comment Share on other sites More sharing options...
Omron Forums Support Posted September 13, 2017 Share Posted September 13, 2017 Note - in current version as of 9/2017 (3.0.1.0), it can be found at: C:\DeltaTau\PowerPMAC\3\IDE\MATLAB Component Link to comment Share on other sites More sharing options...
Recommended Posts