Yep. It works now Tnx.
Stupid question maybe, but why CMCON has to be 7 not 6 or 5? If I want to use also some analog inputs, then how CMCON has to be set? I'm also trying to find out the answer by myself.