11.1.89.5   %LOOPMINUS

Decrements tag by specified amount, percentage , tag value or script variable until OUTPLO (output low span) reached then resets counter to OUTPHI (output high span). Repeats continuously. Similar to RotatePlus, but when OutpLo reached, next value is OutHi.

 

<SETVAL>counter=%LOOPPLUS 1       # increments tag named counter by 1

# until OutpLo reached

# then resets counter to OUTH.

# Repeats .

<SETVAL>tag2=%LOOPPLUS 1%                        # increments tag2  by 1 percent of output

# span until  OutpLo reached

# then resets counter to OutH.

#  Repeats.

<SETVAL>tag2=%LOOPPLUS @tag1    # increments tag2  by  value of tag1

# until OutpLo reached

# then resets counter to OutH.

                # Repeats.