Cyclic read/write sdo values

Hello,

i need to communicate with a powerlink node via sdo read/write. I need to read some states, busy signals and have to send a hardware signal and trigger signal. Its a bad design but i have to do it in this way. In Twincat i can add a CoE-object with the corresponding index and subindex. Is there a similar way in Automation Studio to add a new item to the process data? I found a this one d0c13ddc-d6ff-439f-a3d7-232dff159ad6 EplCreateObject(). Can someone explain how to use this function? Low experience in Automation Studio

using AS 4.12 and 6.1, apc3100

thanks for your help

Hi @Maximilian_Ritter

Not sure about EplCreateObj, but for sure you could do this with EplSDOread() and EplSDOwrite(), or maybe I don´t understand the problem, is all of these objects/variables existing or is something you have to create?

@Jorge_Nunez thanks for your response. All of these objects/variables exist. I can read/write all of them via EplSDOWrite/EplSDORead. I just wanted to know if there is a easy way to read these variables cyclical.

Hello,

I have answered a similar topic before. You don’t need to read every data with a function, some of them are directly included in IOmapping.

If you want to read,write data cyclically, you will have to import an xdd-file for this slave and add this slave to the powerlink network and configure it in AS.