ProgrammingPage 5-42 ABB Control - AC 311SBC 260400 R1001-b 06.995.9. Up/Down counter functionThe following example shows how to set up the Up/Down counter block VRZ.The result of the VRZ block may vary from -32768 to 32767. In this example, the outputsLOW_LIMIT or HIGH_LIMIT are respectively at 1, when the counter arrives at the value 0 or800.VRZFREIZVZRDIFFSZWR ZINPUTOUTPUTSTEPPRESETRESET CURRENT_RESULT=?Z1=?Z2 QCURRENT_RESULTMAX_800 HIGH_LIMITPRESET_VALUE=?Z1=?Z2 QCURRENT_RESULMIN_0TRUELOW_LIMIT