variable n_canais value is set with ext_cabos/IRx + 1