Data Sheet

www.dimensionengineering.com/products/Sabertooth2x32
Program commands
There are ten types of operations available in user mode. Each changes the output or changes program
flow.
Each operation takes one of the four block spaces in the program. To add a command, click on a blank
box. To remove a block, click the red X above the block. To change or modify a block, click on the block
itself and a menu will appear in front of the block. To move a block up or down in the program, click the
up or down arrows.
If
The If operation is used to make the Sabertooth do one thing or another, depending on state. For
example, you could make it either use USB control or an R/C signal coming into s1, depending on the
state of a radio control input into S2.
The If operation takes two additional inputs, which are labeled X and Y. By clicking on the X or Y block,
you can select any if the input or internal signals available.
The If operation can perform standard logical comparisons. To change which comparison it is
performing, click on the center If block and then select Condition from the list that pops up.
If the comparison is true, the blocks below the Yes arrow will be run. If the comparison is false, the
blocks below the No arrow will be run.
Set
The Set operation sets a new value for the output channel, ignoring any values coming into it. This is
often used after an If operation. For example, if the temperature is above 10 degrees, operate.
Otherwise, set the motor outputs to zero.
The Set operation takes one additional input, labeled Value.
Calibrate
The Calibrate operation is similar to the calibration applied to analog and R/C signals. It is used to set a
new input to output mapping. Calibrate is computationally intensive and can cause your program to run
slowly. For this reason, it is better to calibrate your input signals in the Setup tab and use the Calibrate
block only where necessary.
The Calibrate operation takes five additional inputs, labeled Input Min, Input Center, Input Max, Output
Min and Output Max.
Flip
The Flip operation reverses the polarity of the signal. For example, if the motor is running forward
without the Flip operation, it will run at the same speed backwards with Flip applied.
The Flip operation takes no additional inputs.