Timer not work in subtask of mc60

When I set the timer, it is registered in the main function of mc60 and it works, that is, when it overflows, it interrupts, but when I do the same thing in the subtask, it registers, but does not interrupt and dont call the timer callback. Can anyone help me?