Jump to content
OMRON Forums

Access EtherCAT or MACRO ring nodes from simulink


maartenvervelde
 Share

Recommended Posts

Is it possible to access the data from the nodes from EtherCAT and a MACRO Ring.

We want to make a program that doesn't rely on any programming in the IDE, only in Simulink. So we wondered if we could reach the data from Simulink like you can access the other motors through the pshm. I checked the RtGpShm.h but I couldn't find anything for Ethercat or Marco ring (I admit I didn't look really long).

 

What would work the best and why?

Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

Top Posters In This Topic

Hi,

 

You can access any part of memory through pushm, piom, and pshm pointers. The Power PMAC User Manual describes how to do that in detail under the C programming section.

 

As for Simulink, I am not completely sure how to add EtherCAT or MACRO specifically. You could always open up the code it generates and add them yourselves.

 

Can you give some names of specific structures you are trying to access?

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share


×
×
  • Create New...