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.