SPLat Logo

AnIn#

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

AnIn#

X = (analog in #)

Not supported in 32-bit boards, e.g. EC1, HMI430, DT16 (anything that reports dialect 100 or greater)

Read an Analog input in 8-bit mode. The # must be replaced by a letter designating the required analog channel, e.g. AnInA

The analog quantity (voltage or current) applied to the designated channel is converted to an 8-bit integer number and Pushed into X. If your controller supports analog input resolution higher than 8 bits, the extra resolution will be lost. Use fAnIn instead (this applies to all later models like SL100, MS120, CC16/CC18 and MMi202).

Note: This instruction is not recommended for new designs in controllers that can support dialect 18 or later. Use fAnIn instead. It will not be supported in 32-bit controllers.

See also AnOut fAnIn fAnOut