Problems with setting output with Beckhoff EK1100 and EL2809

I have a problem with setting the outputs of my IO card. The systeem I have is an CtrlX core with a plc program, a ctrlx drive and a beckhoff bus coupler (EK1100) station with an 16 output card (2809).

I've succesfully configured the IO configuration and have no errors in my system.

If I don't add the output card to my plc program then I can set the output with the help of the datalayer with no problem. But when I add the output card to my plc program then for whatever reason my outputs keeps getting written over by something to 0. After adding the outputs to my plc program it's also not possible anymore to set the outputs with the datalayer.

Because the system is not giving me any errors I don't know why and how the system keeps overwriting these outputs. Even if I don't use the outputs in my PLC program they still keep getting overwritten. I want to know what is causing this problem and how to fix it because right now I don't know where to start looking to fix this.

 

 

 

 

 

Best reply by JLG_War

I've found the cause why my outputs weren't working correctly. The problem started when I added the axis interface template to my project. Somewhere in the demo code in the axis interface it overwrites the datalayer. I don't know exactly where it does this but after I deleted the demo programs from my project I didn't have any problem anymore with my outputs and controlling my axis. 

View original
4 replies