In the latest versions of CX-P if you hit F8 then click on details then click on instruction help a full list of instructions for the selected PLC with all the help you could require will pop up.
just click on the instruction.
There is a whole headed section on sub routines.
The help for the old CQM1, CQM1H, C200H, C200HS is pretty basic though. Select the PLC as a CJ2M and the help is extensive. The newer help files have not been migrated to the older antiquated PLCs. Just be careful you do not try to use a function that is not in the PLC you are using.
When programming for one of the older PLCs, I open 2 copies of CX-P. The PLC I am using is selceted in one instance of CX-P and the CJ2M is selected in the other instance. For the older PLC I am working on will let you know what functions are available and the instance containing the CJ2M will have the latest and very extensive help files.
At least I only have to use one programming package for Omron not 2 or 3 and then get totally confused going from one package to another.
If you learn the tricks it is all there.