SPLat Logo

InputO ii*+

NOTICE: Our web site is being updated, but is currently experiencing extreme slowness due to host issues. Please contact us directly.
NOTICE: SPLat Controls has moved. We are now at 1/85 Brunel Rd, Seaford, 3198. map
SPLat will be shut down for the Christmas Holiday season from Friday 20 December 2024 through Tuesday 7 January 2025. We will check emails periodically and will continue to process orders but at a slower pace. Santa hat

InputO ii*+

(T=Z;Z=Y;Y=X) X = [output ii]

(Read back an output)

Pushes the state of the nominated output number ii to X in Boolean form. Note that the value returned is the value that has been most recently set on the output by an On, Off, Output or OutputM instruction, as opposed to being a readback of the voltage at the output pin. This is particularly significant on SPLat boards with bidirectional I/O points, such as the OEM36.

If an output is blinking (see Blink and OutputB) the InputO instruction will return a True result.

* This instruction can also use the Index Register by adding i in front of the instruction.

+ From dialect 16 the address argument will be jndexed when executed inside a MultiTrack task and will be indexed if the instruction is preceded by the IasJ: precode.

This instruction will not read back an output ON condition resulting from an fPulse0 instruction.

Dialect restriction: The InputO instruction is not implemented in boards with dialect numbers less than 3.

See also Output, Input