Technical FAQs

Ask a Question

How we get diagnostic information within M221 for its 2 embedded analog Inputs ?

The M221 PLCs have 2 embbeded analog Input

The analog values are manage within the SoMachineBasic project through the objects %IW0.0 ( analog input channel 0) and %IW0.1 (analog input channel1)

It doesn’t exist diagnostic object %IWS.x.y for these analog inputs (compared what it exist for TM3 analog input channels),
for these 2 embbeded input the diagnostic information is available through system object %SW80, with content defined this way:
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 AnalogInput status
 
Was this helpful?
What can we do to improve the information ?