Posted 14 Dec 2017 Hi. I'm trying to use the MOD function inside a structured text function block, but I don't seem to get the command call correct. Anyone have an explanation on how to use it? Share this post Link to post Share on other sites
Posted 14 Dec 2017 Have you tried the example in the instruction help? abc:= Dividend MOD Divisor; abc:= INT#18 MOD INT#5; Answer will be 3. Share this post Link to post Share on other sites
Posted 14 Dec 2017 (edited) Yeah, and I tried it again and now it works Edit: Some ctrl +z action and I see what my error was.. I had a comma on the line that I didn't see.. Edited 14 Dec 2017 by Riff Share this post Link to post Share on other sites