SetSw Statement
For Virtual IO, sets specified input bit to the specified value.
Syntax
SetSw bitNumber, value
Parameters
- bitNumber
- Specify I/O input bits.
- value
- Specify an integer 0 (off) or 1 (on).
Description
SetSw provides the ability to turn on or off one input bit.
See Also
SetInReal, SetIn, SetInW
SetSw Statement Example
> setsw 2, on ' Sets the 2nd input bit to On.