Within TM221Cxxx PLC and SoMachine/Machine Expert - Basic, we have the possibility to add 1 or 2 optional cartridges (depending on the TM221Cxxx PLC reference). Such cartridge provides 2 analog inputs or outputs channels as extension for the M221 PLC local I/Os.
For each channel, it exists a dedicated system word object available for diagnostic .
It’s %IWS.0.i for an analog input channel
It’s %QWS.0.i for an analog output channel
With i defined by this way:
i=100 for the 1st channel of the cartridge located 1st slot
i=101 for the 2nd channel of the cartridge located 1st slot
i=200 for the 1st channel of the cartridge located 2nd slot
i=201 for the 2nd channel of the cartridge located 2nd slot
The definition of the code status/diagnostic value is as below:
For %IWS word content definition
 
For %QWS word content definition
 
 
For each channel, it exists a dedicated system word object available for diagnostic .
It’s %IWS.0.i for an analog input channel
It’s %QWS.0.i for an analog output channel
With i defined by this way:
i=100 for the 1st channel of the cartridge located 1st slot
i=101 for the 2nd channel of the cartridge located 1st slot
i=200 for the 1st channel of the cartridge located 2nd slot
i=201 for the 2nd channel of the cartridge located 2nd slot
The definition of the code status/diagnostic value is as below:
For %IWS word content definition
| 0 | Normal | 
| 1 | Data conversion in progress | 
| 2 | Initialization in progress | 
| 3 | Input operation setting error or module without input | 
| 4 | not used | 
| 5 | High limit reached | 
| 6 | Low limit reached | 
| 7 | Non-volatile memory error | 
For %QWS word content definition
| 0 | Normal state | 
| 1 | not used | 
| 2 | Initialization in progress( after power on) | 
| 3 | Output operation setting error or module without output | 
| 4 | not used | 
| 5 | not used | 
| 6 | not used | 
| 7 | Non-volatile memory error | 
Released for: Schneider Electric UK

