Machsupport Forum
Mach Discussion => Brains Development => Topic started by: gjk on November 04, 2014, 01:30:46 PM
-
I am having trouble getting the modulo operator to work in a brain. I would like to activate an output for .5 seconds each time my machine moves a specified distance. This output will control an oiler. I can’t get any value from the formula in the brain. It always outputs 0. Hopefully someone can tell me if my syntax is wrong or if there is a better way to do this. Thanks.