Purpose

Closes a digital block (sets the value equal to 1). The block reflects the new value based on its own scan period.

You can also close SIM registers. SIM registers range from 0 to 2000. Bit values range from 0 to 15.

Syntax

CLOSE block

CLOSE register:bit

Example

To close the Digital Output block DO1, enter:

CLOSE DO1

To close SIM register 28:4, enter:

CLOSE 28:4

NOTE: When using the CLOSE command to set a Digital Input block, the block must be in Manual mode. If you attempt to set a Digital Input block that is in Automatic mode with a CLOSE command, iFIX generates an error message and takes the Program block off scan.