GOCLR Command

Purpose

Executes a specified statement if the digital points bit is 0 (clear). This command is used only with the SIM driver provided with iFIX. SIM registers range from 0 to 2000 and bits range from 0 to 15. The statement number can reference any programming statement in the block.

Syntax

GOCLR register:bit statement#

Example

To examine the fifth bit in the 44th register and determine if the bit is clear (equal to 0), enter:

GOCLR 44:5 5

If the bit is clear, the Device Control block executes statement 05.