If you only have one rack on a 5/04 you can get an extension cable to link the backplane to another rack, I think the limit is 27 slots, the second rack or for that matter third rack need to be within a meter or so, usually in the same panel.
If you want to use Flex on RIO then you will need the 1746-SN that takes up one slot of your rack.