Configure X20BC00E3 Slots On Fly

I want to configure this X20BC00E3 slots on fly with different modules. through programming.

I am using s71200 to program and access the io module.

My set of io modules changes for different configuration. How can i achieve this.

I went through manual but couldnt get enough information on reconfiguring slots with required io modules.

Please help.