<html><body><div style="color:#000; background-color:#fff; font-family:HelveticaNeue, Helvetica Neue, Helvetica, Arial, Lucida Grande, sans-serif;font-size:16px"><div id="yui_3_16_0_1_1427386407910_2531" class="" style=""><span style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2700">Hey everyone,</span></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2595"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2594">I'm working on OpenSUSE 13.1 x64 with MATLAB R2014b.</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2592"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2591">I have installed and configured everything in accordance with the following guideline;</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2593"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2609"><a href="http://www.symbitron.eu/wiki/index.php?title=EtherLab_Installation" target="_blank" style="color: rgb(17, 85, 204);" class="" id="yui_3_16_0_1_1427386407910_2615">http://www.symbitron.eu/wiki/<wbr class="" style="">index.php?title=EtherLab_<wbr class="" style="">Installation</a><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2616"><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2590">In the Terminal screen when I type "sudo ethercat slaves" to reveal the connected hardwares, I get the following response, which is what I expect;<br class="" style=""><br class="" style="">0 0:0 PREOP + EK1101 EtherCAT-Koppler (2A E-Bus, ID-Switch)<br class="" style="">1 0:1 PREOP + EL4038 8K. Ana. Ausgang +/-10V, 12bit<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2617">So, my master module is BeckHoff EK 1101 and its master id is 0 and slave id is also 0. Likewise another module connected to EK1101, which is an analog output module named EL4038, has the master id of 0 and slave id of 1<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2618">I have created a simulink file. Configured everything according to above mentioned guideline, such as code generation options and other things.<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2619">I have EK1101 infrastructure module on my model, which was provided in the etherlab_lib. I also copied the EL4002 analog I/O module from the same library to my simulink file and configured it as EL4038 from "Device Model" option.<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2636">I set the master and slave indexes of both models accordingly.<br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2635">I connected a "Constant" block, which outputs value of "1" and this is connected to input port of EL4038 module.<br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2634">When I build the model, there is no error or something. When I run the model, it runs. However I do not read any voltage on the EL4038 module's output pin when I measure it with a multimeter.<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2648">Under help section of EL4xxx module it is written that the maximum input ranges from -1 to 1 for bipolar terminals. Any value over the range is saturated. However, I get no voltage from my analog output module at all.<br class="" style=""><br class="" style=""></div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2661" dir="ltr">I appreciate any kind of help.</div><div style="color: rgb(34, 34, 34); font-family: arial, sans-serif; font-size: 12.8000001907349px;" class="" id="yui_3_16_0_1_1427386407910_2660">All the best.</div><div id="yui_3_16_0_1_1427386407910_2531" class="" style=""><br class="" style=""></div></div></body></html>