The slc 5/04 doesn't have a built I/O module it's a cpu with DH+ and RS232 communication ports.
To answer your questions you will need a Rack ,Power supply, Cpu.Input module and output module.
Please provide the full catalog number of all your modules
Below the link for I/O catalog