Logic controller – integration brief
The TM221M16TG: The fast inputs (I0, I1, I6, I7) respond at 5 µs turn-on/turn-off — sized for single-phase or A/B pulse/direction encoder capture up to the counter function's limits. The two analog inputs (10 mV LSB, 100 kΩ impedance) convert at 1 ms per channel plus one scan cycle; adequate for slow process signals like temperature or level, not for high-rate motion feedback. Memory is 256 kB user application RAM and 256 kB internal variables RAM, supporting up to 10,000 instructions and 14 adjustable PID loops. Real-time clock holds with a BR2032 or CR2032X lithium cell — backup time 1 year at 25 °C, clock drift ≤30 s/month. Application and data persist via built-in flash, so the battery only maintains the RTC.
