SetInReal

For Virtual IO, sets specified input port (32 bits) to the specified value.

Syntax
SetInReal portNumber, value

Parameters

Portnum
Specify the I/O input word.
value
Specify the Real type value.

Description
SetIn provides the ability to set up to 32 bits of virtual inputs at once.
If virtual I/O is disabled, this command will result in an error.

See Also
SetSw Statement, SetIn Statement, SetInW Statement

SetIn Statement Example

> setinReal 32, 2.543  ’ Sets the input port 32