maartenvervelde Posted September 21, 2015 Share Posted September 21, 2015 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 More sharing options...
Omron Forums Support Posted September 23, 2015 Share Posted September 23, 2015 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 More sharing options...
Recommended Posts