How can we help you today?

How can we have diagnostic information for TMC2*** additional cartridge analog I/O module within a TM221C*** PLC SoMachine/Machine Expert - Basic application program ?

Within TM221C*** PLC and SoMachine/Machine Expert - Basic, we have the possibility to add 1 or 2 optional cartridges (depending on the TM221C*** 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

0Normal
1Data conversion in progress
2Initialization in progress
3Input operation setting error or module without input
4not used
5High limit  reached
6Low limit reached
7Non-volatile memory error


For %QWS word content definition

0Normal state
1not used
2Initialization in progress( after power on)
3Output operation setting error or module without output
4not used
5not used
6not used
7Non-volatile memory error


Schneider Electric Indonesia

Explore more

Discuss this topic with experts

Visit our Community for first-hand insights from experts and peers on this topic and more.

Explore more

Need help?

Product Selector

Quickly and easily find the right products and accessories for your applications.

Get a Quote

Start your sales enquiry online and an expert will connect with you.

Where to buy?

Easily find the nearest Schneider Electric distributor in your location.

Help Centre

Find support resources for all your needs, in one place.