The M221 PLCs have 2 embedded analog inputs.
The analog values are managed within the SoMachine/Machine Expert - Basic project through the objects %IW0.0 (analog input channel 0) and %IW0.1 (analog input channel 1).
It doesn’t exist diagnostic object %IWS.x.y for these analog inputs (in comparison to TM3 analog input channels).
For these 2 embedded inputs, the diagnostic information is available through the system word %SW80, with the following content:
- bit [0] Set to 1 if all 2 analog channels are in normal state
- bit [6] Set to 1 if an error is detected on analog input channel 0
- bit [7] Set to 1 if an error is detected on analog input channel 1
All other bits are reserved and read at 0.
Note: The general system object %S119 named “Local I/O error detected” do not manage any Analog Input status.