I want to compare a value from a math_counter to 0. When it gets bigger than 0, it should trigger a logic_relay, and when it becomes equal to 0, it should trigger a different logic relay. Basically: Problem is, I have no idea how to do that. Any ideas?

Well, this certainly helps, but the problem is the vdc documentation about what's a logic_compare is very confusing, to say the least. Right now the math_counter has the following output logic: Code: OutValue, logic_compare, Compare . Then, the logic_compare has the output logic: Code: OnEqualTo, relay_0, Trigger and Code: OnGreaterThan, relay_1, Trigger . But how do you cause it to compare?

The Compare input will compare two already given values. You'll probably want to use SetValueCompare to both give the math_counter's value AND compare it at the same time.