Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
SIMULINK
#1
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.
Reply
#2
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?
Reply
#3
(10-31-2011, 11:15 AM)serkan Wrote: 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.
Reply
#4
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.
Reply
#5
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.
Reply
#6
Where can I down load the Simulink interface?
Reply
#7
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,

http://forums.deltatau.com/filedepot/dow...ation).zip
Reply
#8
Note - in current version as of 9/2017 (3.0.1.0), it can be found at:

C:\DeltaTau\PowerPMAC\3\IDE\MATLAB Component
Davis Gentry
Advanced Motion Applications Engineer
Omron Automation and Safety
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)