In case no memory extension card is used with PLC, then the program data and constants are stored in the internal RAM memory of the processor module only.
However, when the memory extension card is used with PLC, then data is stored in the internal RAM memory of processor module, whereas programs and constants are stored in the memory extension card.