More details required.
What models of CompactLogix?
What type of comms? If Ethernet then it is easy to set up a MSG instruction in one and write to the other, or use Ethernet/IP and try scheduled comms but this is a little more tricky.
Address of I/O is fairly simple, configure it in the IO tree within RSlogix 5000, it is basically defined by slot location.
I am assuming this is an Allen Bradley PV300 standard, and using PanelBuilder32. Then you need to setup an array, INT makes more sense, then in RSLogix5000, under Logic go to Map SLC/PLC messages and set a number to the array. The array is then treated just like a data file, for example if the number is 12 then the Panelview can use it as a N12 or B12.