Posted 9 Dec 2005 Hi, anyone used SPD_M -command with GX-IEC 6.10 and FX2N? I got error msg C2017: Type mismatch on output variable. I have tried to type my code just like in example and I have used direct addresses. Tmu Share this post Link to post Share on other sites
Posted 10 Dec 2005 tmu, The output from this block uses three integer variables. Therefore you have to declare an array variable of int (0..2). Then insert the label for the variable into the output of the function block. Share this post Link to post Share on other sites
Posted 12 Dec 2005 Thanks waynes, now it works much better. Tmu Share this post Link to post Share on other sites