I'm afraid it's not that simple.
The cycle of a PLC consists of (amongst other things):
- Reading the state of all connected digital inputs and storing these in the PII or Process Image Inputs
- Processing the program based on (amongst other things) the Process Image Inputs and storing the results in the Process Image Outputs (PIQ).
- Copying the stored results from the Process Image Outputs to the connected (digital) output cards.
If in your program you're reading an IW (or Input Word), you're reading the value as was stored in step 1 of the above list. If, on the other hand, you're reading a PIW (or Peripheral Input Word) then you are reading the value as is at the moment of processing the instruction.
To my knowledge (i'm only using S7-3XX) S7 analog in- and outputs are never stored in the Process Image tables, so you can only access these with PIW and PQW instructions.
Kind regards,