Nope, %QWM and %IWM addresses are meaned to Modbus slave device setup if another PLC ask I/O from M221. There are only 40 words of these. This is example of Somachine (Codesys) but same principle also for M221.
http://www2.schneider-electric.com/...00/FA240029/en_US/Modbus TCP Slave Device.pdf
What you are looking is %M, %MW addressing (Modbus registers 0x, 1x and 3x,4x). You need to copy Inputs and outputs to %M and %MW variables on PLC program.
You only need to configure IP address on PLC.
Depending of panel and type you need to read %MW or Modbus registers. If you have Schneiser's panel then you can probably read every register directly, not only %M and %MW registers.
http://www2.schneider-electric.com/...00/FA240029/en_US/Modbus TCP Slave Device.pdf
What you are looking is %M, %MW addressing (Modbus registers 0x, 1x and 3x,4x). You need to copy Inputs and outputs to %M and %MW variables on PLC program.
You only need to configure IP address on PLC.
Depending of panel and type you need to read %MW or Modbus registers. If you have Schneiser's panel then you can probably read every register directly, not only %M and %MW registers.