If the registers you need change based on the program then you should probably use logic commands. The commands depend on which software language you are programming in, either 984LL or IEC.
If the registers are always the same then you can use PEER COP in the I/O mapping portion of the processor set up.