SETOUT Command

Purpose

Sets the current value of the specified block to the designated value or to the current value of another block.

Syntax

SETOUT block value

SETOUT block block

Examples

To set the current value of the block AI1 to 80, enter:

SETOUT AI1 80

To set the current value of AI2 to AI1, enter:

SETOUT AI2 AI1

NOTE: Be sure to include a DELAY command after a SETOUT command when sets the value of an Analog Output block. Using the DELAY command ensures that the Analog Output block has time to process the data it receives from the Program block.

Since the SETOUT command sets the current value of the specified block, you cannot use this command with a Text block.