found this after some searching the help

DEFINE PULSIN_MAX 1000 'Maximum counts allowed before pulsin times out

the value of 1000 looks like it clock cycles , but it not stated ?